hive.writing-hive-skills
Qué hace
Esta skill explica cómo crear una skill nueva para un agente Hive y dónde debe guardarse. Es para personas que quieren convertir un procedimiento repetido en una skill reutilizable.
Cuándo usarla
- ✓Cuando quieres convertir un procedimiento repetido en una skill reutilizable para un agente Hive.
- ✓Cuando necesitas añadir una skill nueva a la biblioteca o al proyecto de un agente.
- ✓Cuando quieres una skill empaquetada con sus scripts o archivos de referencia.
Link de la skill
https://github.com/aden-hive/hive/blob/main/core/framework/skills/_default_skills/writing-hive-skills/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Quiero convertir los pasos de mi informe semanal en una skill reutilizable para mi agente Hive.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
La IA escribe un archivo SKILL.md con un nombre y una descripción al principio, y luego lo añade con la herramienta write_skill. El ajuste de alcance decide quién puede ver la skill, como una sola queen, una colonia o la biblioteca compartida.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
Operational Protocol: Writing Hive Skills
Hive agents discover skills by scanning several roots, in precedence order (later wins):
- Framework defaults shipped in
core/framework/skills/_default_skills/ ~/.agents/skills/— user, cross-client$HIVE_HOME/skills/— the shared library every queen and colony reads$HIVE_HOME/queens/<queen_id>/skills/— one queen's own skills (her colonies read them too)$HIVE_HOME/colonies/<colony_name>/skills/— one colony's skills<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 inframework/skills/defaults.py::SKILL_REGISTRYonly when the skill is a universal operational protocol shipped with Hive. Default skills use thehive.<name>naming convention and includetype: default-skillin 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
namefrontmatter field (for framework defaults, the directory is the unprefixed name, e.g.writing-hive-skills/forhive.writing-hive-skills). - Keep
SKILL.mdunder ~500 lines. Move long reference material intoreferences/. - 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 |
Preguntas frecuentes
¿Dónde se guardan las skills?
Pueden ir a las skills de una queen, a una carpeta de colonia, a la biblioteca compartida o a una carpeta de proyecto, según el alcance elegido.
¿Por qué no guardar el archivo de la skill a mano?
Una skill guardada a mano no aparece en un catálogo en ejecución hasta una nueva sesión, y se salta la aprobación del usuario que exige la biblioteca compartida.
¿Qué debe contener una carpeta de skill?
Necesita un archivo SKILL.md, con carpetas opcionales de scripts, referencias y recursos.
Detalles
Descripción original del autor
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
Popularidad
- Estrellas en GitHub
- 11 mil
- Posición en el ranking
- #11809
- Licencia
- Apache-2.0
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
browser-edge-cases
11 milAyuda a tu agente a arreglar la automatización del navegador que falla en webs complicadas, como LinkedIn, X o páginas con muchos scripts.
hive.browser-automation
11 milEnseña a tu agente a controlar tu propio navegador Chrome con la herramienta hive-browser, usando capturas de pantalla y clics.
hive.colony-progress-tracker
11 milAyuda a tu agente a reclamar tareas y registrar sus pasos y comprobaciones en una base de datos compartida, para que el trabajo se siga a medida que avanza.
hive.context-preservation
11 milAyuda a tu agente a guardar los datos clave de resultados largos de herramientas en notas, antes de que los detalles antiguos se borren de su memoria.
Skills parecidas
add-model-provider
394 milPermite que tu agente conecte un nuevo proveedor de modelos de IA a OpenClaw con comandos de configuración seguros, mantenga las claves API fuera del texto plano y haga una prueba en vivo.
acp-router
394 milAyuda a tu agente a enviar una tarea a un asistente de programación como Claude Code o Cursor a través de OpenClaw, para que el trabajo se ejecute en esa herramienta.
browser-automation
394 milEnseña a tu agente a controlar páginas web paso a paso, incluidos los inicios de sesión, las pestañas y la recuperación cuando una página deja de responder.