meta-retro
Skill2 starsChanged 15 days agoMITView on GitHub
Retro on Claude Code sessions, one or many, what went wrong and where, every finding cited to the transcript and pointed at the kit rule or skill involved
In this repository81 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- templates/CLAUDE.mdCLAUDE.md
- add-languageSkill
- audit-a11ySkill
- audit-archSkill
- audit-ciSkill
- audit-debtSkill
- audit-doc-driftSkill
- audit-flagsSkill
- audit-infraSkill
- audit-perfSkill
- audit-readinessSkill
- audit-securitySkill
- audit-slopSkill
- audit-testsSkill
- audit-tokensSkill
- audit-verifySkill
- backup-patternsSkill
- bash-patternsSkill
- claude-code-mods-patternsSkill
- code-challengeSkill
- code-contractSkill
- code-deep-reviewSkill
- code-evaluateSkill
- code-from-designSkill
- code-historySkill
- code-host-patternsSkill
- code-impactSkill
- code-migrateSkill
- code-tourSkill
- code-visualSkill
- depsSkill
- django-patternsSkill
- docker-patternsSkill
- drf-patternsSkill
- engineering-fundamentalsSkill
- fastapi-patternsSkill
- git-patternsSkill
- go-patternsSkill
- graphql-patternsSkill
- investigateSkill
- javascript-patternsSkill
- kit-rulesSkill
- logging-patternsSkill
- meta-conventionsSkill
- meta-promptSkill
- meta-refreshSkill
- meta-skillSkill
- monitoring-patternsSkill
- next-app-router-patternsSkill
- nuxt-patternsSkill
- opentofu-patternsSkill
- pr-descriptionSkill
- pr-publishSkill
- pr-queueSkill
- pr-replySkill
- pr-reviewSkill
- python-patternsSkill
- react-patternsSkill
- report-formatSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
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 28
Every project's sessions over the last N days.
- Distinctive: line 51
Read-only. A transcript or log is never edited, moved, or deleted.
- Distinctive: line 53
No fix and no advice on changing the kit.
- Distinctive: line 54
Only what the user typed is the user's words.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
/meta-retro
Find out with the user what went wrong in a Claude Code session, or across many, read the transcripts and the kit's logs, and report what happened with evidence. It reports and points at the kit rule or skill involved; it never changes the kit or proposes the fix.
Loading this skill isn't enough. Before the step a row names, read its file.
| Before | Read |
| Step 2, finding and reading the transcripts | reference/sessions.md |
| Step 3, briefing the analysts | reference/dimensions.md |
Procedure
- Scope. From the arguments, else ask with AskUserQuestion, this session first:
- This session.
- A past session, by id or path, or picked from a list of this project's recent sessions with each one's date and first prompt.
- This project's sessions over the last N days.
- Every project's sessions over the last N days.
- Sessions similar to a finding, after one is confirmed (step 6).
- Intake. Ask with AskUserQuestion, one question at a time, until a problem statement names the sessions, the turns if known, what the user expected, what happened, and what they care about (time, tokens, a repeated action, one specific action). "It took too long" is a complaint, not a statement. An already-scoped question, about one event or one turn, is its own statement. Over a window, "what keeps going wrong" is a statement. Nothing else starts before the user answers.
- Locate per reference/sessions.md. One session: its transcript, its subagents' transcripts, and its lines in the kit's logs, confirmed by quoting its first prompt and timestamp, every rejected candidate named. A window: rank its sessions per the reference's Windows section, show the ranking, and ask which to read in depth, the worst three preselected. Write the case file, with the statement, the paths, line and byte counts, and the record meanings found, to the report's sibling folder.
- Read the region around the reported problem yourself. Then dispatch one analyst per dimension in reference/dimensions.md, in parallel, each a general-purpose agent with model
sonnet, given the case file's absolute path, the context-safety rules, and its dimension's brief. Several sessions or a long transcript get split, one analyst per dimension per session or turn range. A finding returned withoutpath:lineis dropped. - Point each kept finding at the kit's owner for it: the kit-rules reference section, the skill, or the hook rule (by name, from
guards.jsonl) that governs the behavior. Nothing in the kit governs it, say so. - Similar sessions, when the scope asked for them or the user does after the report. Turn a confirmed finding into a signature per the reference's Similar section, find the candidate sessions, and dispatch one analyst per candidate to confirm or reject the match. The matches go in their own section.
Report
Load the report-format skill and use its format, written to the path kit scratch-dir session <session-id-prefix, or the window like 14d> prints, with these narrowings:
- The TL;DR's first bullet is the verdict on the problem statement, with its confidence (high, medium, low) and what would raise it.
- A Timeline table, one row per prompt the user typed, with its line, time, a one-line request, and the events in that turn (skills, subagents, compactions, guard blocks, errors). Over a window, a Sessions table instead, one row per session with its date, first prompt, rank, and whether it was read in depth.
- Over a window, a Patterns section first: each finding that recurs across sessions, with its count and the sessions it came from.
- One section per dimension, each finding as a sentence, its
path:lineand a quote of at most 200 characters, its turns, its confidence, and its kit owner. A dimension with nothing found says what it checked.
Reply
The report path and the verdict line.
Stop
- Read-only. A transcript or log is never edited, moved, or deleted.
- Transcripts hold the user's private data. The report stays in scratch, and nothing is posted or exported.
- No fix and no advice on changing the kit. Findings name the owner, and the user decides.
- Only what the user typed is the user's words. Hook output, system reminders, and tool results aren't, and in a subagent's transcript "user" is the parent agent.
Arguments: $ARGUMENTS
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.

