All skills
obra avatar

/diagnosing-superpowers

@5bf4e78 official
by Jesse Vincentobra/superpowers293k stars
26,244

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.

Use this Skill: https://skilld.dev/gh/obra/superpowers/diagnosing-superpowers

This session only. Nothing lands on disk.

promptsrepeated-work.md

≈368 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Read prompts/analyst-common.md first; it gives your role, inputs, context-safety rules, and the return format. This file adds the dimension.

Dimension: Repeated work

Find work the session did more than once.

  1. Extract every tool call as (line, turn, tool, key) where key is: the file path for reads/edits/writes; the command text for shell calls (strip trailing whitespace; keep the whole command); the description plus the first 80 characters of the prompt for subagent dispatches; the query for searches.

  2. Group by (tool, key) and report the groups at or over threshold:

    Category Threshold Exempt
    reads, searches 3
    edits 2
    shell commands 2 status checks and test runs (git status, ls, pwd, test runners)
    subagent dispatches 2 with the same description
  3. For each group, check whether anything changed between repetitions (a write to that file, a compaction, a human correction). Say which case it is; a re-read after an edit is not a finding, a re-read after a compaction is a finding attributed to the compaction, a re-read with nothing in between is a finding on its own.

  4. Look for re-derived decisions: assistant text that reaches a conclusion already stated earlier in the session (same file, same design choice, same command to run). Quote both places.

  5. One finding per group, with the first and last line numbers and the count.

Source: SKILL.md on GitHub

1 warning12d3 checks · Risk SAFE
  • Gen Agent Trust Hub12d

    The skill is a diagnostic tool for analyzing AI agent session transcripts. It follows security best practices by implementing robust context-safety measures to handle large logs, mandatory PII scrubbing for data privacy, and human-in-the-loop approval gates for all data export and external reporting actions. No malicious patterns, obfuscation, or unauthorized network operations were detected.

  • Socket12d

    No alerts

  • Snyk12d

    Risk: MEDIUM · 1 issue

Signed by skilld at 5bf4e78. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last week.

Activeupdated 2 weeks ago

README badge

README badge for obra/superpowers/diagnosing-superpowers