osrim/niksi / cli/testdata/benign-skills/superpowers/diagnosing-superpowers
diagnosing-superpowers
VerifiedUse 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.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 6.7 KB |
| prompts/analyst-common.md | markdown | 1.5 KB |
| prompts/cost-and-time.md | markdown | 1.6 KB |
| prompts/plan-adherence.md | markdown | 1.6 KB |
| prompts/quality-evidence.md | markdown | 1.4 KB |
| prompts/repeated-work.md | markdown | 1.4 KB |
| prompts/request-conflicts.md | markdown | 1011 B |
| prompts/scrub-audit.md | markdown | 1.3 KB |
| prompts/scrub.md | markdown | 1.4 KB |
| prompts/similar-session.md | markdown | 1.7 KB |
| prompts/skill-timeline.md | markdown | 1.6 KB |
| prompts/stumbles.md | markdown | 1.3 KB |
| references/context-safety.md | markdown | 990 B |
| references/github-issues.md | markdown | 1.6 KB |
| references/redaction-policy.md | markdown | 2.2 KB |
| references/session-discovery.md | markdown | 1.8 KB |
| templates/bundle-README.md | markdown | 3.6 KB |
| templates/case.md | markdown | 2.9 KB |
| templates/issue.md | markdown | 1.8 KB |
| templates/report.md | markdown | 2.3 KB |
references/context-safety.md
View on GitHub# Context safety for session transcripts
One transcript record can exceed a megabyte or embed a whole history. Printing
one whole record can overflow the context of the session doing the diagnosis.
Every reader of a session file, controller or subagent, follows these rules for
every file, every time.
1. **Measure before reading.**
```bash
wc -lc "$F"
awk '{ if (length($0) > 100000) print NR, length($0) }' "$F" # long lines
```
2. **Never `cat` or `grep` for content.** Get line numbers and counts
first (`grep -n … | cut -d: -f1`, `jq -r '.type' | sort | uniq -c`),
then small fields from specific lines (`sed -n Np | jq -c '{…}'` or
`| cut -c1-500`). Use the field-extraction commands established during
discovery for the source in front of you.
3. **Narrow anything over 500 characters.** If a command returns more than
500 characters for one record, tighten the field or the slice.
4. **Read-only.** Never modify, move, or delete a session file.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse 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. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |