Skip to content
HUIAHUB

TutorialAgent skills

How to use Superpowers in Claude Code, Codex and OpenCode, step by step

See how to use Superpowers in Claude Code: answer its questions, approve the design and plan, pick an executor, finish the branch. Codex and OpenCode too.

Edited by Published 11 min read17 sources
Blank speech bubbles lead to an approved workflow plan, three execution paths and a completed branch, with chips and a lock.

Illustration generated with ChatGPT

How to use Superpowers in Claude Code comes down to three jobs: answer the agent's questions, approve a design and a plan, then choose how the plan runs. With the obra/superpowers plugin installed, the agent checks for a matching skill before any task, so a request to build something starts a seven-step workflow instead of code. Codex and OpenCode run the same skills, with differences in tools and setup.

Step names, commands and settings here come from the Superpowers README, its SKILL.md files and the Claude Code, Codex and OpenCode docs, read on 2026-11-13, when v7.0.2 was the latest release. Nothing was run for this article.

One install command per agent

Superpowers installs separately in each agent you use. The full table of agents, folders and commands is in how to install skills in Codex, Cursor, Gemini CLI, Claude Code and more. These are the starting points from the Superpowers README (opens in a new tab):

# Claude Code, from Anthropic's official marketplace
/plugin install superpowers@claude-plugins-official

# Codex CLI: opens the plugin browser; search "superpowers", then select Install Plugin
/plugins

For OpenCode, the README tells you to ask OpenCode to fetch a file from the repository's main branch and follow the instructions in it. That hands the agent whatever the file says on the day it is fetched. Read that file yourself first, or skip the step: the OpenCode guide in the repository (opens in a new tab) gives the plugin entry to put in opencode.json yourself. For OpenCode 2.0.4 or later:

{
  "plugins": ["superpowers@git+https://github.com/obra/superpowers.git"]
}

OpenCode V1 uses the key plugin instead. Restart OpenCode after the change. Repository details, license and star count are on the obra/superpowers project page.

What changes in a session once Superpowers is installed?

The skills trigger on their own. The README says the agent checks for relevant skills before any task and calls the workflows mandatory. A bootstrap skill, using-superpowers, tells the agent to invoke a matching skill before it replies, even before a clarifying question. A request to build something goes to brainstorming first, and a bug report goes to systematic-debugging first.

The Claude Code plugin docs (opens in a new tab) say each plugin skill's name and description sit in Claude's context on every turn, and a skill's full text loads only when it is used. To confirm the install, type / in a session: plugin skills are listed in the form /<plugin>:<skill>.

Some older guides name slash commands such as /superpowers:write-plan. On 2026-11-13 the repository had no commands folder, and its README describes skills that fire by themselves.

The seven steps at a glance

The README's basic workflow, with what each step needs from you:

StepSkillWhen it activatesWhat it asks of you
1brainstormingBefore building anythingAnswer questions one at a time, pick an approach, approve the design doc
2using-git-worktreesAfter design approvalAllow or decline an isolated worktree; decide what happens if baseline tests fail
3writing-plansWith an approved designReview the plan and choose Subagent-driven or Native execution
4subagent-driven-development or executing-plansWith a planNothing between tasks, unless one of four stop conditions comes up
5test-driven-developmentDuring implementationGrant or refuse any exception to test-first
6requesting-code-reviewBetween tasksRead the findings, rulings and deferred items before merging
7finishing-a-development-branchWhen tasks completeChoose merge, PR, keep or discard

How to use Superpowers in Claude Code, step by step

Step 1: brainstorming, and how to answer its questions

The brainstorming skill first decides whether anything is missing. A request that already holds every detail that matters, such as making an icon cornflower blue, just gets done. Otherwise the agent reads the project and any files you pointed to before asking, and it should not ask what the project already answers.

Its first message either echoes your request back in about 200 words or asks one open question about the biggest unsettled point. If you did not ask for brainstorming, the message ends with a one-line offer to skip the questions and start work. Accept it, and the skill ends there.

