Diagnosing Superpowers

Diagnosing Superpowers

Investigates a past or current agent session from its transcripts, citing evidence for repeated work, stumbles and costs, and can build a redacted bug report.

Skill files20 files

prompts/

references/

templates/

SKILL.md121 lines
1
---
2
name: diagnosing-superpowers
3
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.
4
---
5
6
# Diagnosing Superpowers
7
8
## Overview
9
10
Pin down with your human partner what went wrong in a session, read the
11
transcripts on disk, and report what happened with evidence. You report;
12
you do not diagnose superpowers. Whoever triages the bundle or the issue
13
decides whether superpowers changes.
14
15
**Core principle:** Every finding cites `path:line`. No citation, no
16
finding. Every number comes from the transcript or from a command you ran,
17
never from memory.
18
19
## Workflow
20
21
Create a todo per step. Steps 5–7 run only on their stated condition.
22
23
1. **Problem intake.** Ask one question at a time until you can write a
24
statement naming the session(s), the turn range if known, what your
25
partner expected, what happened, and the observable they care about
26
(wall-clock, tokens, repeated actions, one specific action). "It took
27
too long" is a complaint, not a problem statement. Note whether the
28
goal is a superpowers bug report.
29
2. **Locate.** Resolve each session to verified absolute filesystem paths using
30
`references/session-discovery.md`. Confirm a past session by quoting its
31
first prompt and timestamp, and list every candidate you rejected with the
32
reason, or "none". Enumerate subagent transcripts. Create
33
`~/.superpowers/diagnosing-superpowers/<session-id>/`, tell your
34
partner the path, and fill `templates/case.md` there, following its
35
provenance rules for environment and skill observations.
36
3. **Triage.** Read the region around the reported problem yourself. Then
37
dispatch one analyst subagent per dimension in parallel, each given the
38
case file path, `prompts/analyst-common.md`, and one dimension file from
39
`prompts/`: `skill-timeline.md`,
40
`plan-adherence.md`, `repeated-work.md`, `stumbles.md`,
41
`quality-evidence.md`, `request-conflicts.md`, `cost-and-time.md`.
42
Split a dimension by turn range when the transcript is long. Discard
43
any returned finding without `path:line`.
44
4. **Report.** Fill every section of `templates/report.md` in order, write
45
it to the workspace, show it, and give the path. Check what cited content
46
actually proves and preserve the supporting case; a symlink alias is not a
47
redundant copy.
48
5. **GitHub issues** — when report §7 says possible or likely, or your
49
partner asks. Search open and closed issues for the symptoms per
50
`references/github-issues.md`. Show matches and suggest adding the
51
report to the closest. If none match, fill `templates/issue.md`, write
52
it to the workspace, show the exact text, and create the issue only
53
after approval. `gh` cannot attach files; if a bundle exists, give
54
your partner its path to attach in the browser.
55
6. **Export** — only when your partner asks for a bundle; never build one
56
unprompted. If the intake goal was a bug report, say once that a
57
scrubbed bundle is available on request, then wait. Ask the redaction
58
level, stating what each includes: skeleton (no tool-result bodies),
59
evidence (bodies only for cited events), full. Build the bundle per
60
`templates/bundle-README.md`, dispatch `prompts/scrub.md`, then
61
`prompts/scrub-audit.md`, repeating both until the audit returns CLEAN.
62
Complete the bundle template's evidence check and reconciliation before
63
showing the final scrub log, file list, and privacy and evidence outcomes.
64
Archive (`zip -r` or `tar -czf`) only after approval. With the archive
65
path, state what it contains, point at the scrub log for replacements, and
66
say scrubbing can miss things: they must review every file before sharing.
67
7. **Similar sessions** — when asked. Turn confirmed findings into a
68
signature, list candidates by mtime and size, find marker line numbers,
69
dispatch `prompts/similar-session.md` per candidate in parallel, and
70
append report §9.
71
72
## Quick reference
73
74
All seven analysts always run. This table says which region to read
75
yourself in step 3 and which findings to lead with in the verdict.
76
77
| Complaint | Read first, lead with |
78
|---|---|
79
| "It took too long" | cost-and-time, stumbles |
80
| "Why did it do this extra work?" | repeated-work, plan-adherence |
81
| "Why is it so expensive?" | cost-and-time |
82
| "What the hell is it doing?" (still running) | skill-timeline; note in-progress in coverage |
83
| "It ignored the plan" | plan-adherence, compaction lines first |
84
| "Skill X never fired" | skill-timeline |
85
86
## Hard rules
87
88
- **Context safety.** One transcript line can be a megabyte. Follow
89
`references/context-safety.md` on every session file, every time.
90
- **Read-only.** Never modify, move, or delete a session file.
91
- **Exact paths to subagents.** A subagent's "current session" is its
92
own. Pass absolute paths and ids.
93
- **Human prompts only.** Hook output, system reminders, and tool results
94
are not your partner's words. In a subagent transcript, "user" is the
95
parent agent.
96
- **No superpowers diagnosis.** Report §7 states involvement and stops.
97
Never name a defect in a skill or propose a change. Your partner
98
pressing for a fix does not waive this; point at the issue step and
99
mention that a bundle is available on request. No advice to your
100
partner either.
101
- **Approval gates.** No archive before your partner has seen the scrub
102
log and file list. No issue or comment before they approve the exact
103
text, and none with a placeholder summary.
104
- **Intake before analysis.** Nothing in steps 2–7 starts until your
105
partner has answered. If they are away, write the questions and stop.
106
A statement you reconstructed for them is not an answer. An
107
already-scoped request — one specific event, what is running now, or
108
the analysis to run — is itself the statement: answer it, then ask.
109
A whole-session "why" is a complaint.
110
111
## Red Flags
112
113
| Thought | Reality |
114
|---------|---------|
115
| "The problem is obvious, skip intake" | The problem statement scopes everything. Ask. |
116
| "They're away, so I'll reconstruct the statement" | You cannot reconstruct what they wanted. Write the questions and stop. |
117
| "I'll sweep everything now and ask at the end" | An unscoped sweep spends their budget on the wrong question. Ask first. |
118
| "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. |
119
| "Small, targeted edit, no restructuring needed" | Not your call, however small. Report the evidence; the triager decides. |
120
| "The price per token is well known" | Numbers you did not compute from the transcript are invented. Cite or drop. |
121

