superpowers README

The project's README from github.com/obra/superpowers. As one markdown file: README.md.

Superpowers

Superpowers is a complete software development methodology for your coding agents, built on top of a set of composable skills and some initial instructions that make sure your agent uses them.

Table of Contents

How it works

It starts from the moment you fire up your coding agent. As soon as it sees that you're building something, it doesn't just jump into trying to write code. Instead, it steps back and asks you what you're really trying to do.

Once it's teased a spec out of the conversation, it shows it to you in chunks short enough to actually read and digest.

After you've signed off on the design, your agent puts together an implementation plan that's clear enough for an enthusiastic junior engineer with poor taste, no judgement, no project context, and an aversion to testing to follow. It emphasizes true red/green TDD, YAGNI (You Aren't Gonna Need It), and DRY.

Next up, once you say "go", it launches a subagent-driven-development process, having agents work through each engineering task, inspecting and reviewing their work, and continuing forward. It's not uncommon for your agent to work autonomously for a couple hours at a time without deviating from the plan you put together.

There's a bunch more to it, but that's the core of the system. And because the skills trigger automatically, you don't need to do anything special. Your coding agent just has Superpowers.

Commercial Services

If you're using Superpowers in enterprise and could benefit from commercial support, additional tooling, or managed spending, please don't hesitate to drop us a line at [email protected].

Installation

Installation differs by harness. If you use more than one, install Superpowers separately for each one.

Claude Code

Superpowers is available via the official Claude plugin marketplace

Official Marketplace

Superpowers Marketplace

The Superpowers marketplace provides Superpowers and some other related plugins for Claude Code.

Antigravity

Install Superpowers as a plugin from this repository:

agy plugin install https://github.com/obra/superpowers

Antigravity runs the plugin's session-start hook, so Superpowers is active from the first message. Reinstall with the same command to update.

Codex App

Superpowers is available via the official Codex plugin marketplace.

Codex CLI

Superpowers is available via the official Codex plugin marketplace.

Cursor

Devin CLI

Factory Droid

Gemini CLI

GitHub Copilot CLI

Grok Build CLI

Superpowers is available via the official Grok plugin marketplace.

Kimi Code

Superpowers is available in Kimi Code's plugin marketplace.

OpenCode

OpenCode uses its own plugin install; install Superpowers separately even if you already use it in another harness.

Pi

Install Superpowers as a Pi package from this repository:

pi install git:github.com/obra/superpowers

For local development, run Pi with this checkout loaded as a temporary package:

pi -e /path/to/superpowers

The Pi package loads the Superpowers skills and a small extension that injects the using-superpowers bootstrap at session startup and again after compaction. Pi has native skills, so no compatibility Skill tool is required. Subagent and task-list tools remain optional Pi companion packages.

Hermes Agent

Install Superpowers as a Hermes plugin from this repository:

hermes plugins install obra/superpowers --enable

Restart any active Hermes sessions after installing. Note: Hermes has no post-compaction hook, so a very long session that compacts over its first turn loses the bootstrap — start a fresh session if skills stop triggering.

The Basic Workflow

  1. brainstorming - Activates before writing code. Refines rough ideas through questions, explores alternatives, presents design in sections for validation. Saves design document.

  2. using-git-worktrees - Activates after design approval. Creates isolated workspace on new branch, runs project setup, verifies clean test baseline.

  3. writing-plans - Activates with approved design. Breaks work into bite-sized tasks (2-5 minutes each). Every task has exact file paths, complete code, verification steps.

  4. subagent-driven-development or executing-plans - Activates with plan. Dispatches fresh subagent per task with two-stage review (spec compliance, then code quality), or executes in batches with human checkpoints.

  5. test-driven-development - Activates during implementation. Enforces RED-GREEN-REFACTOR: write failing test, watch it fail, write minimal code, watch it pass, commit. Deletes code written before tests.

  6. requesting-code-review - Activates between tasks. Reviews against plan, reports issues by severity. Critical issues block progress.

  7. finishing-a-development-branch - Activates when tasks complete. Verifies tests, presents options (merge/PR/keep/discard), cleans up worktree.

The agent checks for relevant skills before any task. Mandatory workflows, not suggestions.

Community

Superpowers is built by Jesse Vincent and the rest of the folks at Prime Radiant.

What's Inside

Skills Library

Testing

Debugging

Collaboration

Meta

Philosophy

Read the original release announcement.

Contributing

The general contribution process for Superpowers is below. Keep in mind that we don't generally accept contributions of new skills and that any updates to skills must work across all of the coding agents we support.

  1. Fork the repository
  2. Switch to the 'dev' branch
  3. Create a branch for your work
  4. Follow the writing-skills skill for creating and testing new and modified skills
  5. Submit a PR, being sure to fill in the pull request template.

Skill-behavior tests use the drill eval harness from superpowers-evals, cloned into evals/ — see evals/README.md for setup. Plugin-infrastructure tests live at tests/ and run via the relevant run-*.sh or npm test.

See skills/writing-skills/SKILL.md for the complete guide.

Updating

Superpowers updates are somewhat coding-agent dependent, but are often automatic.

License

MIT License - see LICENSE file for details

Visual companion telemetry

Because skills and plugins don't provide any feedback to creators, we have no idea how many of you are using Superpowers. By default, the Prime Radiant logo on brainstorming's optional visual companion feature is loaded from our website. It includes the version of Superpowers in use. It does not include any details about your project, prompt, or coding agent. We don't see your clicks or anything about what you're building. This helps us have a rough idea of how many folks are using Superpowers and which version of Superpowers they're using. It's 100% optional. To disable this, set the environment variable SUPERPOWERS_DISABLE_TELEMETRY to any true value. Superpowers also honors Claude Code's DISABLE_TELEMETRY and CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC opt-outs.

superpowers (obra/superpowers)

Searching Database…

这是什么东西?Superpowers 是一套面向编程智能体的软件开发方法论:由可组合的技能(skills)加上引导指令组成,能让你的智能体走上有纪律的开发流程,而不是随手写代码。
那它不是一个独立的软件吧——它是怎么出现在我的智能体里的?它就运行在你已经在用的编程智能体里:只需以插件形式安装一次,之后在你的每次会话中相关技能都会自动触发。
把它装进 Claude Code 需要做些什么?从 Anthropic 官方的 Claude Code 插件市场(或项目自带的市场)安装插件即可;每种工具有各自的安装说明,而且你用的每个智能体都需要分别安装一次。
它能配合我在用的编程智能体吗?很可能可以:它支持 Claude Code、Antigravity、Codex App 和 CLI、Cursor、Devin CLI、Factory Droid、Gemini CLI、GitHub Copilot CLI、Grok Build CLI、Kimi Code、OpenCode、Pi 以及 Hermes Agent。
装上之后它会管得多严?非常严:各种工作流是强制执行的,不是建议——TDD 按“先写失败测试、再写实现、最后重构”的红绿重构流程强制要求,先写代码后补测试的话代码会被删掉。
安装它会把什么东西发回给作者吗?只有一个可选功能会:头脑风暴的可视化伴侣会从他们的网站加载一个标志图片,其中只带有版本号——不包含提示词或项目细节——而且可以通过环境变量关闭这一功能。
它日常工作流程是什么样的?它会和你一起头脑风暴设计方案,建一个隔离的 git worktree,把工作拆成 2-5 分钟的小任务,每个任务派一个全新的子智能体执行并经过两阶段审查,最后提供合并、发 PR 或清理等选项。
除了这套工作流,它还附带哪些技能?包括四阶段的系统化调试流程、完工前验证、并行派发智能体、代码审查清单,以及用于编写你自己技能的 writing-skills。
我批准方案之后,它还会不断来找我确认吗?不一定——它可以自主连续干上几个小时而不偏离方案;另外还有一种带人工检查点的批量模式。
我能教它我自己写的技能吗?可以——自带的 writing-skills 技能涵盖了编写和测试技能的方法,不过上游很少合并新技能,因为每个技能都必须在所有受支持的智能体上都能用,所以自定义技能通常只留在本地使用。
Creator
obra
Size
7.5 MB
Stars
301.8K
Age
1y
Commits · 90 Days