To answer well:

  • Describe things in your own words. Its early questions are open, with no example answers.
  • Say "just guess" or "what do you think?" to get a concrete proposal instead of another question.
  • Correct the playback. The design comes back in parts of about 200 to 300 words, each ending with a request for corrections.
  • Pick an approach from the two or three it lays out, with trade-offs and a recommendation.

The output is a design doc: short for a small change, full for a project. In a software repository it goes to docs/superpowers/specs/YYYY-MM-DD-<topic>-design.md and is committed. For a project, a fresh subagent reads the doc as a builder first, so one more round of questions can follow. The brainstorming SKILL.md (opens in a new tab) sets a hard gate: nothing gets built until you approve the doc.

When a screen or layout is yours to decide, the agent may offer the visual companion, a browser tab for mockups, in a message by itself. Declining keeps everything in text.

Steps 2 and 3: a git worktree and a written plan

using-git-worktrees first checks whether you are already in a linked worktree. In a normal checkout, it asks before creating one unless your instructions already state a preference. It prefers the agent's own worktree tool and falls back to git worktree add, by default under .worktrees/ at the project root. If that folder is not git-ignored, the skill adds it to .gitignore and commits the change.

Next it runs the setup it detects, such as npm install, cargo build, poetry install or go mod download, then your tests. If the baseline fails, it reports the failures and asks whether to go on. Decline the worktree and the work happens in place.

writing-plans saves the plan to docs/superpowers/plans/YYYY-MM-DD-<feature-name>.md. Each task lists exact files, the interfaces it uses and produces, and steps in order: write the failing test, run it, implement, run again, commit. The README puts tasks at 2 to 5 minutes each. The plan also has a Global Constraints section and a Review Focus list of inputs that no task's tests cover.

At the end, the writing-plans SKILL.md (opens in a new tab) has the agent ask you to review the plan and pick how it runs. If you named a method earlier, it keeps that one and only asks for the review.

Step 4: subagent-driven development or executing plans

Subagent-driven execution uses the subagent-driven-development skill, and Native uses executing-plans. This decision table pairs each situation with what the skill files say.

Your situationChooseWhat the skill files say
You want a review after every taskSubagent-drivenA fresh implementer subagent per task, a task review for spec compliance and code quality, then a whole-branch review. Most thorough; costs a fresh context per task and per review.
You want the lower costNativeThe agent does every task itself in the session, then one fresh reviewer on the most capable model checks the whole branch. No independent review until the end.
The agent has no subagent toolNativeexecuting-plans is the skill for that case.
The plan is long enough that later tasks would run after compactionSubagent-drivenexecuting-plans recommends subagent-driven development here.

Both modes keep a ledger file, progress.md, in a git-ignored folder under .superpowers/sdd/, so a plan can switch executors and resume. Neither starts implementation on main or master without your explicit consent.

Once running, neither mode pauses to check in between tasks. Four things stop them: an irreversible or destructive operation, a security-sensitive action, a side effect outside the worktree (a merge, a push to a shared branch, a publish) and a plan too broken to follow. Other conflicts get decided and written to the ledger as rulings.

Steps 5 and 6: test-driven development and code review between tasks

test-driven-development has one rule, written in capitals: no production code without a failing test first. Code written before its test is deleted and rebuilt from the test. The skill names three exceptions (throwaway prototypes, generated code and configuration files), and each needs your permission. Before a change counts as done, the agent runs the project's whole test command as well as the new test.

Review works differently in each mode. The README describes requesting-code-review as checking work against the plan and reporting issues by severity, with Critical issues blocking progress. In a subagent-driven run, every task gets a reviewer, and a failed spec check or any Critical or Important finding starts a fix loop.

In a Native run, the final review's Critical and Important findings get one fix pass, each fix proven by a test that failed first. Minor findings stay unfixed and appear in the final message under "Deferred minors", next to "Rulings I made". Read both lists before you merge.

