skills/build-skill/SKILL.md
Skills are small folders that teach Agent Zero a repeatable workflow. Keep the always-visible metadata precise, keep SKILL.md lean, and move detailed material into scripts, references, or assets only when the task needs it.
Every skill folder must be named exactly like the skill and contain SKILL.md.
skill-name/
├── SKILL.md
├── scripts/ # optional deterministic helpers
├── references/ # optional details loaded only when needed
└── assets/ # optional output resources or templates
The frontmatter should contain only name and description:
---
name: skill-name
description: What the skill does and when to use it. Include trigger wording here because this is the part visible before the skill loads.
---
Use lowercase letters, digits, and hyphens. Prefer short verb-led names such as build-skill, review-plugin, or host-file-editing.
skills/ or inside a plugin's plugins/<plugin>/skills/ directory.references/ files.Use plugin-scoped skills when the skill exists to explain a plugin-owned tool or UI surface. Examples: Browser workflows belong under _browser; A0 CLI host tools belong under _a0_connector; Desktop canvas workflows belong under _desktop.
Use root skills/ for Agent Zero framework workflows that are not owned by one plugin, such as building skills, developing core features, or managing community plugins.
description, not in a body section. The body is loaded only after the skill is already selected.SKILL.md and references.Run targeted checks after edits:
conda run -n a0 pytest tests/test_skills_runtime.py tests/test_tool_action_contracts.py -q
Also exercise the live path when the skill changes agent-facing tool behavior:
1. Ask a short ordinary prompt that should discover the skill.
2. Confirm the agent uses skills_tool search/load when appropriate.
3. Confirm it calls the intended tool only after the skill is loaded when the tool is skill-gated.