Skip to main content
skill Claude Code CX Codex

diagnosing-superpowers — Claude Code skill: what it does

Investigates a failed Superpowers session through its transcripts and builds an evidence-based report. Use it when work repeats, plans are ignored, or a skill fails to fire.

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add obra/superpowers
/plugin install superpowers@superpowers-dev
Open on GitHub

What diagnosing-superpowers does

This skill helps explain what happened in a current or past Superpowers session. It first narrows the complaint, resolves verified transcript paths, reads the relevant region, and dispatches analysts for skill timing, plan adherence, repeated work, stumbles, quality evidence, request conflicts, and cost and time. Every finding must cite path:line.

The result is written as a report in the workspace. Session files stay read-only, and the skill does not diagnose Superpowers itself: it records observable evidence for whoever will triage the case. Exporting a bundle, looking for similar sessions, and searching GitHub issues happen only when requested and use approval gates.

Install it when you need to inspect a specific session or prepare evidence for the Superpowers maintainers. It is a poor fit for a general question with no transcript access.

What it helps with

  • trace repeated work to transcript evidence
  • check why an agent skipped the plan
  • compare a cost complaint with session events
  • find out why a skill never fired
  • assemble evidence for a bug report

Example prompts for the agent

  • Investigate the current session: the agent repeated work and ignored the plan.
  • Inspect the past session identified by `session-id` and cite every finding with `path:line`.
  • Prepare a report for the Superpowers maintainers about this failure.

How to install diagnosing-superpowers

1Plugin marketplace

/plugin marketplace add obra/superpowers
/plugin install superpowers@superpowers-dev

This installs the whole superpowers plugin with all its skills

2Skills CLI (Vercel)

npx skills add obra/superpowers --skill diagnosing-superpowers -a claude-code

3Manually: put the files in place

~/.claude/skills/diagnosing-superpowers/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/diagnosing-superpowers/

From the same set16

The whole set →
brainstorming Jesse Vincent This skill clarifies a task before implementation by asking questions, checking context, and comparing approaches. Use it for new features and other creative work. Claude Code CX Codex 404,045installs systematic-debugging Jesse Vincent Makes the agent investigate the cause of a failure before it suggests a patch. Use it for failing tests, build errors, and behaviour that does not match expectations. Claude Code CX Codex 306,118installs writing-plans Jesse Vincent This skill turns requirements for a multi-step task into an implementation plan before code changes begin. It helps when another engineer needs exact files, interfaces, and checks. Claude Code CX Codex 282,859installs using-superpowers Jesse Vincent Checks for relevant skills before an agent responds or takes action. Use it when you want a fixed workflow for handling tasks. Claude Code CX Codex 270,479installs requesting-code-review Jesse Vincent Sends completed work to a reviewer subagent after a task, major feature, or before merging to main. It keeps the review focused on the change and its requirements. Claude Code CX Codex 262,135installs test-driven-development Jesse Vincent This skill guides an agent through test-first development: verify a test fails, write the smallest passing change, then refactor. It covers features, bug fixes, and behavior changes. Claude Code CX Codex 259,292installs verification-before-completion Jesse Vincent This skill blocks completion claims until the agent runs a fresh check and reads the result. Use it before commits or PRs when an agent report is not enough. Claude Code CX Codex 251,313installs executing-plans Jesse Vincent Runs an implementation plan in the current session instead of assigning each task to a subagent. Use it for inline work with TDD, a decision ledger, and a final branch review. Claude Code CX Codex 242,988installs

Similar

shipping-and-launch addyosmani Walks your agent through a production launch: pre-launch checklist, monitoring, staged rollout and a rollback plan. Useful when a feature reaches real users. Claude Code CX Codex Cursor +1 57,800installs interview-me addyosmani Conducts a one-question-at-a-time interview to extract actual project intent before any code or specs. Useful when a task is underspecified. Claude Code CX Codex Cursor +1 56,700installs planning-with-files OthmanAdi Keeps task plans and progress in local Markdown files. Useful for agent tasks and research requiring five or more tool calls. Claude Code CX Codex Cursor +1 46,900installs cold-email coreyhaines31 A skill that drafts cold B2B emails and follow-ups, sets up sending on secondary domains, and keeps email and LinkedIn cadences in step. Claude Code CX Codex Cursor +1 127,200installs site-architecture coreyhaines31 Plans a site's page hierarchy, navigation, URL patterns and internal links. Useful before you build, or when visitors can't find their way around. Claude Code CX Codex Cursor +1 122,300installs gws-shared official googleworkspace This skill gives agents shared rules for gws CLI authentication, flags, and output formats. Use it when working with gws commands. Claude Code CX Codex Cursor +1 66,000installs find-skills vercel-labs Discovers and installs agent skills from skills.sh directly inside your coding assistant. Handy when you need domain-specific workflows for a project. Claude Code CX Codex Cursor +1 4,000,000installs grill-me Matt Pocock grill-me interviews you about a plan or design to expose gaps and sharpen decisions. Use it before implementation starts. Claude Code 1,424,476installs

Questions about diagnosing-superpowers

How do I install diagnosing-superpowers in Claude Code?

Add the marketplace with /plugin marketplace add obra/superpowers, then install the plugin using /plugin install superpowers@superpowers-dev. You can also add the skill with npx skills add obra/superpowers --skill diagnosing-superpowers -a claude-code.

What does diagnosing-superpowers do?

It reviews current or past session transcripts, investigates an observable problem, and writes a report backed by path:line citations. It does not diagnose Superpowers or propose a fix.

Can it create a session archive automatically?

No. Export starts only when requested. Before archiving, you must approve the redaction level, scrub log, and file list.

Source text

SKILL.md · MIT
---
name: diagnosing-superpowers
description: Use when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.
---