Step 7: finishing the branch

When the tasks are done, finishing-a-development-branch verifies the tests, presents four options (merge, PR, keep or discard) for you to choose from and cleans up the worktree.

What differs in Codex and OpenCode?

Codex

Codex installs Superpowers from the official Codex plugin marketplace, through the Plugins sidebar in the app or /plugins in the CLI. The Codex plugin docs (opens in a new tab) say bundled skills become available only in a new chat or CLI session after install, and that typing @ invokes a plugin or one of its skills explicitly. Codex's skills page also describes $ mentions for skills.

Subagent-driven runs need Codex's multi-agent tools. The Superpowers reference file for Codex asks for this in ~/.codex/config.toml:

[features]
multi_agent = true

Without a subagent tool, executing-plans is the route. In the Codex app, when the sandbox blocks branch or push operations, the agent commits the work and points you to the app's "Create branch" or "Hand off to local" controls. The CLI has its own entry on the openai/codex project page.

OpenCode

OpenCode V2 needs version 2.0.4 or later. After the restart, the guide suggests checking the install by asking "Tell me about your superpowers". Skills load through OpenCode's native skill tool, so typing "use skill tool to load brainstorming" starts step 1 by hand.

The plugin maps the skills' actions onto OpenCode's tools. V2 has no todo tool, so the plan is tracked in a Markdown file. Subagents run through the subagent tool, and delegated child sessions keep the skills but not the bootstrap. On V2, a project or personal skill with the same name as a Superpowers skill wins; on V1 1.18.31 the Superpowers one does, so give your own skills distinct names. OpenCode itself is covered on the anomalyco/opencode project page.

What do the Superpowers skills run and reach?

HuiaHub read the files of two Superpowers skills at commit 2ce8aa15d05b. The brainstorming skill check found four scripts for the optional visual companion: start and stop shell scripts, a Node.js server and a browser helper. The server binds to 127.0.0.1 by default and rejects requests without a per-session key, BRAINSTORM_TOKEN. The page advises reading scripts/server.cjs and scripts/start-server.sh before you accept the companion.

The systematic debugging check found two script files and no network use, hooks or secrets. find-polluter.sh runs npm test on each test file matching a pattern and stops at the first one that creates a given file or folder. It runs only when called. Because it runs your project's own tests, the page suggests trying it in a test repository first. Neither skill adds hooks; the plugin has a session-start hook.

Other skills run commands too: worktree setup runs your package manager's install, and both executors call scripts that ship in the skill folders. Claude Code's docs note that whatever a plugin runs, it runs as you. The steps in how to check an agent skill before you install it apply to every skill in the plugin.

The README's "Visual companion telemetry" section covers one network call. By default, the Prime Radiant logo on the companion loads from Prime Radiant's website, and the request includes the Superpowers version. The README says it carries no details about your project, prompt or coding agent. To turn it off, set SUPERPOWERS_DISABLE_TELEMETRY to any true value. Superpowers also honors Claude Code's DISABLE_TELEMETRY and CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC opt-outs.

How to skip a step, update or remove Superpowers

Your own instructions outrank the skills. using-superpowers ranks CLAUDE.md, AGENTS.md, GEMINI.md and direct requests above skills, and says skill workflows are skipped only when you say so explicitly. These are the documented ways out:

  • Brainstorming: take its one-line offer to start work, or put every detail in the request. A throwaway spike you agree to skips the plan, implementation and review process.
  • Worktree: decline when asked, or state your preference in your instructions.
  • Test-first: ask for an exception. The skill lists prototypes, generated code and configuration files.
  • Execution mode: name it before the plan is written.

In Claude Code, plugins from claude-plugins-official update automatically by default. Third-party marketplaces, which include superpowers-marketplace, have auto-update off by default. A running session keeps the version it loaded until you run /reload-plugins or start a new session. From your shell:

