Skip to content
ML2

OpenSpec: agree on a spec with your A.I. coding agent before it writes code

Added NewCopyable prompt below

Published Last verified Released

Our verdict

The lightest way we know to stop an A.I. coding agent from guessing what you meant. Each change gets a folder with proposal.md, plain-Markdown requirements with WHEN/THEN scenarios, design.md and tasks.md; you review it, the agent applies it, and archiving merges the specs into a living record of how the system behaves. It suits existing codebases, not just new ones, and is lighter than GitHub's Spec Kit. The cost is a little ceremony per change, and the quality still depends on you actually reading the proposal. It collects anonymous usage stats by default, with an easy opt-out.

Who it's for
Developers and small teams using Claude Code, Codex, Cursor or similar agents on real codebases who keep getting changes that miss the point
Leverage
Moves the misunderstanding from a 500-line diff to a one-page proposal you can fix in a minute, and leaves specs that the next agent session can read
Effort
Low
Date added

What OpenSpec does

OpenSpec (Fission-AI/OpenSpec, MIT) is a CLI plus agent skills for spec-driven development. openspec init sets up an openspec/ folder and installs skills for the tools you pick (30+ supported). The default flow is /openspec-explore (think through options before committing), /openspec-propose <change> (creates openspec/changes/<change>/ with proposal.md, specs/, design.md and tasks.md), /openspec-apply-change (implements the task list) and /openspec-archive-change (moves the change to the archive and updates the main specs). Codex invokes the skills as $openspec-propose. An expanded profile adds new, continue, fast-forward, verify, bulk-archive and onboarding steps. Specs are plain Markdown requirements with WHEN/THEN scenarios. Stores (beta) keep specs in a separate repo shared across several code repos. Install with the official script, npm (@fission-ai/openspec, Node.js 22.20+) or Homebrew. Anonymous telemetry (command names and version only) is on by default; turn it off with OPENSPEC_TELEMETRY=0 or DO_NOT_TRACK=1. Latest release v2.2.0 on 24 Nov 2026.

How builders use OpenSpec

  • Install with npm install -g @fission-ai/openspec@latest (or brew install openspec), then run openspec init in your project and pick your agents.
  • For a fuzzy idea, start with /openspec-explore and let the agent read the code and suggest a scoped plan.
  • For a clear feature, run /openspec-propose add-<feature>, then read proposal.md and the specs before saying go.
  • Run /openspec-apply-change in a fresh context window, then /openspec-archive-change once tests pass.
  • Commit the openspec/ folder so teammates and future agent sessions see what the system is supposed to do.

OpenSpec: limits and gotchas

  • Adds a review step to every change; for one-line fixes it is overhead.
  • The plan is only as good as your review: the agent writes the specs, you still have to read them.
  • Telemetry (command names and version) is on by default outside CI; opt out with OPENSPEC_TELEMETRY=0.
  • Stores for cross-repo planning are in beta.
  • The project recommends high-reasoning models and a clean context window; weaker models produce weaker specs.

OpenSpec compared with other tools here

  • One-page spec habit: The same idea with no tooling: write the spec yourself in a file. OpenSpec adds structure, per-change folders and an archive.
  • Claude Code plan mode: Built-in planning inside one session; OpenSpec keeps the plan as files in the repo that any agent or teammate can read later.

When to pick OpenSpec

  • Your agent often builds the wrong thing or drifts from what you asked.
  • You work on an existing codebase and want a lasting record of intended behaviour.
  • You switch between several coding agents and want one shared plan format.

Copy this: Install + first change

# Official source: github.com/Fission-AI/OpenSpec (MIT)
npm install -g @fission-ai/openspec@latest   # Node.js 22.20+
# or: brew install openspec

cd your-project
openspec init          # pick your agents (Claude Code, Codex, Cursor, ...)
export OPENSPEC_TELEMETRY=0   # optional: turn off anonymous usage stats

# Then, in your coding agent (Codex uses $ instead of /):
/openspec-explore
I want dark mode but I'm not sure how to do it cleanly.

/openspec-propose add-dark-mode
# Review openspec/changes/add-dark-mode/proposal.md, specs/, design.md, tasks.md

/openspec-apply-change
/openspec-archive-change

# Later: refresh skills after upgrading
openspec update

Related discoveries

See the newest picks →
  • ToolVibe-Coding & Prompt-to-App

    Modern Web Guidance: stop agents writing legacy web code

    An open-source agent skill and CLI (Apache-2.0) from the Chrome team, now backed by Edge, Firefox and MDN, that feeds your coding agent short, expert-reviewed guides on modern HTML, CSS and browser APIs right before it writes front-end code, and scans an existing codebase for legacy patterns worth replacing.

    Effort: LowPrompt#Plugin / extension#Open source

  • ToolCoding & Shipping Agents

    claude-mem: memory across sessions for coding agents

    An Apache-2.0 plugin that watches your coding agent's sessions, compresses what it did into searchable notes, and injects the relevant ones into the next session.

    NewEffort: LowPrompt#Plugin / extension#MCP

Get the best new A.I. picks in your inbox

The best new agent workflows and tools we’ve vetted, with a clear verdict on each. Short, occasional, useful.

More in Vibe-Coding & Prompt-to-App →

Free. No spam. Unsubscribe anytime.