Skills
Extend Hanzo Dev with reusable skill bundles.
This is an experimental feature and may change.
Hanzo Dev can discover reusable "skills" on disk. A skill is a small bundle with a name, short description, and optional body instructions.
Enable Skills
Skills are behind the skills feature flag and enabled by default.
Disable in config:
[features]
skills = falseOverride for a single run:
dev -c features.skills=trueWhere Skills Live
Discovery roots (highest precedence first):
- Repo:
.agents/skills/**/SKILL.mdand.codex/skills/**/SKILL.md, from the current directory up to the repo root. - Home:
~/.agents/skills/**/SKILL.md. - User:
$CODE_HOME/skills/**/SKILL.md(default:~/.code/skills/, and the legacy~/.codex/skills/is read too). - System: the
.systemskills that ship with Hanzo Dev, installed under$CODE_HOME. - Admin:
/etc/codex/skills/**/SKILL.md.
Names are deduped in that order, so a repo skill wins over a user skill of the same name, and a user skill wins over a system one.
Behavior:
- Recursive scan; only files named exactly
SKILL.mdare loaded. - Hidden entries and symlinks are skipped.
- Duplicate skill names are deduped by precedence (first match wins).
- Render order is by name, then path.
File Format
YAML frontmatter + body. Required frontmatter fields:
name— non-empty, max 64 chars, single-linedescription— non-empty, max 1024 chars, single-line
Extra keys are ignored.
Loading and Rendering
- Skills load once at startup.
- When valid skills exist, Hanzo Dev appends a runtime-only
## Skillssection afterAGENTS.md. - Invalid skills are ignored and surfaced as startup errors in the TUI.
Create a Skill
-
Create
~/.code/skills/<skill-name>/. -
Add
SKILL.md:--- name: your-skill-name description: what it does and when to use it --- # Optional body Add instructions, references, examples, or scripts (kept on disk). -
Restart Hanzo Dev.
Managing Skills
- Use
/skillsin the TUI to browse and toggle skills. - Use the Settings overlay (Skills section) for configuration.
How is this guide?