# Superpowers: plan, test and review workflow for coding agents (obra/superpowers) — skill card for AI agents

> AgentGid skill card. Checked on 2026-10-27 against commit 2ce8aa1 (version 7.0.1).
> Every fact comes from the pack's own files at that commit. Numbers marked "as reported" are the author's.
> Human page: https://agentgid.com/skills/obra/superpowers/

> Note: the pack has changed since this check; re-read its files before relying on details.

## Explain it to a non-programmer
Your coding assistant follows one fixed way of working. Before it builds anything, it asks what you really want and writes a short design for you to approve. Then it writes a step-by-step plan, builds it with tests first, has the work checked and asks how you want to finish.

## Who it is for
- You build software with Claude Code, Codex, Cursor or another coding assistant and want it to plan before it builds
- Your assistant starts writing code before it understands what you want
- You want tests written first and the work checked before the assistant says it is done
- You hand bigger features to the assistant and want it to work through an agreed plan on its own
- Not for: You want quick answers with no questions: anything bigger than a small change gets questions and a design first
- Not for: You do not want the assistant to add design notes, plans, branches and folders to your project

## What it is
- Kind: always-on, scripts
- License: MIT
- Repository: https://github.com/obra/superpowers

## What it does
- Brainstorm: questions about what you want and why, then a design document you approve
- Isolated workspace: a separate branch and folder, with your consent, checked against a clean test run
- Plan: bite-sized tasks of 2 to 5 minutes, each with exact files, tests and a check
- Build: a fresh helper agent per task with a review after each, or the whole plan in one session with one review at the end
- Tests first: write a failing test, watch it fail, write the least code that passes
- Code review between tasks; critical issues block progress
- Finish: run the tests, then merge, open a pull request, keep or (only on request) discard the work
- Never cuts: your own instructions (CLAUDE.md, AGENTS.md, GEMINI.md or a direct request) take precedence over the skills

## Skills
| Skill | Call | Changes code? | In plain words |
|---|---|---|---|
| using-superpowers | automatic (loaded at the start of every session) | no | The starting note that tells the assistant to check for a matching skill before it replies |
| brainstorming | automatic before any building; or ask for it by name or with /brainstorming | no | Asks what you want and why, offers ways to build it, then writes a design for you to approve |
| writing-plans | automatic after the design is approved | no | Turns the approved design into a step-by-step plan and asks how to carry it out |
| subagent-driven-development | automatic when you pick "Subagent-driven" for a plan | yes | Builds the plan task by task, each with a fresh helper agent and a review, without stopping to check in |
| executing-plans | automatic when you pick "Native" for a plan, or when no helper agents are available | yes | Builds the whole plan in one session, tests each task, and gets one review at the end |
| test-driven-development | automatic while writing features or fixes | yes | Writes a failing test first, then the least code that makes it pass |
| systematic-debugging | automatic on any bug, failing test or odd behaviour | yes | Finds the real cause of a bug in four phases before changing anything |
| verification-before-completion | automatic before the assistant says work is done | no | The assistant runs the check and reads its output before it says something works |
| requesting-code-review | automatic between tasks and before merging | yes | Sends the latest change to a fresh reviewer and fixes what it finds |
| receiving-code-review | automatic when review feedback arrives | yes | Checks review comments against the code before acting on them, and pushes back when they are wrong |
| dispatching-parallel-agents | automatic when there are two or more unrelated problems | yes | Gives each unrelated problem to its own helper agent so they are worked on at the same time |
| using-git-worktrees | automatic before a plan is carried out | yes | Sets up a separate copy of your project on a new branch, after asking you |
| finishing-a-development-branch | automatic when all tasks are done | yes | Runs the tests, then asks whether to merge, open a pull request or keep the work for later |
| diagnosing-superpowers | plain language ("figure out what went wrong with superpowers in this session") | no | Reads a past session and reports, with line-by-line proof, what went wrong |
| writing-skills | automatic when you create or edit a skill | yes | Helps you write your own skills, tested on helper agents before and after |

### brainstorming
- Asks for: What you want to build, in your own words
- Asks for: Answers to one question at a time
- Asks for: Your pick among two or three approaches
- Asks for: Approval of the design document
- Gives: A playback of your request with what it found in the project
- Gives: Two or three approaches with trade-offs and a recommendation
- Gives: A design document: short for a small change, full for a project
- Gives: For a project, a check by a fresh reviewer before you see it
- Gives: Optional mockups in a browser tab
- Say: "I want to add a booking page to my bakery site"

