openspec

openspec is a skill for Claude Code, Codex from fmind/dot. It costs 36 tokens per session (1,274 once invoked), scanned A, original, MIT.

A command-line workflow for managing OpenSpec files: written proposals and specifications that describe planned or changing software behavior. It supports initialization, design and task planning, validation, review, and archiving.

In plain words
What is it for?
Use it to create and maintain repository specs, propose contract or feature changes, validate them strictly, review the plans, and archive completed changes.
Why use it?
It keeps multi-file features and architecture changes documented separately from always-on project instructions. This makes proposed work and active changes easier to validate and track.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; mentions AGENTS.md.

Good fit Use it to create and maintain repository specs, propose contract or feature changes, validate them strictly, review the plans, and archive completed changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fmind/dot/openspec
Install

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.

Any agent
npx skills add fmind/dot --skill openspec
Clone the repo
git clone --depth 1 https://github.com/fmind/dot

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for openspec

README.md
[![agentmods](https://agentmods.dev/badge/skills/fmind/dot/openspec/github.svg)](https://agentmods.dev/skills/fmind/dot/openspec)
Your own site
<a href="https://agentmods.dev/skills/fmind/dot/openspec"><img src="https://agentmods.dev/badge/skills/fmind/dot/openspec/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for openspec

Your own site · 80×15
<a href="https://agentmods.dev/skills/fmind/dot/openspec"><img src="https://agentmods.dev/badge/skills/fmind/dot/openspec.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,274 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00036 $0.01274
Opus 5.5 $0.00014 $0.00510
Sonnet 5.5 $0.00007 $0.00255
Haiku 4.5 $0.00004 $0.00127

Measured yesterday against content hash 77de23d2dda9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

openspec 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 yesterday.

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.

skills/openspec/SKILL.md · 52 lines

How it starts

The opening of the file, as written. The whole thing — 52 lines — stays where its author put it; the contents beside it link to each section on GitHub.

OpenSpec

Opt-in technical spec layer for multi-feature or contract-heavy repos: AGENTS.md stays a lean constitution, docs/ owns user guides, openspec/specs/ owns SHALL/MUST contracts (paired by slug with opt-in features/*.feature BDD files), openspec/changes/ owns active proposals and optional mini-ADRs (replacing spec-prd), docs/decisions/ owns irreversible ADRs (adr-rfc), and bf owns cross-repo notes. Skip OpenSpec on small CLIs, libs, scripts, or doc sites, and apply small bug fixes directly.

Workflow

  1. Opt in and initialize:
    • Pin "github:Fission-AI/OpenSpec" with glibc Linux/macOS asset patterns (tool versions), set OPENSPEC_TELEMETRY = "0", add check:specs running openspec validate --all --strict --no-interactive and openspec validate --archived --strict --no-interactive (wired into check:local.depends), exclude openspec/changes/archive in lychee and vale, and run mise lock.
    • Scaffold openspec/ without upstream skills and copy config.yaml to openspec/config.yaml (external collaborators can vet openspec init --scope project --profile core --no-animation </dev/null per vendor-skills):
      OPENSPEC_TELEMETRY=0 CI=1 openspec init --tools none --no-animation </dev/null
      
  2. Propose & plan:
    • Create a change and load schema instructions (proposal, specs, design, tasks):
      openspec new change <change-id>
      openspec status --change <change-id> --json
      openspec instructions proposal --change <change-id> --json
      
    • Write concise proposal.md, delta specs/<cap>/spec.md, optional design.md, and tasks.md (skip_specs: true in .openspec.yaml for refactors/docs) per authoring budgets.
    • Run openspec validate <change-id> --type change --strict --no-interactive and risk-gated design review (subagent).
  3. Implement & verify: load openspec instructions apply --change <change-id> --json, execute slices, check - [x] items, run mise run all, and verify completeness against specs.
  4. Archive & finalize: load openspec instructions archive --change <change-id> --json, run openspec archive -y <change-id> (--skip-specs if no spec changed), replace new TBD ## Purpose (>= 50 chars), sync ## Examples and tables if flags/config/limits changed, and run mise run format and mise run check:specs.

Read the full file on GitHub · 52 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. yesterday Changed · -16 lines 77de23d2dda9
  2. 2d ago Changed · +6 lines 9c834d06375b
  3. 3d ago First seen · 62 lines · 36 tokens per session scan A efba7b6149e7

Subscribe to this mod's changes

openspec is a skill published in the GitHub repository fmind/dot (14 stars, last pushed yesterday), licensed MIT. It adds 36 tokens to every session and 1,274 once invoked, about $0.0001 per session on Opus 5.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-11-27.

Related

openspec compared with skills from other repositories

openspec next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
openspecfmind/dotSkill14yesterdayMITA36Claude Code, Codex
vibesebastienrousseau/dotfilesSkill84todayApache-2.0A137Claude Code
python-stackfmind/dotfilesSkill43mo agoMITA41Claude Code, Codex
k8s-localfmind/dotfilesSkill43mo agoMITA50Claude Code, Codex
cloud-runfmind/dotfilesSkill43mo agoMITA28Claude Code, Codex
misefmind/dotfilesSkill43mo agoMITA27Claude Code, Codex
containerizefmind/dotfilesSkill43mo agoMITA47Claude Code, Codex