Measured · #002 · 6 December 2026 · Agent plugins
Does Superpowers make a coding agent write better code?
Superpowers is one of the most starred plugins for Claude Code and other coding agents. It loads a set of “mandatory workflows”: brainstorm, plan, then “true red/green TDD”. I gave an agent 6 real Kotlin, Android and backend tasks, with Superpowers, without it, and with one line about tests, and graded the code with hidden tests the agent never saw.
+33% billed output tokens with Superpowers, and not one more hidden test passed. Every condition passed 148 of 148.
The short answer
- No gain in correctness. Without any instruction, the agent already passed every hidden test on all 6 tasks, including a cron edge case and a token refresh race. Superpowers couldn't improve on 100%.
- It changed the process, and you pay for that. With Superpowers the agent wrote 43% more of its own tests and ran Gradle 58% more often. That cost 33% more billed output, 30% more input and 18% more time.
- One line got most of the same process. “Write a failing test first, then the code. Run all tests before you say you're done.” led to about as many tests and Gradle runs, for slightly less money. The plugin's extra skills (brainstorming, plans, verification) were never opened.
The setup
Four conditions, the same 6 tasks, 2 runs each: 48 agent runs.
- None: the task only.
- TDD line: the task plus one project rule:
Write a failing test first, then the code. Run all tests before you say you're done. - Superpowers: the task plus the exact text the plugin's session-start hook adds (the
using-superpowersskill, about 6.7 KB). The agent could open any other skill file, as the plugin would load it. - Superpowers, loaded: a best case. The task plus the hook text plus the two skills that matter most here, test-driven development and verification before completion, already in the prompt in full (about 20 KB).
Superpowers from commit 22f0b46 (3 November 2026). The tasks are real work, each in a small Gradle project the agent edits and tests itself:
| Task | What it asks | Hidden tests |
|---|---|---|
| T1 | Compare two version strings by the SemVer 2.0.0 rules | 14 |
| T2 | Split a bill in cents by weight, so the parts add up exactly | 14 |
| T3 | Fix a CSV parser bug with quotes inside quoted fields | 12 |
| T4 | Write a coroutine retry helper that must not swallow cancellation | 13 |
| T5 | Find a cron expression's next run, including the day-of-month OR day-of-week rule | 14 |
| T6 | Fix the Android “random logout”: parallel requests refresh the auth token twice | 7 |
Each run was a fresh Claude Code subagent on Sonnet 5.5, with thinking on, told that the developer had stepped away: no questions, finish the task. Afterwards I copied its src/main code into a clean project with the hidden tests and ran them. Token counts come from the usage the API reported for each run.
Results
| Condition | Hidden tests passed | Billed output tokens | Input tokens | Time | Gradle runs | Own tests written |
|---|---|---|---|---|---|---|
| None | 148 of 148 | 42,033 | 3.98 M | 15.7 min | 26 | 92 |
| TDD line | 148 of 148 | 53,727 (+28%) | 5.11 M (+29%) | 19.7 min (+26%) | 43 | 119 |
| Superpowers | 148 of 148 | 56,025 (+33%) | 5.16 M (+30%) | 18.5 min (+18%) | 41 | 132 |
| Superpowers, loaded | 148 of 148 | 61,418 (+46%) | 5.91 M (+49%) | 20.2 min (+28%) | 46 | 157 |
Per task, billed output tokens for both runs together:
| Task | None | TDD line | Superpowers | Loaded |
|---|---|---|---|---|
| T1 SemVer | 7,129 | 8,259 | 10,454 | 10,505 |
| T2 bill split | 5,305 | 7,838 | 9,151 | 7,806 |
| T3 CSV bug | 3,800 | 4,159 | 4,519 | 4,496 |
| T4 retry | 6,929 | 7,428 | 8,927 | 11,255 |
| T5 cron | 9,366 | 13,407 | 13,072 | 15,852 |
| T6 token race | 9,504 | 12,636 | 9,902 | 11,504 |
No instruction was the cheapest on all 6 tasks. Superpowers cost more than the TDD line on 4 of 6. Most pairs of runs of the same task and condition were within 1.3 times of each other; the widest gap was 1.8 times, so read the totals, not single cells.
Where the extra tokens went
Not into better code: the code was already right. They went into process:
- More tests of its own. 92 tests with no instruction, 132 with Superpowers, 157 with the skills fully loaded. The cron task went from 17 tests to 38 to 47.
- More build runs. Gradle ran 26 times with no instruction and 41 times with Superpowers. Every run adds its output to the context, which is why input grew by a third too.
- A longer prompt. The hook text is about 6.7 KB, read again on every turn of the agent loop.
The one-line TDD rule caused almost the same change: 119 own tests and 43 Gradle runs. Most of what Superpowers did here, a plain sentence did too.
What the agent actually did with the skills
- It opened the TDD skill in 9 of 12 runs, and in 7 of those only the first 40 to 120 lines of its 330, through
cat … | head. In 3 runs it opened nothing; two said the task was small enough to skip it. - No run opened any other skill. Not brainstorming, not writing plans, not verification before completion, although the hook says to use a skill if there is “even a 1% chance” it applies.
- “Red” was usually a compile error. Many runs reported writing tests first and watching them fail. In Kotlin, a test for a function that doesn't exist yet fails to compile. The TDD skill says a proper red is a test that “fails (not errors)”. One run said it plainly: “The first run failed to compile because
nextRundidn't exist, which is the only ‘red’ I watched.”
What to do
- If you want an agent to test its own work, start with one line in
CLAUDE.md. In this test it gave nearly the same number of tests and build runs as Superpowers, for less. - Don't expect a process plugin to fix code a good model already gets right. On well-specified tasks, the cheapest condition was also fully correct.
- Superpowers is built for something larger. Its strength, by its own description, is a long session with a human: brainstorm a spec, sign off on a plan, then hours of subagent work. That needs a different test (see below), and this one doesn't settle it.
Limits
- The ceiling. Every condition passed every test, so this test can't show a quality gain, only its cost. Harder or vaguer tasks might.
- No human in the loop. The developer was “away”, so brainstorming and plan sign-off, the start of the Superpowers workflow, never happened.
- Not a real install. The hook text went into the prompt, and skills were files to read, not the
Skilltool. I removed the hook's<SUBAGENT-STOP>block, which tells subagents to skip the skills, because every run here was a subagent. - One model, Sonnet 5.5, 2 runs per task and condition, small single-file tasks.
- Own-test counts are the
@Testfunctions the agent left in the project; time is wall time and depends on server load.
Check it yourself
- results.json: every run with its tokens, time, Gradle runs, own tests, skills opened and its final summary.
- The prompts (named
task-condition-run.txt, paths replaced by<workspace>) and each run's code and summary indata/answers. - grade.sh runs the hidden tests against any run's code. You need JDK 21 and Gradle:
./grade.sh T6 answers/T6-sp-r1/src/main/kotlin. Starting projects for T3 and T6 are in data/start. - The kit to rerun this on your own tasks or another tool: prompt builder, transcript analyzer and aggregator.
- Superpowers is © 2025 Jesse Vincent, used under the MIT License. This test is independent and not endorsed by the project.
- To cite: Pachulski, M. (2026). Does Superpowers make a coding agent write better code? pachulski.dev/measured/002-superpowers/