superpowers-openspec-team
v2.5.7
Published
AI coding agent workflow skills with CLI-driven multi-tool adaptation
Maintainers
Readme
Superpowers + OpenSpec Team Skills
CLI-driven workflow skills for AI coding agents. Install structured delivery processes into Claude Code (including oh-my-claudecode), Cursor, Codex, or Gemini CLI with a single command.
Quick Start
npm install -g superpowers-openspec-team
# Interactive setup — auto-detects installed AI tools
sot init /path/to/your/project
# Target a specific tool (skip interactive)
sot init /path/to/your/project --tool claude-code
# Include project memory template
sot init /path/to/your/project --with-memoryRunning sot init without --tool launches an interactive setup:
- Welcome screen — shows how many skills will be installed
- Tool detection — scans for Claude Code, Cursor, Codex, and Gemini CLI; pre-selects detected tools
- Tool selection — use arrow keys and space to add/remove tools
- Installation — generates and installs skill files with a spinner
- Quick start guide — shows next-step commands
$ sot init ./my-project
Welcome to Superpowers-OpenSpec
A CLI-driven workflow skills framework for AI coding agents
This setup will configure:
• 5 workflow skill(s) for your AI tools
• Tool-specific command files and skill directories
• Optional .superpowers-memory/ for cross-session memory
? Select AI tools to install skills for: (Space to toggle, Enter to confirm)
◉ claude-code (detected)
◯ cursor
◯ codex
◉ gemini (detected)
✔ Installed 12 file(s) for 2 tool(s)
Quick start after setup:
sot list # List available skills
sot update # Update installed skills
sot validate # Validate installationFor CI or agent-friendly use, add --json or --force:
sot init . --tool claude-code --force --jsonAfter initialization, invoke a workflow explicitly in your AI tool:
Use the openspec-superpowers workflow for this feature.CLI Commands
The sot CLI (v2.0.0) is the primary way to install, build, validate, and manage workflow skills.
sot init
Initialize skills into a project for one or more AI tools. When OMC (oh-my-claudecode) is detected, skills are also installed to .omc/skills/, a SOT reference block is injected into CLAUDE.md, and the sot MCP server is registered in ~/.claude.json.
sot init /path/to/project # auto-detect tools
sot init . --tool claude-code,cursor # target specific tools
sot init . --tool codex --force # skip prompts
sot init . --with-memory # install .superpowers-memory/ template
sot init . --dry-run # preview without writing
sot init . --backup # backup before overwriting
sot init . --tool claude-code --force --json # agent-friendly JSON outputsot update
Update previously installed skills. Only overwrites files that carry the generatedBy: sot@ marker; manually edited files are left intact.
sot update /path/to/project
sot update . --dry-run
sot update . --backupsot build
Build dist/ bundles from skills/ source definitions. Used by maintainers after changing source workflows.
sot build
sot build --jsonsot validate
Validate installation integrity. Checks generatedBy markers, checksums, and memory date formats.
sot validate /path/to/project
sot validate . --jsonsot doctor
Check OMC integration health and installation status. Runs five diagnostics:
- OMC Installation — detects project-local
.omc/or global OMC install - Skill Sync — compares sot-generated skill count across
.claude/skills/and.omc/skills/(ignores third-party skills) - CLAUDE.md SOT Block — verifies
<!-- SOT:START -->reference block is present - Registry Version — checks
.omc/skills/sot-registry.jsonmatches CLI version - MCP Registration — checks
sotMCP server is registered in~/.claude.json
sot doctor # text output with colored icons
sot doctor --json # machine-readable JSONsot serve
Start an MCP server (stdio transport) exposing skill metadata and project memory queries. Complements OMC's built-in tools when both are available.
sot serve # start MCP server for current directory
sot serve --project-root /path/to/projectsot list
List available skills and detected installed tools.
sot list
sot list --jsonsot install-deps
Check and install runtime dependencies declared in workflow.yaml files.
sot install-deps # check only
sot install-deps --force # install missing deps
sot install-deps --jsonsot config
View or modify global configuration.
sot config # show all settings
sot config --get defaultTools
sot config --set defaultTools=claude-code,cursor
sot config --set backupEnabled=trueValid config keys: defaultTools, deliveryMode, backupEnabled.
Global Options
All commands support --json for machine-readable output and --debug for verbose logging.
Supported Tools
Five adapters are included:
| Adapter | ID | Writes to |
|---------|----|-----------|
| Claude Code | claude-code | .claude/commands/, CLAUDE.md (also detects oh-my-claudecode) |
| Cursor | cursor | .cursor/rules/, AGENTS.md |
| Codex | codex | Codex home skills directory |
| Gemini CLI | gemini | GEMINI.md, gemini-extension.json |
| OMC | omc | .omc/skills/ (auto-detected, enables OMC skill discovery) |
Project Memory (.superpowers-memory/)
When sot init --with-memory is used, the project receives a .superpowers-memory/ directory that gives AI agents a lightweight cross-session memory:
PROJECT_CONTEXT.md-- stable project facts and architectureCURRENT_STATE.md-- latest working context and next stepsDECISIONS.md-- cross-session design and process decisionsKNOWN_FAILURES.md-- recurring failure patterns and pitfallsVERIFICATION_BASELINE.md-- trusted verification methodsTEAM_PREFERENCES.md-- durable collaboration preferencesUSER_PROFILE.md-- user communication and output preferencesAGENT_NOTES.md-- execution reminders and quality notesLEARNING_BACKLOG.md-- reusable lessons pending promotionSESSION_CLOSE_CHECKLIST.md-- session-close remindermemory-index.yaml-- health metadata and freshness trackingsession-journal/-- one short note per meaningful session
Memory is opt-in. It only activates when .superpowers-memory/ exists and a Superpowers workflow reads it.
Recommended Workflows
| Workflow | Purpose |
|----------|---------|
| openspec-superpowers | End-to-end: clarification through verification |
| superpowers-openspec-execution | Four-step: explore, lock spec, implement, archive |
| superpowers-feature | Design, plan, TDD, verify -- no OpenSpec artifacts |
| superpowers-learning | Reflective capture of lessons and project memory |
| openspec-feature | OpenSpec proposal, design, specs, tasks only |
For long-running projects, a good pattern is: deliver with a feature workflow, then close with superpowers-learning to preserve durable lessons.
Repository Layout
skills/ source workflow definitions (maintainer-facing)
dist/ tool-adapted bundles (generated by sot build)
src/ CLI source code (TypeScript)
templates/ memory template scaffold
bin/ CLI entry point
test/ test suite (vitest)skills/ contains the source definitions. dist/ is deterministically generated from skills/ via sot build -- do not edit dist/ directly.
Explicit Activation
These workflows should only activate when:
- the user explicitly names the workflow
- the user explicitly asks for the workflow style
- the repository policy explicitly requires the workflow
They should not be treated as default background behavior. Install the bundle, keep normal prompts unchanged, and explicitly invoke the workflow only when you want it.
Development & Contributing
# Build CLI
npm run build
# Type check
npx tsc --noEmit
# Run tests
npm test
# Watch tests
npm run test:watchSee CONTRIBUTING.md for contribution guidelines.