claude plugin update superpowers@claude-plugins-official
claude plugin disable superpowers@claude-plugins-official
claude plugin uninstall superpowers@claude-plugins-official

In the Codex CLI, /plugins lets you press Space on an installed plugin to turn it on or off, and install or uninstall entries. In the Codex app, open the plugin and select Uninstall plugin.

OpenCode may not pick up a new commit on restart, because some OpenCode and Bun versions cache the git dependency. Clear OpenCode's package cache or reinstall the plugin. To pin a release, add a tag to the spec, such as #v7.0.2. The OpenCode guide documents no uninstall step.

Frequently asked questions

Does Superpowers work in Cursor or Gemini CLI?

Yes, the README lists both. In Cursor Agent chat the install is `/add-plugin superpowers`, and Gemini CLI installs it as an extension with `gemini extensions install https://github.com/obra/superpowers`. Antigravity, GitHub Copilot CLI, Kimi Code and several other agents have their own install lines in the same README.

Why does the agent ask so many questions before it writes code?

The brainstorming skill exists to find out what you want and why before anything is built. It asks only when the answer would change what gets built, one question at a time, and skips what the project already answers. A request with every detail in it should go straight to work, and accepting its offer to start work ends the questions.

Can I install a single Superpowers skill instead of the whole plugin?

HuiaHub's file checks note that the documented installs add the whole plugin, not one skill. The skills also hand off to each other: brainstorming expects the writing-plans skill to be installed.

What can I do when a Superpowers session goes wrong?

Ask the agent to "figure out what went wrong with superpowers in this session". The README says that invokes the diagnosing-superpowers skill, which reads the session transcript and reports what happened with line-level evidence. If you want, it also packages a scrubbed bundle for a bug report.

Sources

  1. 1.GitHub - obra/superpowers: An agentic skills framework & software development methodology that works. · GitHubRepositoryPrimarygithub.com
  2. 2.superpowers/skills/brainstorming/SKILL.md at main · obra/superpowers · GitHubRepositoryPrimarygithub.com
  3. 3.superpowers/skills/using-git-worktrees/SKILL.md at main · obra/superpowers · GitHubRepositoryPrimarygithub.com
  4. 4.superpowers/skills/writing-plans/SKILL.md at main · obra/superpowers · GitHubRepositoryPrimarygithub.com
  5. 5.superpowers/skills/subagent-driven-development/SKILL.md at main · obra/superpowers · GitHubRepositoryPrimarygithub.com
  6. 6.superpowers/skills/executing-plans/SKILL.md at main · obra/superpowers · GitHubRepositoryPrimarygithub.com
  7. 7.superpowers/skills/test-driven-development/SKILL.md at main · obra/superpowers · GitHubRepositoryPrimarygithub.com
  8. 8.superpowers/docs/README.opencode.md at main · obra/superpowers · GitHubRepositoryPrimarygithub.com
  9. 9.Plugins overview - Claude Code DocsOfficial docsPrimarycode.claude.com
  10. 10.Skills & Plugins | ChatGPT LearnWeblearn.chatgpt.com
  11. 11.api.github.com/repos/obra/superpowers/releases/latestOfficial docsPrimary
  12. 12.github.com/obra/superpowers/blob/main/skills/using-superpowers/SKILL.mdRepositoryPrimary
  13. 13.code.claude.com/docs/en/plugins/installWeb
  14. 14.learn.chatgpt.com/docs/pluginsWeb
  15. 15.github.com/obra/superpowers/blob/main/skills/using-superpowers/references/codex-tools.mdRepositoryPrimary
  16. 16.huiahub.com/skills/brainstorming-obraWeb
  17. 17.huiahub.com/skills/systematic-debugging-obraWeb

Spotted an error? See our corrections policy.

Enjoyed this? Get the weekly brief.

New guides, Project & Tool of the Week and the AI developments that matter. One email, no spam.

Read next

More on these topics