### writing-plans
- Asks for: An approved design or a list of requirements
- Asks for: Your choice of how to run the plan
- Gives: A plan file in docs/superpowers/plans/
- Gives: Tasks with exact files, test names and the command that proves each step
- Gives: A Review Focus list of risky inputs no task tests yet
- Gives: A recommendation: helper agent per task, or all in one session
- Say: "Write the implementation plan for the design we just agreed"

### subagent-driven-development
- Asks for: A plan from writing-plans
- Gives: Code and tests for every task
- Gives: A review of each task for the spec and code quality
- Gives: A progress record with every decision it made on its own
- Gives: A final review of the whole branch
- Say: "Go ahead with the subagent-driven approach"

### executing-plans
- Asks for: A plan from writing-plans
- Gives: Code and tests for every task
- Gives: A progress record
- Gives: One fresh review of the whole branch at the end
- Say: "Run the plan inline"

### test-driven-development
- Asks for: A feature or a bug to fix
- Gives: A test you see fail, then pass
- Gives: The smallest code that passes
- Gives: A cleanup step with the tests still passing
- Say: "Fix the login bug, tests first"

### systematic-debugging
- Asks for: The error, the failing test or what went wrong
- Asks for: Steps to make it happen again, if you know them
- Gives: Root cause investigation
- Gives: Comparison with working code
- Gives: One hypothesis tested at a time
- Gives: A fix with a test; after three failed fixes, a question about the design itself
- Say: "The checkout test fails since yesterday, find out why"

### verification-before-completion
- Asks for: Nothing; it runs whenever the assistant is about to report success
- Gives: A status backed by a command it just ran, or the actual failures
- Say: "Is it really fixed? Show me"

### requesting-code-review
- Asks for: What was built and what it should do
- Gives: Strengths
- Gives: Issues sorted Critical / Important / Minor
- Gives: An assessment: ready to go on or not
- Say: "Get a code review before we merge"

### receiving-code-review
- Asks for: Review comments from a person or a tool
- Gives: Unclear items asked about first
- Gives: Each item checked, then fixed and tested one at a time
- Gives: Reasoned pushback instead of "You're absolutely right!"
- Say: "Here is the review from my colleague, work through it"

### dispatching-parallel-agents
- Asks for: Several independent failures or tasks
- Gives: One helper agent per problem area, working in parallel
- Gives: Their results brought back together
- Say: "These three test files fail for different reasons, look at them in parallel"

