Writes the next document in a change's plan and stops, so you can review each one before the next is written. It re-reads the documents already there, picks the first that is ready, and reports what that unlocks; once the plan is complete it says so and points you to building it.
WHEN TO USE
SCOPE
USE FOR
Draft the next proposal, spec, design or task file in a change, one per run.
Pick a change back up; it suggests the one you touched most recently.
Finish files a previous run left half-written before moving on.
NOT FOR
Revising a document that already exists; openspec-update-change does that.
This is a saved copy of the skill's SKILL.md instructions. It may differ from the upstream file or the version you install.
Continue working on a change by creating the next artifact.
Store selection: If the user names a store (a store is a standalone OpenSpec repo registered on this machine) or the work lives in one, run openspec store list --json to discover registered store ids, then pass --store <id> on the commands that read or write specs and changes (new change, status, instructions, list, show, validate, archive, doctor, context, schemas, view). Once selected, treat --store <id> as sticky for the rest of the workflow. Every unscoped example of those commands below is shorthand: before running it, append the flag. For example, run openspec status --change "<name>" --json --store "<id>", not the unscoped form shown below. Other commands do not take the flag. Hints printed by commands already carry the flag; keep it on follow-ups. Without a store, commands act on the nearest local openspec/ root.
Project check: These steps expect a project that already uses OpenSpec. Before the first step that writes anything (new change, archive, sync specs, or authoring an artifact file), confirm the project has a root: run openspec list --json (with --store <id> when a store is selected, since the store is then the root) and read root. A root object means the project is set up. "root": null means it is not - there is no openspec/ directory here, and a write such as openspec new change would create one as a side effect. The command also exits non-zero, which is that answer rather than a broken CLI, so read the JSON instead of retrying or working around it.
One "root": null is not about setup: when a status error message starts with Declared in or Invalid store declaration in and names this project's openspec/config.yaml (or config.yml), the project does use OpenSpec through a store it declares, which this machine cannot resolve (the store is not registered, or the store: line is malformed). Do not treat it as uninitialized and skip the branches below: stop before writing and show the user that error's message and fix.
Otherwise, with no root, what happens next depends on how this workflow was reached:
Auto-selected: you chose this workflow yourself, without the user naming OpenSpec, naming this skill, or running its slash command. Stop using OpenSpec and answer the request normally, as you would with no OpenSpec installed. Do not ask them to set anything up and do not mention OpenSpec setup.
Explicit OpenSpec request: the user named OpenSpec, named this skill, or ran its slash command. Stop before writing and ask how to proceed: set this project up (openspec init), target a store they already have (--store <id>), or continue without OpenSpec for this request. Wait for their answer.
In both branches, never create the root as a side effect: do not run openspec init until the user asks for it, do not hand-create openspec/ files, and do not let a command create it.
Input: Optionally specify a change name. If omitted, check if it can be inferred from conversation context. If vague or ambiguous you MUST prompt for available changes.
Steps
Select the change
If a name is provided, use it. Otherwise:
Infer from conversation context if the user mentioned a change
Auto-select if only one active change exists
If ambiguous, run openspec list --json to get available changes sorted by most recently modified, and ask the user to select one
When prompting, present the top 3-4 most recently modified changes as options, showing:
Change name
Status (e.g., "0/5 tasks", "complete", "no tasks")
How recently it was modified (from lastModified field)
Mark the most recently modified change as "(Recommended)" since it's likely what the user wants to continue.
Always announce: "Using change: <name>" and how to override (e.g., /openspec-continue-change <other>).
Check current status
openspec status --change "<name>" --json
Parse the JSON to understand current state. The response includes:
schemaName: The workflow schema being used (e.g., "spec-driven")
artifacts: Array of artifacts with their status ("done", "skipped", "ready", "blocked")
isPlanningComplete: Boolean indicating if all planning artifacts are complete. Older CLI versions expose the same value as isComplete.
planningHome, changeRoot, artifactPaths, and actionContext: path and scope context. Use these instead of assuming repo-local paths.
Act based on status:
Before anything else, finish a partly written artifact:
An artifact whose output is a glob pattern (e.g. specs/**/*.md) reads done as soon as one matching file exists, so a run interrupted while writing its files leaves it done with some still missing
For each such done artifact, first get its instructions and read any completed dependencies needed to determine the expected files. Then compare those files with artifactPaths.<id>.existingOutputPaths. For spec-driven's specs, read the proposal and check for one specs/<capability-path>/spec.md per capability it lists; resolve each expected path against changeRoot before comparing path identity
If any are missing, write only the missing files, and STOP - that counts as this invocation's ONE artifact. If you cannot tell whether a file was left out on purpose, ask the user
If all planning artifacts are complete (isPlanningComplete: true, or legacy isComplete: true):
Congratulate the user
Show final status including the schema used
Suggest: "Planning is complete! You can now implement this change. Once implementation and any tracked work are complete, archive it."
STOP
If artifacts are ready to create (status shows artifacts with status: "ready"):
Pick the FIRST artifact with status: "ready" from the status output
context: Project background (constraints for you - do NOT include in output)
rules: Artifact-specific rules (constraints for you - do NOT include in output)
template: The structure to use for your output file
instruction: Schema-specific guidance
resolvedOutputPath: Resolved path or pattern to write the artifact
dependencies: Completed artifacts to read for context (entries with skipped: true have no files - do not look for them)
skipped/warning: present when the change declares skip_specs and this artifact must NOT be created - pick another artifact
Create the artifact file:
Read any completed dependency files for context - always re-read them from disk, even if you saw them earlier in the conversation (the user may have edited them)
If the instruction field delegates creation to a specific skill or command, invoke it to produce the artifact instead of writing the file yourself, then verify the artifact file exists at resolvedOutputPath
Otherwise use template as the structure - fill in its sections
Apply context and rules as constraints when writing - but do NOT copy them into the file
Write to the resolvedOutputPath specified in instructions. If it is a glob pattern, choose the concrete file path using the schema instruction and the change's context
Show what was created and what's now unlocked
STOP after creating ONE artifact
If no artifacts are ready (all blocked):
This shouldn't happen with a valid schema
Show status and suggest checking for issues
After creating an artifact, show progress
openspec status --change "<name>"
Output
After each invocation, show:
Which artifact was created
Schema workflow being used
Current progress (N/M complete)
What artifacts are now unlocked
Prompt: "Want to continue? Just ask me to continue or tell me what to do next."
Artifact Creation Guidelines
The artifact types and their purpose depend on the schema. The instruction field from the instructions output is the authoritative guidance for each artifact - follow it even when the artifact has a familiar name (proposal.md, tasks.md, etc.), since custom schemas may define different content or a different process for the same file names.
If the instruction field directs you to use a specific skill or command to create the artifact, invoke it instead of writing the artifact directly.
Guardrails
Create ONE artifact per invocation
Always read dependency artifacts before creating a new one - re-read from disk, not from conversation memory (files may have changed since you last saw them)
Never skip artifacts or create out of order
If context is unclear, ask the user before creating
Verify the artifact file exists after writing before marking progress
Use the schema's artifact sequence, don't assume specific artifact names
IMPORTANT: context and rules are constraints for YOU, not content for the file
Do NOT copy <context>, <rules>, <project_context> blocks into the artifact
These guide what you write, but should never appear in the output
Local tool required
2 FOR YOU
All items below are required.
01
Install the OpenSpec CLI (Node.js 20.19+)
Install the OpenSpec command-line tool, which needs Node.js 20.19.0 or newer: npm install -g @fission-ai/openspec@latest (or, with Homebrew, brew install openspec). The skill runs openspec commands at every step.
02
Run openspec init in your project
Run openspec init in your project to create the openspec/ folder the skill works in. Without it, the skill stops before writing anything and asks how to proceed, for example whether to set the project up now. openspec init leaves this one out by default: the skills add command installs it directly, or add it with openspec config profile and then run openspec update.
🧰 Not standalone. This skill ships with Fission-AI/OpenSpec and only works together with that tool — install the tool first, then add this skill.
Run this outside your AI tool, using Node.js 22.20.0 or newer. Skills CLI 1.7.2 skips skill selection; prompts cancel installation without an interactive terminal. If choosing Project when asked about installation scope, open your project's folder before running this.
Install checklist
Check selected tools if a picker appears; Claude Code may be unchecked under Additional agents. ↑/↓ moves, Space toggles selections, Enter confirms.
Without a tool picker, check Installing to: for your intended tool. Stop if it names a different tool.
If asked, choose Symlink (Recommended) for shared files or Copy to all agents for separate copies; review the summary before confirming installation.
Install the find-skills skill? defaults to Yes, adding another skill for all projects. Choose No if you don't want that extra installation.
Skills CLI 1.7.2 sends install data to skills.sh by default, including the source, skill names, target tools and file details; GitHub sources are reported only when GitHub confirms the repository is public, while other remote sources can also be reported. Confirmed-public GitHub sources also trigger a security-audit request. Before installing, set the environment variable DO_NOT_TRACK=1 or DISABLE_TELEMETRY=1 to disable both.
After installing for Claude Code, open it in the installation project if you chose Project; Global makes the skill available across projects on this computer. Once Claude Code loads the skill, its description helps Claude decide when to use it.
If installation created a top-level skills folder that did not exist when your Claude Code session started, run /reload-skills in that session. Run it again after later changes in that folder.
Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or work through tasks. Also use when the user says "openspec apply", "opsx apply", or "openspec implement".Read full description
Archive a completed OpenSpec change in the experimental workflow. Use when the user wants to finalize and archive a change after implementation is complete. Also use when the user says "openspec archive" or "opsx archive".Read full description
Archive multiple completed OpenSpec changes at once. Use when archiving several parallel changes. Also use for a plural archive request - "openspec bulk-archive", "opsx bulk-archive", "openspec archive all", or "openspec archive these changes".Read full description
Enter OpenSpec explore mode - a thinking partner for exploring ideas, investigating problems, and clarifying requirements in a project that uses OpenSpec. Use when the user wants to think through something before or during an OpenSpec change. Also use when the user says "openspec explore" or "opsx explore".Read full description
Fast-forward through OpenSpec artifact creation. Use when the user wants to quickly create all artifacts needed for implementation without stepping through each one individually. Also use when the user says "openspec ff" or "opsx ff".Read full description
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. Also use when the user says "openspec new change" or "opsx new".Read full description