retro
Skill32 starsChanged 17 days agoMITView on GitHub
Run a retro on one Claude Code session: read its transcript through a script that picks out the moments worth a finding (corrections, refusals, errors, retries, long searches, slow steps, stops for the user, blocks), turn them into one ranked list of setup changes, each with its evidence, what skipping it costs, a Checked or Hypothesis recommendation and where the change goes, and wait for the user's decision on each before giving the accepted ones a home: a config edit for the user, a ticket with a cross-repo-handoff prompt, or a person-owned task for a check only the user can run. Read-only until the user decides. Use when the user says \"retro on this session\", \"retro on <session name>\", \"what went wrong in that session\", \"lessons from this run\" or \"what should we change after that session\".
193 other projects use a version of this.
Adopted by
Most recently taken up by
- rodeyseijkens/skillstheir own version, first seen Nov 8, 2026
- Yesterday-AI/ytstacktheir own version, first seen Nov 8, 2026
- gaoyu06/harnesstheir own version, first seen Nov 8, 2026
- Schepetkov/claude-skills-game-UEtheir own version, first seen Nov 8, 2026
- tornikegomareli/Skillstheir own version, first seen Nov 8, 2026
- devjiwonchoi/skillstheir own version, first seen Nov 8, 2026
Used with
Projects with it also use plan-tune, ios-clean and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
ShreyRaviSkillplan-tune
Self-tuning question sensitivity + developer psychographic for gstack (v1: observational). Review which AskUserQuestion prompts fire across gstack skills, set per-question preferences (never-ask / always-ask / ask-only-for-one-way), inspect the dual-track profile (what you declared vs what your behavior suggests), and enable/disable question tuning. Conversational interface — no CLI syntax required.
Also in 9 projects that use this
Saqlain-811Skillios-clean
Remove the DebugBridge SPM package and all #if DEBUG wiring from an iOS app. (gstack)
Also in 5 projects that use this
Saqlain-811Skillios-fix
Autonomous iOS bug fixer. (gstack)
Also in 5 projects that use this
seek888Skillpair-agent
Pair a remote AI agent with your browser. One command generates a setup key and prints instructions the other agent can follow to connect. Works with OpenClaw, Hermes, Codex, Cursor, or any agent that can make HTTP requests. The remote agent gets its own tab with scoped access (read+write by default, admin on request). Use when asked to "pair agent", "connect agent", "share browser", "remote browser", "let another agent use my browser", or "give browser access". (gstack) Voice triggers (speech-to-text aliases): "pair agent", "connect agent", "share my browser", "remote browser access".
Also in 11 projects that use this
ShreyRaviSkilllanding-report
Read-only queue dashboard for workspace-aware ship. Shows which VERSION slots are currently claimed by open PRs, which sibling Conductor workspaces have WIP work likely to ship soon, and what slot /ship would pick next. No mutations — just a snapshot. Use when asked to "landing report", "what's in the queue", "show me open PRs", or "which version do I claim next". (gstack)
Also in 8 projects that use this
timurgaleevSkilldocument-generate
Generate missing docs for a feature, module or project as tutorials, how-tos, reference and explanation.
Also in 7 projects that use this
- +1 more from Saqlain-811
- +2 more from ShreyRavi
Other versions193 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 193
- mattpocock/skills★ 309ksame name
- garrytan/gstack★ 141ksame name
- formbricks/formbricks★ 13ksame name
- ArcReel/ArcReel★ 6.3ksame name
- vinvcn/mattpocock-skills-zh-CN★ 5.5ksame name
- withcoral/coral★ 4.9ksame name
- bergside/awesome-design-skills★ 2.9ksame name
- MiniMax-AI/minimax-code★ 2.2ksame name
- DenchHQ/DenchClaw★ 1.7ksame name
- DenchHQ/ironclaw★ 1.7ksame name
183 more not listed
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 repository22 other files it gives its agents.
- automate-testsSkill
- automate-xray-testsSkill
- bug-bashSkill
- build-epicSkill
- close-out-epicSkill
- create-xray-testSkill
- cross-repo-handoffSkill
- live-verified-bddSkill
- pair-runbookSkill
- release-notesSkill
- release-qaSkill
- review-epicSkill
- roost-configSkill
- run-bugSkill
- run-sliceSkill
- setupSkill
- shape-epicSkill
- slice-handoffSkill
- stacked-prsSkill
- triage-ticketSkill
- verify-slice-testsSkill
- write-runbookSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 5 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 171 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
Read-only until the user decides: Before the checkpoint, never edit a file, the team config, a repo or roost, never file or change a …
- Distinctive: line 24
If the user already gave you the script's output for the session, skip to step 3: don't look for the transcript or run the script again.
- Distinctive: line 43
Read every moment and the totals.
- Distinctive: line 76
Only after the user decides, and only for what they accepted:
- Distinctive: line 86
Before filing any ticket or person-owned task,: check its text, so no path, username or configured value leaves this machine:
- Very specific: line 88
Write its title to one file and its body (with any cross-repo-handoff prompt) to another, exactly as they'll be filed, and show both to the …
- Distinctive: line 89
Run the check with the same configs and the run's transcripts, so it knows the session's username:
“Common” is measured: kept by at least 6 in 10 of the 171 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Retro
A run that went badly once will go badly again unless something in the setup changes: the team config, a repo's checks or instructions, or roost itself. The retro reads what actually happened in a session, finds the moments that cost time or trust, and proposes the change that stops each one recurring, in the place that can enforce it.
First, load the team config with roost-config.
For now the retro covers one session: this one, or one the user names. It reads only that session's own transcript, never a subagent's.
Rules
- Read-only until the user decides. Before the checkpoint, never edit a file, the team config, a repo or roost, never file or change a ticket, and never message a session.
- The retro never runs a check itself. A hypothesis's check is run by the user or a repo session, or ticketed.
- Every finding has evidence. A finding whose problem isn't in the script's output, the transcript or the tracker isn't reported, however likely it seems.
- Quotes come only from the script's output, which is already redacted. Never paste text from the transcript into a finding, a ticket or a handoff; cite the moment's session and time instead.
- The retro never edits the team config or a permission settings file. An accepted config change or permission rule is shown for the user to make.
1. Find the transcript
If the user already gave you the script's output for the session, skip to step 3: don't look for the transcript or run the script again.
Transcripts are ~/.claude/projects/<folder>/<session id>.jsonl, one folder per working directory. Don't build the folder's name from the path (characters such as ., _ and spaces are changed in it); find transcripts by what their records say: each record has the session's working directory as "cwd".
- "This session": the transcripts whose records have this working directory as their
cwd(grep -lF '"cwd":"<this directory>"' ~/.claude/projects/*/*.jsonl, a fixed string, so.and[in the path match only themselves); of those, the newest that contains the user's last message. Say which file. - A named session: search every folder under
~/.claude/projects/, not only this directory's: a repo session's transcript is in its own repo's folder. Match the name against each transcript'scustom-titleandagent-namerecords, written with no space after the colon (grep -lF '"customTitle":"<name>"' ~/.claude/projects/*/*.jsonl, and the same for"agentName":"<name>"). If none matches, or more than one does, list what you found and ask which.
2. Run the script
python3 <this skill's folder>/scripts/retro_moments.py moments <transcript> --config <team config> [--config <override>]The script is skills/retro/scripts/retro_moments.py; run it from this skill's own folder. Pass the team config and then each override file roost-config applied, in that order: the script redacts their identifying values (the tracker site and IDs, hostnames, URLs, IP addresses, the test account pattern) and generic secrets from every quote, and drops a quote it can't clean.
It prints one JSON object: moments (each with its kind, session, time, record id and excerpt; slow steps grouped by command with each run), sessions with totals per session, unreadable transcripts (files it couldn't open, or that failed while being read), unparseable records, unknown_types, unknown_shapes (records that look like a hook's block or a delivery notice, in a shape the script doesn't read yet), subagents_not_read and redaction.
3. Read the moments
Read every moment and the totals. Open the transcript around a moment only when the excerpt isn't enough to say what happened, and quote only the script's excerpt.
A correction moment is only a candidate: the script marks each message the user typed after their first, except the interruption a rejected permission prompt writes. A go-ahead or an approval ("yes", "proceed", "merged", "looks good") isn't a correction, and nor is the user's answer to a question the agent asked. Only a message that changes or rejects what the agent did ("we don't use moment here", "that's the wrong repo") can back a finding. The user interrupting the agent ([Request interrupted by user) is a real correction too: they stopped what it was doing.
A refusal moment is a tool call that didn't run; its how says who stopped it:
user-rejected: the user said no at a permission prompt. That's the user's judgment, like a correction: the agent tried something they didn't want. The prompt's own "[Request interrupted by user for tool use]" isn't counted again.automode-blockedorautomode-unavailable: auto mode stopped the call, not the user. Nobody said no to that call: it points at what the session was allowed to do, not at the user's view of the work, so its finding is in the Permissions and auto mode area ofreferences/finding-areas.md(or roost itself, when a roost skill asked for the blocked action). An interruption after it is a real correction.
4. Write the findings
Use references/finding-areas.md: each finding names its area, which decides where the fix goes, and has what happened, its evidence (the moment's excerpt, session and time), what skipping it costs with a concrete case, a recommendation marked Checked or Hypothesis, and where the change goes. Rank them there too.
- A mechanical mistake is a check (a lint rule, a hook or a CI job in the repo); a review miss is a review rule (added to the repo's existing
review_focus; when the repo has none, start fromplanning.review_focus, since a repo's own replaces it; or the repo's coding standards). Neither is only a line inCLAUDE.mdorAGENTS.md. - A slow step is one finding with its count and total, never one per run. A skip or a speed-up you can't prove from what you've read is a Hypothesis that names its check, who can run it and how long it takes.
5. The checkpoint
Show one ranked list, most severe first:
| # | Severity | Area | Finding | Evidence | What skipping costs | Recommendation | Where |
- Severity: High, Medium or Low.
- Recommendation: starts
Checked:with its evidence, orHypothesis:with the check, who can run it and how long it takes against what the problem costs. - Where:
Team config(and the key), a repo's name,Permissions(the settings file and the tool), orroost.
End with: "Decide each by number: a Checked finding takes yes or no; a Hypothesis takes check now, ticket the check, or skip." Then stop and wait.
A "yes" on a Hypothesis isn't one of its choices: ask again which of the three it is. Never treat it as approving the change: the change waits for the check.
6. Give each accepted finding a home
Only after the user decides, and only for what they accepted:
- A team config change: show the key and its new text for the user to make. Don't edit the config.
- A permission rule: name the settings file and the tool, with the moment's session and time, for the user to write the allow rule. Don't copy the command from the transcript, and don't edit any settings file.
- A change in a repo: a ticket for that repo with a
cross-repo-handoffprompt that its session can act on. - A change to roost: list it in the report for the user, with its evidence. Don't draft or file a roost issue: roost's tracker is public, and the retro doesn't yet swap the team's names for example names or check a draft for private details.
- A hypothesis, "check now": give the user the check's steps (or what to tell the repo session), wait for the result, then mark the finding Checked or drop it.
- A hypothesis, "ticket the check": ticket the check, not the change. A check a repo session can run is a ticket for that repo, with a
cross-repo-handoffprompt. A check only the user can run is a person-owned task (labelledtracker.person_task_label, defaultperson-owned) for the user, with its steps and the result that confirms or refutes the hypothesis. The change waits for that result. - Skipped or rejected: nothing is filed.
Before filing any ticket or person-owned task, check its text, so no path, username or configured value leaves this machine:
- Write its title to one file and its body (with any
cross-repo-handoffprompt) to another, exactly as they'll be filed, and show both to the user. Run the check with the same configs and the run's transcripts, so it knows the session's username:
python3 <this skill's folder>/scripts/retro_moments.py check <title file> --config <team config> [--config <override>] --transcript <transcript>... python3 <this skill's folder>/scripts/retro_moments.py check <body file> --config <team config> [--config <override>] --transcript <transcript>...When the user gave you the script's output instead of a transcript (step 1), there's no transcript to pass: ask them for the session's working directory and pass it as
--cwd <directory>. Pass--no-usersonly when the user says the session ran outside any home folder.- File it only when both checks pass (exit 0,
"passed": true), and file from those same files: the body with the tracker adapter's create-from-a-file (--body-file <body file>for GitHub) and the title read from its file (--title "$(cat <title file>)"), never text typed again. Any edit after the check, however small, means checking that file again before filing. On a hit (exit 3), show the user each one (kind:path,config,user,secretorunsure, a stringredactwould withhold;line,column,length; andkeyfor a configured value orreasonforunsure), fix the text, and check again. When the check can't run (exit 4, with areason: a transcript it can't open, or no usernames to look for), file nothing: give it the transcripts or--cwdit asks for, and check again. Never file a draft that failed, and never work around a hit by rewording the check's input.
Report
One line: "Retro on acme-api-3f: 4 findings, 2 accepted, 1 check ticketed, 1 skipped." Then each home made, with its link. Then, when there are any, each of these, never skipped silently:
- A transcript that couldn't be opened or read (
unreadable): which session, and why ("can't read the file", or "couldn't be read" when it failed partway); the retro covers the rest. These are whole files, not the unreadable records below. - Unreadable records (
unparseable,unknown_types): "3 records couldn't be read (2 not JSON, 1 incomplete last line); 1 unknown record type." - Unknown shapes (
unknown_shapes): "2 records look like a hook's block; retro doesn't read that shape yet, so they aren't in the findings:<session>, lines 77 and 140." - Subagent transcripts (
subagents_not_read): "2 subagent transcripts weren't read; retro reads only the sessions' own transcripts." - Withheld quotes (
redaction.dropped): "2 quotes withheld; their findings cite the session and time."
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.