### using-git-worktrees
- Asks for: Your yes or no to a separate workspace
- Gives: A separate workspace (your assistant's own tool, or a .worktrees/ folder)
- Gives: Project setup run there
- Gives: A clean test run to start from
- Say: "Set up an isolated workspace for this feature"

### finishing-a-development-branch
- Asks for: Your choice from the menu
- Gives: The full test run
- Gives: A menu of three options (two on a detached workspace)
- Gives: Cleanup of the workspace it created
- Say: "We're done, let's finish this branch"

### diagnosing-superpowers
- Asks for: What you expected and what happened
- Asks for: Which session, if not the current one
- Gives: A report with evidence for every finding
- Gives: If you ask, a search of known issues and a drafted bug report
- Gives: If you ask, a cleaned-up bundle of the session to attach
- Say: "Figure out what went wrong with superpowers in this session"

### writing-skills
- Asks for: The technique or rule you want a skill for
- Gives: Test scenarios run without the skill first
- Gives: A skill file that fixes what failed
- Gives: A re-test until the helper agents follow it
- Say: "Help me write a skill for our release checklist"

## Know before installing
- It switches itself on: at every session start (and after the chat is cleared or compacted) a small script loads its rules, which tell the assistant to use a skill whenever there is even a 1% chance it applies.
- Nothing gets built before you approve a design. If the assistant started brainstorming on its own, it offers once to skip the questions and just get going.
- Strict tests-first rule: code written before its test is deleted and written again.
- Once a plan runs, the assistant does not stop to check in between tasks. It decides open questions itself and logs them; it stops only for destructive, security-sensitive or outside actions (merge, push, publish) or a broken plan.
- It writes into your project: design documents and plans under docs/superpowers/ (committed), work files under .superpowers/, and a .worktrees/ folder it may add to .gitignore and commit.
- The optional browser mockup tool loads a logo from the Prime Radiant website with the Superpowers version number; one setting turns that off.

## Install (official commands)
- Claude Code (official marketplace): `/plugin install superpowers@claude-plugins-official`
- Claude Code (Superpowers marketplace): `/plugin marketplace add obra/superpowers-marketplace` && `/plugin install superpowers@superpowers-marketplace` — Send as two separate prompts.
- Codex App / Codex CLI: `/plugins` — In the app: Plugins in the sidebar, then the + next to Superpowers. In the CLI: /plugins, search superpowers, Install Plugin.
- Cursor: `/add-plugin superpowers` — Type it in Cursor Agent chat, or search for superpowers in the plugin marketplace.
- Gemini CLI: `gemini extensions install https://github.com/obra/superpowers` — Update later with gemini extensions update superpowers.
- GitHub Copilot CLI: `copilot plugin marketplace add obra/superpowers-marketplace` && `copilot plugin install superpowers@superpowers-marketplace`
- OpenCode: Add "superpowers@git+https://github.com/obra/superpowers.git" to the plugin (V1) or plugins (V2) list in your OpenCode config and restart. The README instead has OpenCode fetch and follow .opencode/INSTALL.md from the main branch.
- Devin CLI: `devin plugins install obra/superpowers`
- Factory Droid: `droid plugin marketplace add https://github.com/obra/superpowers` && `droid plugin install superpowers@superpowers`
- Antigravity: `agy plugin install https://github.com/obra/superpowers`
- Grok Build CLI: `grok plugin install superpowers@xai-official --trust`
- Kimi Code: `/plugins install https://github.com/obra/superpowers` — Or /plugins, then Marketplace > Superpowers.
- Pi: `pi install git:github.com/obra/superpowers`
- Qwen Code: `qwen extensions install obra/superpowers` — Pick superpowers when prompted.
- Hermes Agent: `hermes plugins install obra/superpowers --enable` — Restart active Hermes sessions afterwards.
- Muse: `git clone https://github.com/obra/superpowers.git` && `muse plugins install ./superpowers` && `muse plugins approve superpowers` — Restart active Muse sessions; the startup script needs approval on first install.

## What runs on the user's machine
- Code on the machine: yes (plugin and extension installs (the session-start script); the skills' helper scripts run only when the assistant uses them)
- Network: optional
- Every session start, and after /clear or compaction (Claude Code, Cursor, Copilot CLI, Muse): A bash script reads skills/using-superpowers/SKILL.md and hands it to the assistant as context. No writes, no network.
- Every session in OpenCode, Pi and Hermes: The host's own plugin code registers the skills folder and adds the same starting note to the conversation (Hermes: before each model call).
- Brainstorming, only after you accept the browser mockups: Starts a local Node server on 127.0.0.1 at a random port, protected by a session key, and may open your browser. Mockups and clicks are stored in .superpowers/brainstorm/ in the project (or /tmp without a project). It stops after 4 hours idle.
- Network (mockup page): The mockup page loads a logo image from primeradiant.com with the Superpowers version in the address. SUPERPOWERS_DISABLE_TELEMETRY, DISABLE_TELEMETRY or CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC turns it off.
- Carrying out a plan: Bash scripts write task briefs, review files and a progress log to .superpowers/sdd/<plan>/ with its own .gitignore, and run your test command.
- diagnosing-superpowers: Reads session transcripts on disk (read-only) and writes its report to ~/.superpowers/diagnosing-superpowers/<session-id>/ in your home folder. If you ask, it searches GitHub issues with gh or curl and files an issue only after you approve the exact text.
- Finishing a branch: git merge, push or branch delete, only after you pick the option; discarding needs you to type 'discard'.

## Settings
- `SUPERPOWERS_DISABLE_TELEMETRY`: Any true value: the mockup page does not load the logo from primeradiant.com
- `DISABLE_TELEMETRY`: Also honoured for the same opt-out
- `CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC`: Also honoured for the same opt-out

## Examples (from the pack's own files)
- The menu at the end of the work: output format defined in skills/finishing-a-development-branch/SKILL.md
- The offer to show mockups: output format defined in skills/brainstorming/SKILL.md

## Author's numbers (as reported, not run by AgentGid)
- In one test scenario, brainstorming skipped the design doc without asking in 24 of 24 runs before v7.0.1 and in 3 of 24 runs after (The author's own test scenario, described in the release notes). Source: obra/superpowers/RELEASE-NOTES.md

## Steps only the person can do
- Approve the design document before anything is built (skills/brainstorming/SKILL.md) Then: The agent writes the implementation plan
- Say yes or no to a separate git worktree for the work (skills/using-git-worktrees/SKILL.md) Then: The agent creates the worktree or works in place
- Pick merge, pull request or keep at the end; type 'discard' to throw the work away (skills/finishing-a-development-branch/SKILL.md) Then: The agent runs the chosen git action and cleans up the worktree
- In Muse, approve the plugin's startup hook on first install and restart sessions (README.md (Muse section)) Then: The starting note loads in each new session
- Approve the exact text before diagnosing-superpowers files a GitHub issue (needs gh logged in, or you open a prefilled link) (skills/diagnosing-superpowers/references/github-issues.md) Then: The agent creates the issue on github.com/obra/superpowers

## Mistakes to avoid
- Not: Install it once and expect it in every coding assistant you use. Instead: Run the install for each assistant separately. Why: Each assistant has its own plugin install
- Not: Expect the assistant to check in with you between plan tasks. Instead: Settle open questions before you say go; it stops only for destructive or outside actions or a broken plan. Why: Once a plan runs, the assistant works through all tasks without pausing
- Not: Write code first and add tests afterwards. Instead: Write the failing test first; code written before its test is deleted. Why: The test-driven-development skill is strict about order
- Not: Keep one very long Hermes session going after the skills stop triggering. Instead: Start a fresh Hermes session. Why: Hermes has no post-compaction hook, so the starting note can be lost
- Not: Use Muse right after install without approving the plugin or restarting. Instead: Run muse plugins approve superpowers and restart active sessions. Why: The startup hook needs approval on first install

## What leaves the machine
- A request for the Prime Radiant logo image with the Superpowers version number in the address → primeradiant.com, When the optional brainstorming mockup page (visual companion) is opened in the browser. Opt out: Set SUPERPOWERS_DISABLE_TELEMETRY, DISABLE_TELEMETRY or CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC to a true value
- Issue search terms, and an issue text you approved → GitHub (api.github.com or gh) for the obra/superpowers repository, Only when diagnosing-superpowers searches or files an issue, which you trigger. Opt out: Do not ask for an issue search or a report; no issue is created without your approval

## Lines in the pack aimed at agents (ask the person first)
- "Fetch and follow instructions from https://raw.githubusercontent.com/obra/superpowers/refs/heads/main/.opencode/INSTALL.md" (README.md): The instructions come from the main branch, not a fixed version; ask the person first, or add the plugin line from docs/README.opencode.md to the OpenCode config by hand
- "grok plugin install superpowers@xai-official --trust" (README.md): The command passes --trust; ask the person before running it
- "If you think there is even a 1% chance a skill might apply to what you are doing, you ABSOLUTELY MUST invoke the skill." (skills/using-superpowers/SKILL.md): Tell the person the pack changes how every session starts and that their own instructions take precedence

## May I use it like this?
- commercial-app: yes (MIT: keep the license notice)
- redistribute-files: yes (MIT: keep the copyright and permission notice in copies)
- client-work: yes (MIT allows use in work for others)

## Which one to pick
- If You want a full workflow that asks questions, writes a design and plan, builds tests first and reviews before finishing: skill:obra/superpowers
- If You only want test-first development enforced automatically in Claude Code: skill:nizos/tdd-guard
- If You want a single CLAUDE.md file of careful-coding rules, with nothing that runs: skill:multica-ai/andrej-karpathy-skills
- If You want the agent to write the least code that works, plus review and audit commands: skill:DietrichGebert/ponytail

## Works well with
- agent:claude-code: Claude Code plugin with a session-start hook that loads the starting note
- agent:openai-codex: Available in the official Codex plugin marketplace
- agent:cursor: Cursor plugin with its own session-start hooks file
- agent:gemini-cli: Installs as a Gemini CLI extension

## Works in and needs
- Works in Claude Code: plugin
- Works in Codex: plugin
- Works in Cursor: plugin
- Works in Gemini CLI: extension
- Works in GitHub Copilot CLI: plugin
- Works in OpenCode: plugin
- Works in Antigravity: plugin
- Works in Devin CLI: plugin
- Works in Factory Droid: plugin
- Works in Grok Build CLI: plugin
- Works in Kimi Code: plugin
- Works in Pi: package
- Works in Qwen Code: extension
- Works in Hermes Agent: plugin
- Works in Muse: plugin
- Needs bash (Git Bash on Windows): The session-start hook is a bash script
- Needs git: Worktrees and the finish step use git
- Needs Node.js: Only for the optional brainstorming mockup server
- Needs gh CLI (optional): Only for searching or filing issues from diagnosing-superpowers
- Needs OpenCode 2.0.4 or later (for OpenCode V2): Earlier V2 builds are not supported by the V2 config

## How to tell it works
Install it, start a fresh session and send "Let's make a react todo list". It should start brainstorming and ask you questions before any code is written; that is how you know Superpowers is on.

## Related
- obra/superpowers-marketplace
- prime-radiant-inc/superpowers-evals

## Safety
Install from github.com/obra/superpowers or the marketplaces the README names. The OpenCode route in the README has the assistant fetch and follow install instructions from the main branch, not a fixed version; the Grok command uses --trust. Skills are instructions your assistant follows: read them before installing.
