hive.writing-hive-skills
Was er macht
Dieser Skill erklärt, wie man einen neuen Skill für einen Hive-Agenten erstellt und wo er gespeichert wird. Er ist für Leute gedacht, die einen wiederholten Ablauf in einen wiederverwendbaren Skill verwandeln wollen.
Wann du ihn nutzt
- ✓Wenn du einen wiederholten Ablauf in einen wiederverwendbaren Skill für einen Hive-Agenten umwandeln willst.
- ✓Wenn ein neuer Skill in die Bibliothek oder das Projekt eines Agenten aufgenommen werden soll.
- ✓Wenn du einen Skill mit seinen Skripten oder Referenzdateien bündeln willst.
Link zum Skill
https://github.com/aden-hive/hive/blob/main/core/framework/skills/_default_skills/writing-hive-skills/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Ich will meine Schritte für den Wochenbericht in einen wiederverwendbaren Skill für meinen Hive-Agenten verwandeln.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Die KI schreibt eine Datei SKILL.md mit Name und Beschreibung oben und fügt sie dann mit dem Werkzeug write_skill hinzu. Die Gültigkeitseinstellung legt fest, wer den Skill sieht, etwa eine einzelne Queen, eine Colony oder die gemeinsame Bibliothek.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von 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 |
Häufige Fragen
Wo werden Skills gespeichert?
Sie können in die eigenen Skills einer Queen, in einen Colony-Ordner, in die gemeinsame Bibliothek oder in einen Projektordner, je nach gewählter Gültigkeit.
Warum nicht die Skill-Datei von Hand speichern?
Ein von Hand gespeicherter Skill ist im laufenden Katalog erst nach einer neuen Sitzung verfügbar, und er überspringt die Freigabe durch den Nutzer, die für die gemeinsame Bibliothek gilt.
Was muss ein Skill-Ordner enthalten?
Er braucht eine Datei SKILL.md, optional mit Ordnern für Skripte, Referenzen und Assets.
Details
Originalbeschreibung des Autors
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
Beliebtheit
- GitHub-Sterne
- 11k
- Platz im Ranking
- #11809
- Lizenz
- Apache-2.0
- Aktualisiert
- 2.11.2026
Kommentare
- …
Weitere Skills aus diesem Repository
browser-edge-cases
11kHilft deinem Agenten, Browserautomatisierung zu reparieren, die auf schwierigen Seiten wie LinkedIn, X oder Seiten mit viel Skript-Logik fehlschlägt.
hive.browser-automation
11kBringt deinem Agenten bei, deinen eigenen Chrome-Browser mit dem Werkzeug hive-browser zu steuern, über Screenshots und Klicks.
hive.colony-progress-tracker
11kHilft deinem Agenten, Aufgaben zu übernehmen und seine Schritte und Prüfungen in einer gemeinsamen Datenbank festzuhalten, damit die Arbeit während des Fortschritts nachvollziehbar bleibt.
hive.context-preservation
11kHilft deinem Agenten, wichtige Fakten aus langen Werkzeugergebnissen in Notizen zu sichern, bevor ältere Details aus seinem Gedächtnis entfernt werden.
Ähnliche Skills
add-model-provider
394kLässt deinen Agenten einen neuen KI-Modellanbieter mit sicheren Befehlen an OpenClaw anbinden, API-Schlüssel nicht im Klartext speichern und einen Live-Test starten.
acp-router
394kHilft deinem Agenten, eine Aufgabe über OpenClaw an einen Coding-Assistenten wie Claude Code oder Cursor zu senden, damit die Arbeit in diesem Tool läuft.
browser-automation
394kBringt deinem Agenten bei, Webseiten Schritt für Schritt zu steuern, einschließlich Anmeldungen, Tabs und Wiederherstellung, wenn eine Seite nicht mehr reagiert.