Adding skills
Agent skills live under .agents/skills/<name>/ with a SKILL.md entrypoint.
Steps
-
Create the skill directory
mkdir -p .agents/skills/<name>/references -
Write
SKILL.md— the skill instructions for the agent. Include progressive disclosure, code snippets, reference links. -
Create a demo file at
docs/skills/<name>-demo.mdThe pre-commit hook enforces this, so it must exist before committing. Follow existing demo patterns: brief description, capabilities list, ROI to human.
-
Register in the nav — add an entry under
Skillsinmkdocs.yml -
Register in
AGENTS.md— add a bullet to the Installed skills section -
Update the skills index — add a row to the table in
docs/skills/index.md -
Commit and push
git add .agents/skills/<name>/ docs/skills/<name>-demo.md git commit -m "Add <name> skill"
Demo file template
# <Name> Demo
Brief description.
**Capabilities:**
1. Thing it can do
2. Thing it can do
3. Thing it can do
## ROI to human
Why this skill matters.