© Jesse Vincent · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 11,985 prompts

More by @OpenSourceBuffGuy

See all
Peeling Object With a Hidden Inner World prompt image

Peeling Object With a Hidden Inner World

Draws a single object frozen mid-peel in space, its curling skin revealing a detailed inner world, with slots for the object and what lives inside.

image-prompt, nano-banana, placeholders, 3d-render, surreal, still-life, macro, exploded-view, dramatic-lighting, soft-lighting, muted-colors, creativity, illustration, whimsical, concept-art, poster, negative-space

Gamer rages at 14 hours of GTA VI download prompt image

Gamer rages at 14 hours of GTA VI download

Generates a 22-second found-footage clip shot on an early-2000s camcorder of a gamer losing his temper over a 14-hour game download, with a reference screenshot on the TV.

video-prompt, home-video, handheld, single-take, vertical-format, vlog, reference-image, video-games, humorous, guardrails, negative-prompt, film-grain, cinematic, timed-beats, lip-sync, short-form-video, seedance, long-form, advanced, for-gamers, camera-movement, pov

Luxury Food Poster Template prompt image

Luxury Food Poster Template

Fills a luxury food advertisement poster template: a hero dessert or drink with floating ingredients, splash effects and styled lighting, with a cheat sheet of options.

image-prompt, gpt-image, template, placeholders, food-photography, poster, photorealistic, product-photography, advertising, luxury, cooking, vertical-format, studio-lighting, motion-blur, macro, vibrant-colors, cheat-sheet, for-marketers, for-photographers, ad-copy, text-rendering, chatgpt, cinematic, for-online-sellers

Reviews

Loading reviews…

Discussion

Loading comments…