Tooluck logoTooluck
SKILL.md

hive.writing-hive-skills

Agent skill fromaden-hive/hive

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.

How to install hive.writing-hive-skills

install hive.writing-hive-skills
# install the hive pack with the skills CLI
npx skills add aden-hive/hive

# or add only this skill to Claude Code: copy the folder

core/framework/skills/_default_skills/writing-hive-skills/

# into

~/.claude/skills/writing-hive-skills/ (all projects)

.claude/skills/writing-hive-skills/ (one project)

core/framework/skills/_default_skills/writing-hive-skills/SKILL.md

Apache-2.0Full file
1## Operational Protocol: Writing Hive Skills
2
3Hive agents discover skills by scanning several roots, in precedence order (later wins):
4
51. Framework defaults shipped in `core/framework/skills/_default_skills/`
62. `~/.agents/skills/` — user, cross-client
73. `$HIVE_HOME/skills/` — the shared library every queen and colony reads
84. `$HIVE_HOME/queens/<queen_id>/skills/` — one queen's own skills (her colonies read them too)
95. `$HIVE_HOME/colonies/<colony_name>/skills/` — one colony's skills
106. `<project>/.agents/skills/`, then `<project>/.hive/skills/` — project
11
12Each 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.
13
14### Adding a skill as a queen: `write_skill`
15
16**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 clone`d into your workspace), and its `scope` decides who sees it:
17
18| `scope` | Lands in | Who sees it |
19|---|---|---|
20| `queen` (default outside a colony) | your own skills | you from your next turn, and your colonies' workers |
21…

Excerpt shown under the repository's Apache-2.0 license.

More skills in hive

Keep exploring

Similar skill repositories

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates