diagnosing-superpowers

diagnosing-superpowers is a skill for Claude Code from obra/superpowers. It costs 92 tokens per session (1,642 once invoked), scanned A, original, MIT.

A troubleshooting procedure for investigating a failed Superpowers assistant session using its saved transcripts. It gathers evidence about repeated work, ignored plans, poor results, missing skills, time, cost, or other reported problems.

In plain words
What is it for?
Use it to investigate a session, locate the relevant transcripts, review assistant-worker activity, and prepare an evidence-based bug report for the Superpowers maintainers.
Why use it?
It replaces guesses about what went wrong with findings tied to transcript files and line locations. It also helps turn a vague complaint into a specific, checkable problem statement.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Part of the superpowers plugin — 15 skills, 1 hook shipped together

Good fit Use it to investigate a session, locate the relevant transcripts, review assistant-worker activity, and prepare an evidence-based bug report for the Superpowers maintainers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/obra/superpowers/diagnosing-superpowers
About the project

Superpowers is a software development methodology for coding agents that guides work from clarifying requirements through design, planning, implementation, testing, and review. It is for developers who want agents to follow a structured, test-focused process using composable skills and subagents.

obra/superpowers · 329,892 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add obra/superpowers --skill diagnosing-superpowers
Clone the repo
git clone --depth 1 https://github.com/obra/superpowers

Made for: Claude Code.

Or install superpowers, the plugin that ships this one along with the rest of its 15 skills, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for diagnosing-superpowers

README.md
[![agentmods](https://agentmods.dev/badge/skills/obra/superpowers/diagnosing-superpowers/github.svg)](https://agentmods.dev/skills/obra/superpowers/diagnosing-superpowers)
Your own site
<a href="https://agentmods.dev/skills/obra/superpowers/diagnosing-superpowers"><img src="https://agentmods.dev/badge/skills/obra/superpowers/diagnosing-superpowers/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for diagnosing-superpowers

Your own site · 80×15
<a href="https://agentmods.dev/skills/obra/superpowers/diagnosing-superpowers"><img src="https://agentmods.dev/badge/skills/obra/superpowers/diagnosing-superpowers.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,642 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 20 Oct 2026
  • Snyk warn 20 Oct 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00092 $0.01642
Opus 5.5 $0.00037 $0.00657
Sonnet 5.5 $0.00018 $0.00328
Haiku 4.5 $0.00009 $0.00164

Measured 1mo ago against content hash 3143de8695c5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

diagnosing-superpowers scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

4 near-identical copies found in the catalogue:

skills/diagnosing-superpowers/SKILL.md · 121 lines

How it starts

The opening of the file, as written. The whole thing — 121 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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.

Read the full file on GitHub · 121 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed 3143de8695c5
  2. 2mo ago First seen · 121 lines · 92 tokens per session scan A 5a652f8132cc

Subscribe to this mod's changes

diagnosing-superpowers is a skill published in the GitHub repository obra/superpowers (329,892 stars, last pushed 2d ago), licensed MIT. It adds 92 tokens to every session and 1,642 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-20.

Related

diagnosing-superpowers compared with skills from other repositories

diagnosing-superpowers next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
diagnosing-superpowersobra/superpowersSkill330k2d agoMITA92Claude Code
debugsentimony/skillsSkill8todayMITA34Claude Code
agent-browser-debugsentimony/skillsSkill8todayMITA62Claude Code
coding-protocollencx/skillsSkill3063mo agoMITA54Claude Code
fix-errorssutchan/Agent-Skills-HubSkill36d agoMITA63Claude Code, Codex
lambchat-codingYanyutin753/LambChatSkill2272d agononeA17Claude Code, Codex
fix-sentry-issuessutchan/Agent-Skills-HubSkill36d agoMITA56Claude Code, Codex