English · 简体中文
Community-contributed OpenSpec schemas that bridge OpenSpec's artifact governance (the what) with obra/superpowers execution skills (the how) - one self-contained bundle you install with a single command.
From your target repo root (the project you want to add OpenSpec + Superpowers to), run:
# Claude Code (default)
bash <(curl -fsSL https://raw.githubusercontent.com/AllenMuu/openspec-superpowers/main/superpowers-bridge/install.sh)
# Codex CLI (or other agents: codex, cursor, gemini, ...)
bash <(curl -fsSL https://raw.githubusercontent.com/AllenMuu/openspec-superpowers/main/superpowers-bridge/install.sh) --tool codex--tool (default claude) sets the agent harness. Claude Code writes the routing rule to .claude/rules/ (auto-loaded); other agents write it to openspec/routing.md + a bridge line in AGENTS.md.
The script is pinned internally to release tag
v1.1.0, so the schema + routing rule it writes stay reproducible even when you fetch the script frommain. To pin the script itself, swapmainforv1.1.0in the URL.
| Requirement | Install | Notes |
|---|---|---|
openspec CLI ≥ 1.5.0 |
brew install openspec |
Script hard-stops if missing or < 1.5.0 (needs the v1.5.0 command set: propose / apply / archive / explore / sync) |
| Superpowers plugin | Claude: claude plugin install superpowers@claude-plugins-official; Codex: /plugins → "superpowers"; others: see obra/superpowers |
Script warns (does not stop) if absent |
git |
— | Required for the schema clone |
install.sh is idempotent and does not commit - safe to re-run. It performs six steps:
| # | Step | Result |
|---|---|---|
| 1 | Precheck | Verifies git, openspec ≥ 1.5.0, and warns if the Superpowers plugin is missing |
| 2 | openspec init --tools <tool> --force |
Creates tool-specific skills/commands (Claude: .claude/commands/opsx/* + .claude/skills/openspec-*/*; Codex: .codex/skills/openspec-*/*) |
| 3 | Install schema | Copies superpowers-bridge/ into openspec/schemas/ (backs up any existing copy instead of deleting it) |
| 4 | Set default schema | Writes schema: superpowers-bridge to openspec/config.yaml |
| 5 | Workflow routing rule | Claude: writes to .claude/rules/openspec-routing.md (auto-loaded); other agents: writes to openspec/routing.md + a bridge line in AGENTS.md |
| 6 | Gitignore + validate | Ensures .claude/settings.local.json is gitignored, then runs openspec schema validate |
- Restart your agent so the new skills/commands load.
- Start a change. Claude Code:
/opsx:propose <name>. Codex/other: trigger theopenspec-proposeskill, or runopenspec new change <name>(seeopenspec/routing.mdfor the command map). - v1.5.0 command set:
propose/apply/archive/explore/sync(there is no/opsx:new,/opsx:ff,/opsx:continue, or/opsx:verifyin v1.5.0) - When ready, commit the generated files:
git add .claude/ openspec/ AGENTS.md CLAUDE.md .gitignore git commit -m "chore(openspec): install superpowers-bridge"
Prefer a guided install, or need to upgrade an existing install? See the full guide in
superpowers-bridge/README.md(one-shot Claude Code prompts, manual bash, and upgrade paths).
| Bridge | Purpose | Status |
|---|---|---|
superpowers-bridge |
Bridges OpenSpec's artifact governance with obra/superpowers execution skills (brainstorming, writing-plans, TDD-via-subagents, code review, finishing). Adds an evidence-first retrospective artifact filling a gap Superpowers does not natively cover. |
v1 |
Adding a new bridge? Drop a
<new-bridge>/subdirectory mirroring thesuperpowers-bridge/structure, then add one line tomatrix.bridgein.github/workflows/validate-schemas.yml.
OpenSpec PR #970 originally proposed sdd-plus-superpowers as a built-in schema. After maintainer review, the integration moved to a community repository - the same pattern github/spec-kit's community extension catalog uses to keep third-party tool integrations out of core.
Benefits:
- OpenSpec core stays decoupled from Superpowers' release cadence
- The bridge iterates independently and ships on its own schedule
- Other community schemas can join this repository as siblings
See docs/roadmap.md for what's planned (v1 shipped, v1.x backlog, and items awaiting OpenSpec core).
MIT - see LICENSE.