Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/intent-driven-dev/openspec-schemas/openspec-schema-authoringnpx skills add intent-driven-dev/openspec-schemas --skill openspec-schema-authoringgit clone --depth 1 https://github.com/intent-driven-dev/openspec-schemasWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/intent-driven-dev/openspec-schemas/openspec-schema-authoring)<a href="https://agentmods.dev/skills/intent-driven-dev/openspec-schemas/openspec-schema-authoring"><img src="https://agentmods.dev/badge/skills/intent-driven-dev/openspec-schemas/openspec-schema-authoring.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00052 | $0.00659 |
| Opus 5 | $0.00026 | $0.00329 |
| Sonnet 5 | $0.00010 | $0.00132 |
| Haiku 4.5 | $0.00005 | $0.00066 |
Grade A, and why
openspec-schema-authoring scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Create or customize an OpenSpec workflow schema in this repository.
Goal: produce a repository-local schema folder under openspec/schemas/<schema-name>/ containing schema.yaml and templates/.
Steps
-
Decide whether to initialize or fork
- Use
initfor a brand-new schema. - Use
forkto customize an existing schema (preferred when starting from a known workflow).
- Use
-
Discover available schemas to fork
openspec schemas --json -
Option A: Initialize a new schema
openspec schema init <schema-name>Common flags:
--description "..."to describe the workflow--artifacts "proposal,specs,design,tasks"to set artifact IDs--defaultto set as project default--no-defaultto skip the interactive default prompt
Expected result:
openspec/schemas/<schema-name>/schema.yamlandopenspec/schemas/<schema-name>/templates/. -
Option B: Fork an existing schema
openspec schema fork <source> [new-schema-name]Sources can be:
- Repository-local schemas
- Built-in upstream schemas provided by the CLI
Expected result:
openspec/schemas/<new-schema-name>/schema.yamlandopenspec/schemas/<new-schema-name>/templates/. -
Edit schema internals
Ensure:
artifacts[].idmatches intended workflow sequenceartifacts[].requiresmatches dependenciesartifacts[].generatesmatches artifact output paths- Template files exist in
openspec/schemas/<schema-name>/templates/for each artifact
-
Validate changed schemas (required)
openspec schema validate <schema-name>This is the supported schema quality gate for OpenSpec CLI 1.3.1. Do not use
openspec schema review; that command is not available in this CLI. -
Debug schema resolution if behavior is unexpected
openspec schema which <schema-name>
Done Criteria
- Schema exists under
openspec/schemas/<schema-name>/. schema.yamlandtemplates/are both present.openspec schema validate <schema-name>passes.
Guardrails
- Prefer
openspec schema forkover manual copying. - Keep schemas repository-local under
openspec/schemas/. - Do not skip validation before considering work complete.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- today First seen · 87 lines · 52 tokens per session scan A 3ace27a45153
openspec-schema-authoring is a skill published in the GitHub repository intent-driven-dev/openspec-schemas (92 stars, last pushed 19d ago), licensed MIT. It adds 52 tokens to every session and 659 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
openspec-bulk-apply-change
Use when multiple active OpenSpec changes should be applied concurrently in isolated worktrees with delegated verification and no merge.
spec-manager
Spec-driven project iteration workflow — L1 PRD → L2 Design → L3 Impl → Agent Task → Deploy, with human review gates at each layer. Pure local markdown storage, no MCP, no network. Use when the user invokes /spec-manager or asks for: new feature/PRD, technical design, implementation spec, agent task, iteration plan…
spec-manager
Spec-driven project iteration workflow: L1 PRD -> L2 Design -> L3 Impl -> Agent Task, with human review gates at each layer.
openspec-new-change
Start a new OpenSpec change using the experimental artifact workflow. Use when the user wants to create a new feature, fix, or modification with a structured step-by-step approach.
openspec-archive-change
Archive a completed change in the experimental workflow. Use when the user wants to finalize and archive a change after implementation is complete.
openspec-apply-change
Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or work through tasks.