본문으로 건너뛰기
Skillpedia
에이전트11k · #11809

hive.writing-hive-skills

하는 일

이 스킬은 Hive 에이전트를 위한 새 스킬을 만드는 방법과 저장 위치를 설명합니다. 반복되는 절차를 재사용 가능한 스킬로 만들고 싶은 사람들을 위한 것입니다.

사용하는 경우

  • ✓반복되는 절차를 Hive 에이전트용 재사용 스킬로 만들고 싶을 때.
  • ✓에이전트의 라이브러리나 프로젝트에 새 스킬을 추가해야 할 때.
  • ✓스크립트나 참고 파일과 함께 스킬을 패키지로 만들고 싶은 경우.

스킬 링크

https://github.com/aden-hive/hive/blob/main/core/framework/skills/_default_skills/writing-hive-skills/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/aden-hive/hive/blob/main/core/framework/skills/_default_skills/writing-hive-skills/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제 주간 보고서 작업 단계를 Hive 에이전트용 재사용 스킬로 만들고 싶습니다.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

AI는 맨 위에 이름과 설명이 있는 SKILL.md 파일을 작성한 다음, write_skill 도구로 추가합니다. 적용 범위 설정에 따라 스킬을 볼 수 있는 대상이 정해지며, 예를 들어 queen 하나, colony, 공용 라이브러리가 있습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Operational Protocol: Writing Hive Skills

Hive agents discover skills by scanning several roots, in precedence order (later wins):

  1. Framework defaults shipped in core/framework/skills/_default_skills/
  2. ~/.agents/skills/ — user, cross-client
  3. $HIVE_HOME/skills/ — the shared library every queen and colony reads
  4. $HIVE_HOME/queens/<queen_id>/skills/ — one queen's own skills (her colonies read them too)
  5. $HIVE_HOME/colonies/<colony_name>/skills/ — one colony's skills
  6. <project>/.agents/skills/, then <project>/.hive/skills/ — project

Each skill is a directory containing a SKILL.md. At startup, only the frontmatter name + description of every skill is loaded; the body is loaded only when the agent activates the skill. Design for that.

Adding a skill as a queen: write_skill

Always add a skill with write_skill. Never write a SKILL.md into a skills folder with the terminal or write_file: a skill put there by hand isn't in any running catalog until a new session, and one put in the shared library skips the user's approval. write_skill takes the content inline or copies an existing skill folder (source_path, e.g. one you git cloned into your workspace), and its scope decides who sees it:

scope Lands in Who sees it
queen (default outside a colony) your own skills you from your next turn, and your colonies' workers
colony (default inside a colony) this colony's skills this colony's workers spawned from now on
global the shared library, after the user approves every queen and colony
  • Your own (scope="queen"): a protocol, an API you use, a style you keep. You can replace a skill you wrote, but not one the user made in your skills.
  • One colony (scope="colony"): the operational protocol a single colony needs — its API auth, DOM selectors, DB schema, task-queue conventions. Write it once before fanning out workers and name it in each task string. Keeping it in the colony means no other colony sees it at selection time.
  • Everyone (scope="global"): only when the skill is genuinely useful to every queen. Nothing is installed when you call it: the user is asked in this session's chat in the Hive dashboard, and a message tells you when they approve or decline. You don't wait for it; carry on. If you're talking with them in a chat app, tell them it's waiting in the dashboard.
write_skill(
    skill_name="honeycomb-api-protocol",
    skill_description="How to query the HoneyComb staging API…",
    skill_body="## Operational Protocol\n\nAuth: …",
    skill_files=[{"path": "scripts/fetch_tickers.py", "content": "…"}],  # optional
    scope="colony",
)

Other places skills come from

  • Project-scoped: <project>/.hive/skills/ when the skill is tied to that codebase's APIs, conventions, or infra and multiple agents in the project should share it.
  • Framework default: add under core/framework/skills/_default_skills/ AND register in framework/skills/defaults.py::SKILL_REGISTRY only when the skill is a universal operational protocol shipped with Hive. Default skills use the hive.<name> naming convention and include type: default-skill in metadata.

Directory layout

<skill-name>/
├── SKILL.md          # Required
├── scripts/          # Optional — executable helpers
├── references/       # Optional — on-demand docs
└── assets/           # Optional — templates, data, images

Rules:

  • The directory name must equal the name frontmatter field (for framework defaults, the directory is the unprefixed name, e.g. writing-hive-skills/ for hive.writing-hive-skills).
  • Keep SKILL.md under ~500 lines. Move long reference material into references/.
  • Reference other files with relative paths from the skill root (scripts/foo.py, references/API.md). Keep references one level deep.

SKILL.md frontmatter

Required fields:

Field Constraints
name 1–64 chars, [a-z0-9-], no leading/trailing/consecutive hyphens. Must match the directory name. Framework defaults prefix with hive.
description 1–1024 chars. Must describe what the skill does and when to use it. Include trigger keywords the user is likely to say.

Optional fields:

Field Notes
license License name or reference to a bundled file
compatibility ≤500 chars. Only include if env requirements are non-trivial (networ
자주 묻는 질문

스킬은 어디에 저장되나요?

선택한 범위에 따라 queen 전용 스킬, colony 폴더, 공용 라이브러리 또는 프로젝트 폴더에 저장될 수 있습니다.

스킬 파일을 직접 저장하면 안 되나요?

직접 저장한 스킬은 새 세션이 시작되기 전까지 실행 중인 카탈로그에 나타나지 않고, 공용 라이브러리에 적용되는 사용자 승인 절차도 건너뛰게 됩니다.

스킬 폴더에는 무엇이 있어야 하나요?

SKILL.md 파일이 있어야 하며, scripts, references, assets 폴더는 선택 사항입니다.

상세 정보

작성자의 원본 설명

Author a new Agent Skill for a Hive agent that conforms to the Agent Skills specification (SKILL.md with YAML frontmatter, optional scripts/references/assets directories). Use when the user asks to create, scaffold, add, install, or package a new skill for a Hive agent, or you want to keep a procedure as a skill.

repo: aden-hive/hive

인기도

GitHub 스타
11k
순위
#11809
라이선스
Apache-2.0
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