diagnosing-superpowers
Use when a Superpowers session in Codex or Devin Desktop went wrong and the human wants an evidence-backed account of repeated work, ignored plans, stumbles, poor results, cost, or skill routing.
- License 许可
- MIT
- 最近更新
- 2026-10-08
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- diagnosing-superpowers
- license
- MIT
- metadata
- { "owner": "Harley Bartles", "status": "active", "use_when": [ "a Codex or Devin Desktop Superpowers session needs evidence-backed analysis.", "the human requests a scrubbed diagnostic bundle or issue draft after analysis." ], "source-id": "diagnosing-superpowers", "source-path": "skills/diagnosing-superpowers/SKILL.md", "related_skills": [ "context-safety", "selecting-a-subagent", "dispatching-parallel-agents", "using-github-mcp", "connector-safety" ], "do_not_use_when": [ "the goal is to diagnose or change Superpowers rather than report session evidence.", "the session is from an unsupported harness." ], "provenance-name": "Diagnosing Superpowers first-party skill", "source-category": "first_party" }
- description
- Use when a Superpowers session in Codex or Devin Desktop went wrong and the human wants an evidence-backed account of repeated work, ignored plans, stumbles, poor results, cost, or skill routing.
02 资源文件 20
- 参考文档agents/openai.yaml469 B
- 参考文档prompts/analyst-common.md1.5 KB
- 参考文档prompts/cost-and-time.md1.6 KB
- 参考文档prompts/plan-adherence.md1.6 KB
- 参考文档prompts/quality-evidence.md1.4 KB
- 参考文档prompts/repeated-work.md1.9 KB
- 参考文档prompts/request-conflicts.md977 B
- 参考文档prompts/scrub-audit.md1.3 KB
- 参考文档prompts/scrub.md1.4 KB
- 参考文档prompts/similar-session.md1.7 KB
- 参考文档prompts/skill-timeline.md1.6 KB
- 参考文档prompts/stumbles.md1.3 KB
- 参考文档references/context-safety.md977 B
- 参考文档references/github-issues.md1.6 KB
- 参考文档references/redaction-policy.md3.2 KB
- 参考文档references/session-discovery.md2.3 KB
- 参考文档templates/bundle-README.md3.8 KB
- 参考文档templates/case.md3.3 KB
- 参考文档templates/issue.md2.6 KB
- 参考文档templates/report.md2.4 KB
03 SKILL.md 正文
Provenance
This marketplace-maintained derivative is based on obra/superpowers v6.4.1 commit 5bf4e78011075bcfc0dc295f0724994cd123ee71 under the MIT License. Upstream source is not vendored; this directory contains the maintained Superpowers+ implementation.
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.
- 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.
- 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 a repository-segregated off-repo diagnostic workspace through the host or repository scratch policy, tell your partner the path, and filltemplates/case.mdthere, following its provenance rules for environment and skill observations. - Triage. Read the region around the reported problem yourself. Then use
selecting-a-subagentanddispatching-parallel-agentswhen delegation is authorized, dispatching one analyst subagent per dimension in parallel, each given the case file path,prompts/analyst-common.md, and one dimension file fromprompts/: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. Dispatch routing does not itself authorize delegation. When runtime or task policy forbids fan-out, use a clearly disclosed sequential/self-analysis fallback that applies the same seven prompts. Do not claim the analysts ran when they did not. Discard any returned finding withoutpath:line. - Report. Fill every section of
templates/report.mdin 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. - GitHub issues — when report §7 says possible or likely, or your partner asks. Route GitHub inspection through
using-github-mcpand any mutation throughconnector-safety. Search open and closed issues for the symptoms perreferences/github-issues.md. Show matches and suggest adding the report to the closest. If none match, filltemplates/issue.md, write it to the workspace, show the exact text, and create the issue only after approval.ghcannot attach files; if a bundle exists, give your partner its path to attach in the browser. - Export — route sensitive filesystem or archive side effects through
connector-safety. Only proceed 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 pertemplates/bundle-README.md, dispatchprompts/scrub.md, thenprompts/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 -rortar -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. - Similar sessions — when asked. Turn confirmed findings into a signature, list candidates by mtime and size, find marker line numbers, and apply
prompts/similar-session.mdper candidate. When delegation is authorized, dispatch candidates in parallel through the existing routing owners; otherwise use the same disclosed sequential/self-analysis fallback and do not claim candidate analysts ran. Append report §9.
Quick reference
All seven analytical dimensions always run, whether through authorized analyst subagents or the disclosed sequential/self-analysis fallback. 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. Invoke
context-safetyand followreferences/context-safety.mdon 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.
- 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. |
04 同仓库更多 Skills
writing
Use when drafting, revising, or reviewing prose for human readers and clarity, an authorised voice, or reader-fatigue concerns may interact.
writing-with-clarity
Use when drafting, revising, or reviewing prose intended for human readers, including documentation, README files, reports, explanations, UI copy, errors, comments, commit messages, and pull request text.
writing-style
Use when revising or reviewing human-facing prose against an authorised voice card or a contextual reader-fatigue profile.
skill
暂无简介
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment.
writing-roadmaps
Use when a goal is too large for one writing-plans plan and requires a sequenced roadmap of consecutive plans.