# Diagnosing Superpowers

## Overview

Pin down with your human partner what went wrong in a session, read the
transcripts on disk, and report what happened with evidence. You report;
you do not diagnose superpowers. Whoever triages the bundle or the issue
decides whether superpowers changes.

**Core principle:** Every finding cites `path:line`. No citation, no
finding. Every number comes from the transcript or from a command you ran,
never from memory.

## Workflow

Create a todo per step. Steps 5–7 run only on their stated condition.

1. **Problem intake.** Ask one question at a time until you can write a
   statement naming the session(s), the turn range if known, what your
   partner expected, what happened, and the observable they care about
   (wall-clock, tokens, repeated actions, one specific action). "It took
   too long" is a complaint, not a problem statement. Note whether the
   goal is a superpowers bug report.
2. **Locate.** Resolve each session to verified absolute filesystem paths using
   `references/session-discovery.md`. Confirm a past session by quoting its
   first prompt and timestamp, and list every candidate you rejected with the
   reason, or "none". Enumerate subagent transcripts. Create
   `~/.superpowers/diagnosing-superpowers/<session-id>/`, tell your
   partner the path, and fill `templates/case.md` there, following its
   provenance rules for environment and skill observations.
3. **Triage.** Read the region around the reported problem yourself. Then
   dispatch one analyst subagent per dimension in parallel, each given the
   case file path, `prompts/analyst-common.md`, and one dimension file from
   `prompts/`: `skill-timeline.md`,
   `plan-adherence.md`, `repeated-work.md`, `stumbles.md`,
   `quality-evidence.md`, `request-conflicts.md`, `cost-and-time.md`.
   Split a dimension by turn range when the transcript is long. Discard
   any returned finding without `path:line`.
4. **Report.** Fill every section of `templates/report.md` in order, write
   it to the workspace, show it, and give the path. Check what cited content
   actually proves and preserve the supporting case; a symlink alias is not a
   redundant copy.
5. **GitHub issues** — when report §7 says possible or likely, or your
   partner asks. Search open and closed issues for the symptoms per
   `references/github-issues.md`. Show matches and suggest adding the
   report to the closest. If none match, fill `templates/issue.md`, write
   it to the workspace, show the exact text, and create the issue only
   after approval. `gh` cannot attach files; if a bundle exists, give
   your partner its path to attach in the browser.
6. **Export** — only when your partner asks for a bundle; never build one
   unprompted. If the intake goal was a bug report, say once that a
   scrubbed bundle is available on request, then wait. Ask the redaction
   level, stating what each includes: skeleton (no tool-result bodies),
   evidence (bodies only for cited events), full. Build the bundle per
   `templates/bundle-README.md`, dispatch `prompts/scrub.md`, then
   `prompts/scrub-audit.md`, repeating both until the audit returns CLEAN.
   Complete the bundle template's evidence check and reconciliation before
   showing the final scrub log, file list, and privacy and evidence outcomes.
   Archive (`zip -r` or `tar -czf`) only after approval. With the archive
   path, state what it contains, point at the scrub log for replacements, and
   say scrubbing can miss things: they must review every file before sharing.
7. **Similar sessions** — when asked. Turn confirmed findings into a
   signature, list candidates by mtime and size, find marker line numbers,
   dispatch `prompts/similar-session.md` per candidate in parallel, and
   append report §9.

## Quick reference

All seven analysts always run. This table says which region to read
yourself in step 3 and which findings to lead with in the verdict.

| Complaint | Read first, lead with |
|---|---|
| "It took too long" | cost-and-time, stumbles |
| "Why did it do this extra work?" | repeated-work, plan-adherence |
| "Why is it so expensive?" | cost-and-time |
| "What the hell is it doing?" (still running) | skill-timeline; note in-progress in coverage |
| "It ignored the plan" | plan-adherence, compaction lines first |
| "Skill X never fired" | skill-timeline |

## Hard rules

- **Context safety.** One transcript line can be a megabyte. Follow
  `references/context-safety.md` on every session file, every time.
- **Read-only.** Never modify, move, or delete a session file.
- **Exact paths to subagents.** A subagent's "current session" is its
  own. Pass absolute paths and ids.
- **Human prompts only.** Hook output, system reminders, and tool results
  are not your partner's words. In a subagent transcript, "user" is the
  parent agent.
- **No superpowers diagnosis.** Report §7 states involvement and stops.
  Never name a defect in a skill or propose a change. Your partner
  pressing for a fix does not waive this; point at the issue step and
  mention that a bundle is available on request. No advice to your
  partner either.
- **Approval gates.** No archive before your partner has seen the scrub
  log and file list. No issue or comment before they approve the exact
  text, and none with a placeholder summary.
- **Intake before analysis.** Nothing in steps 2–7 starts until your
  partner has answered. If they are away, write the questions and stop.
  A statement you reconstructed for them is not an answer. An
  already-scoped request — one specific event, what is running now, or
  the analysis to run — is itself the statement: answer it, then ask.
  A whole-session "why" is a complaint.

## Red Flags

| Thought | Reality |
|---------|---------|
| "The problem is obvious, skip intake" | The problem statement scopes everything. Ask. |
| "They're away, so I'll reconstruct the statement" | You cannot reconstruct what they wanted. Write the questions and stop. |
| "I'll sweep everything now and ask at the end" | An unscoped sweep spends their budget on the wrong question. Ask first. |
| "They want a bug report, so I'll build the bundle now" | The bundle is their session data, packaged. Build it only when they ask for it. |
| "Small, targeted edit, no restructuring needed" | Not your call, however small. Report the evidence; the triager decides. |
| "The price per token is well known" | Numbers you did not compute from the transcript are invented. Cite or drop. |

© Jesse Vincent · MIT · obra/superpowers

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor