SkillSpec v0
June 20, 2026 ยท View on GitHub
SkillSpec v0 is a structured skill format for agent behavior. It is designed to coexist with prose skills by moving decision-heavy behavior into a compact, testable file.
V0 is intentionally small:
- explicit local imports only
- no inheritance
- no execution engine
- no arbitrary expression language
- no hidden network or tool execution
The v0 file should be readable by humans, navigable by agents, and testable by a small CLI.
Required Fields
schema: must beskillspec/v0id: stable reverse-DNS-like or dotted identifiertitle: human titledescription: short purpose statement
Recommended Sections
applies_when: activation hintsroutes: candidate ways to satisfy a taskrules: intent and guard rulesstates: state machine for the skilltrace: append-only decision event contractdependencies: declared tools, files, env vars, services, adapters, browsers, packages, checks, permissions, and provision choicesimports: runtime-loadable local guidance such as shared policy, branch-specific references, procedures, examples, and skill docsresources: provenance, supporting material, and non-runtime files preserved from imported multi-file skillscode: fenced snippets or scripts with provenance, requirements, safety, and artifact linksartifacts: named files or data products consumed and produced by behaviorrecipes: ordered procedures that bind imports, resources, code, commands, artifacts, and elicitationscommands: command templates or command invocation instructionssnippets: reusable proseclosures: post-task behaviortests: scenario expectationsproof: metrics the spec intends to improvereview_required: uncertainties that require human review
See semantics.md for behavior and grammar.md for the formal v0 grammar. See imports.md for import resolution, section loading, and nesting rules. See relationships.md for how the concepts associate, trace.md for event logs, commandspec.md for the CLI command inventory, and skill.spec.schema.json for the strict v0 schema.