Writing Skills
Use this page when you are creating or updating OAT skills in .agents/skills.
Skill behavior is defined by frontmatter plus the process contract in each SKILL.md. The goal is to make lifecycle behavior explicit, reviewable, and reusable across sessions.
Where Skills Live
- Canonical skills live in
.agents/skills AGENTS.mdis the session-facing registry and should stay aligned with skill frontmatter- OAT project and review artifacts should reference skill names consistently
Authoring Priorities
- Make the mode and purpose explicit.
- Keep prerequisites and expected artifacts concrete.
- Spell out blocked vs allowed activities for state-advancing skills.
- Define user-facing progress indicators for longer workflows.
- Keep output obligations explicit so downstream skills and users know what changed.
Contract components
- Mode assertion (purpose, blocked/allowed activities)
- Preconditions and required artifacts
- User-facing progress indicator expectations
- Output obligations
- Escalation/guardrail behavior
Frontmatter fields in active use
namedescriptionversiondisable-model-invocationuser-invocableallowed-tools
Practical Authoring Flow
- Decide whether you are adding a general reusable skill or an OAT-specific lifecycle skill.
- Add or update the skill under
.agents/skills/<name>/SKILL.md. - Keep the
AGENTS.mdskills registry synchronized with the new frontmatter. - Update related docs or lifecycle references if the skill changes user-visible behavior.
Governance rules
- Prefer skill-first invocation language.
- Keep
AGENTS.mdskills table synchronized with.agents/skills. - Require explicit user approval for destructive or state-advancing transitions.
Recommended Starting Points
- Use
create-oat-skillwhen the new skill belongs to an OAT lifecycle or maintenance flow. - Use
create-agnostic-skillwhen you want a reusable workflow skill that is not OAT-specific. - Use existing lifecycle skills as examples for progress banners, prerequisites, and artifact updates.
Reference artifacts
.agents/skills/*/SKILL.mdAGENTS.md.agents/skills/oat-project-implement/SKILL.md.agents/skills/oat-project-complete/SKILL.md.agents/skills/oat-project-review-receive/SKILL.md