@xenonbyte/openspec
v2.0.1
Published
AI-native spec-driven workflow system for Claude, Codex, and Gemini
Maintainers
Readme
OpenSpec
OpenSpec is an AI-native spec-driven workflow system for Claude, Codex, and Gemini.
This package now ships as a Node CLI with:
- optional project-local
openspec/config.yamloverrides - full workflow command set by default (no profile split)
- schema-driven workflow metadata
- generated platform adapters
- pure Node install/uninstall/check/doc/language commands
- built-in security-review gating and workflow checkpoints
- runtime guidance primitives for status/instructions integrations
Quick start
npm install -g @xenonbyte/openspec
openspec install --platform claude,codex,gemini
$openspec help me start an OpenSpec workflowCurrent release: 2.0.1
Release focus:
- advisory
security-reviewis now consistently non-actionable in runtime, workflow, and summary APIs - runtime guidance preserves caller-provided preview sources unless on-disk artifacts contain meaningful content
- whitespace-only planning files no longer erase in-memory preview text
- apply previews now normalize array-backed
taskssources correctly - apply readiness stays file-based, so unsaved planning previews cannot bypass required artifacts
Codex usage
Preferred:
$openspec create an OpenSpec change for add-dark-modeExplicit routing:
/prompts:openspec
/prompts:opsx-proposeIf a /prompts:* route still needs a change name or description, provide it in the next message.
Project config
openspec/config.yaml controls:
schemalanguagecontextrulessecurityReview
Precedence:
- change metadata
- project config
- global config
- package defaults
Workflow checkpoints
security-reviewsits afterdesignand beforetasksspec checkpointruns beforetaskstask checkpointruns beforeapplyexecution checkpointruns after each top-level task group duringapply- Security-review states:
required,recommended,waived,completed - Checkpoint states:
PASS,WARN,BLOCK
Commands
openspec install --platform claude,codex,gemini
openspec uninstall --platform codex
openspec --check
openspec --doc
openspec --language zh
openspec --help
openspec --versionBehavior notes:
installanduninstallaccept comma-separated platforms via--platform.--checklists installed platform manifests from~/.openspec/manifests/*.manifest; configplatformis reported as the last selected platform.--docprefers the package-local guide (skills/openspec/GUIDE-*.md) and falls back to the shared installed copy.
Documentation
Repository shape
lib/: runtime modules for config, generation, install, and CLI behaviorschemas/: workflow schema definitionstemplates/: command and project templatescommands/: generated platform adaptersskills/openspec/: distributed skill bundleopenspec/: dogfooded project workspace for this repository
