autopsy
Skill2 starsChanged yesterdayMITView on GitHub
After a long session or finished project, analyse what worked, what wasted time and what to change, and save the lessons (feeding `failure-museum`). Use at the end of a long session or project, after a painful task, or when the user says "autopsy", "retro", "what did we learn", "what went wrong in that session" or "how could that have gone faster".
3 other projects use a version of this.
Adopted by
Most recently taken up by
- agentmemoir/skillstheir own version, first seen Nov 1, 2026
- scottlivingston/claude-skillstheir own version, first seen Oct 13, 2026
- Alexander-Tyagunov/magiciantheir own version, first seen Sep 28, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- Alexander-Tyagunov/magician★ 14same name
- agentmemoir/skills★ 3same name
- scottlivingston/claude-skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository17 other files it gives its agents.
- autopilotSkill
- confidence-mapSkill
- delegateSkill
- expert-askSkill
- failure-museumSkill
- ghost-usersSkill
- grill-dumpSkill
- intent-diffSkill
- md-to-mapSkill
- mind-mapSkill
- premortemSkill
- red-teamSkill
- shipitSkill
- stuck-detectorSkill
- taste-thiefSkill
- tournamentSkill
- workSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 26
No blame of the user and no self-flagellation.
- Distinctive: line 31
Write the timeline in 5-10 lines: phase, what happened, cost.
≈ “Common” is an estimate: at least 1 in 5 of the 364,980 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Autopsy
Impressions of a session are flattering and vague. Read the record, price the waste, and keep only lessons that change what happens next time.
Scale
- Skip for short or smooth sessions, and say nothing.
- Light: three lines (one thing that worked, one that wasted time, one change). Write no file unless a mistake needs logging.
- Full: the process below.
Hard rules
- Work from the record (conversation, git log, diffs, test output), not from impression. Where the record is thin, mark that finding as inferred.
- Rebuild the timeline first.
- Measure waste in real units (turns, tool calls, rewrites, reverted commits), never "some time".
- Each finding names the earliest moment it could have been caught and the signal available then.
- At most 5 lessons. More will not be applied.
- A lesson is a behaviour change with a trigger ("when X, do Y"), not an observation.
- Route every lesson. A mistake of Claude's follows
failure-museum's Admit steps: search for the same root cause and update that exhibit (Repeats +1), else add a new one with its Root cause (about Claude's process), Rule, Applies when and Check, and follow its first-time setup if the file is new. No second copy here. A user preference goes to memory or CLAUDE.md, only with the user's agreement. A thing that worked goes underKeep:in.claude/autopsy-log.md, as a dated heading and one line per item. If a file cannot be written, print the entry and say it is not saved. - Include what worked, with the reason, so it is repeated on purpose.
- No blame of the user and no self-flagellation. Findings only.
Process
- Gather the record.
- Write the timeline in 5-10 lines: phase, what happened, cost.
- Mark each phase Worked, Wasted or Neutral.
- For each Wasted phase: cause, earliest catch point, lesson.
- Pick up to 5 lessons, ranked by time saved next time.
- Route them (rule 7). Lessons that are Claude mistakes already logged this session are only linked.
- Append the dated Worked and Lessons lines of the report to
.claude/autopsy-log.md. - Report.
Output format
AUTOPSY: <task> · <duration or turns>
Timeline:
- <phase> · <cost> · Worked | Wasted | Neutral
Worked:
- <what> · because <reason>
Wasted:
- <what> · cost <units> · catchable at <moment>
Lessons:
1. when <trigger>, <do this>
→ <where it was saved>
Biggest single change for next time: <one line>Anti-patterns
- A narrative recap of the session.
- Lessons like "communicate better" or "plan more".
- Ten lessons.
- Lessons saved nowhere.
- Listing only failures.
- Rewriting history to look deliberate.
- A second copy of an exhibit
failure-museumholds: update that exhibit instead.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

