retro
Skill5 starsChanged 10 days agoMITView on GitHub
Look back over AI-coding sessions (this one, or recent session logs) and propose improvements to the agent's environment.
193 other projects use a version of this, 38 of them edited.
Adopted by
Most recently taken up by
- rodeyseijkens/skillsedited, 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/Skillsedited, 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 · 38
- mattpocock/skills★ 309k11% same
- formbricks/formbricks★ 13k11% same
- ArcReel/ArcReel★ 6.3k11% same
- withcoral/coral★ 4.9k11% same
- dzhng/skills★ 1.5k11% same
- aws/graph-explorer★ 49011% same
- biersoeckli/QuickStack★ 36511% same
- itsmylife44/cliproxyapi-dashboard★ 28311% same
- tt-a1i/matt-skills-with-to-goal★ 19211% same
- willdady/platypus★ 13011% same
28 more not listed
Wrote their own version · 155
- garrytan/gstack★ 141ksame name
- vinvcn/mattpocock-skills-zh-CN★ 5.5ksame 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
- huytieu/COG-second-brain★ 1.3ksame name
- kdlbs/kandev★ 1.1ksame name
- appdevforall/CodeOnTheGo★ 586same name
- devcxl/mattpocock-skills-zh★ 522same name
145 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 repository57 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- architecture-satisfactionSkill
- autopilotSkill
- browser-testSkill
- chatter-scoutSkill
- closeoutSkill
- codebase-designSkill
- code-reviewSkill
- code-smells-auditSkill
- commitSkill
- dependency-auditSkill
- diagnosing-bugsSkill
- domain-modelingSkill
- fix-ci-failuresSkill
- fix-github-issuesSkill
- fix-nightwatch-issuesSkill
- fix-posthog-issuesSkill
- grillingSkill
- grill-meSkill
- grill-with-docsSkill
- handoffSkill
- harness-toolsSkill
- housekeeperSkill
- implementSkill
- implement-specSkill
- improve-codebase-architectureSkill
- laravel-herd-worktreesSkill
- panelSkill
- prototypeSkill
- prSkill
- prune-testsSkill
- releaseSkill
- repository-cleanupSkill
- researchSkill
- resolve-review-commentsSkill
- resolving-merge-conflictsSkill
- run-afterSkill
- scratch-cleanupSkill
- scratch-statusSkill
- setupSkill
- sweepSkill
- tddSkill
- teachSkill
- to-questionnaireSkill
- to-specSkill
- to-ticketsSkill
- triage-github-prSkill
- triageSkill
- ui-designSkill
- upgrade-planSkill
- verifySkill
- wait-whatSkill
- wayfinderSkill
- which-skillSkill
- wizardSkill
- writing-for-agentsSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 171 edited versions we read keep these.
2
Distinctive
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 20
Default N = 50 parent sessions unless the user gives a number.
- Distinctive: line 80
All work goes through two stages, and they carry very different context pressure.
“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
Turn sessions into a ranked list of concrete improvements to the agent's environment, not the code. Read-only analysis; never modify the log files. Output a numbered proposal list with one verbatim (redacted) evidence line per finding, then let the user pick which to apply.
Scope. this, or a run straight after a build or a bug fix: the current session. Its conversation is already in context, so skip steps 1–3 and apply the lenses in step 4 to it. After the context was cleared, find that session's log in step 1 and mine only it. Otherwise: the N most recent sessions, steps 1–6.
Where the logs live
Claude Code (~/.claude/projects), Codex (~/.codex/sessions, plain and .jsonl.zst), Grok (~/.grok/sessions), and agy (~/.gemini/antigravity-cli: history.jsonl plus one SQLite .db per conversation). Two scripts in <this-skill-dir>/scripts/ read them, read-only: they stream archives without decompressing in place and open SQLite read-only. Store their output in the session scratchpad, never beside the logs.
1. Pick the N most recent sessions
Default N = 50 parent sessions unless the user gives a number. Run once:
bash <this-skill-dir>/scripts/select-sessions.sh --out <scratch>/retro --count N --exclude <this session's id>It discovers every harness's logs, groups child logs under their parents (children never take a session slot), excludes sessions with an automation hint (headless runs, panelist briefs, orphan children) into exclusions.jsonl, and writes parents.jsonl and 7 round-robin batch_<k>.jsonl files. Its JSON summary gives counts by harness, children, exclusions by reason, unreadable files, and missing harnesses. Then apply session selection's authorship rules to each selected root's first_prompt, and rerun with --exclude for any root that is not a human session (--keep-automated keeps the hinted ones; --harness limits harnesses, for example to spread the sample when the user asks for coverage across them: run once per harness with its share of N and its own --out directory, and state the allocation). Selection is complete when the summary's counts match parents.jsonl and the exclusions, and you report them.
2. Extract signal
Never cat a whole log. bash <this-skill-dir>/scripts/extract-signal.sh <path> prints one JSONL event per user-role message, queued message, assistant reply (its tail, where closing questions sit), shell command, tool call, and failed tool result, each with its source path and line (SQLite step index for agy). A user-role message is not proof of human authorship: exclude preambles, agent briefs, relayed messages, and quoted earlier corrections from human counts. Surface corrections fast by grepping the user and queued texts:
grep -iE "no,|actually|that.?s wrong|don.?t |stop |instead|you should have|i told you|revert|why did you|wrong"
3. Fan out: one subagent per batch
50 sessions won't fit one context. Dispatch one subagent per batch_<k>.jsonl in parallel, on a cheaper model where the harness lets you pick one (extraction, not judgement), each with an identical brief: its batch file path, the extract-signal.sh path, and the lenses in step 4 (in Claude Code with this plugin installed, subagent_type=leek-skills:session-miner: log-read-only, skips project CLAUDE.md, and remembers patterns from earlier retros so it can mark them recurring; in other harnesses, dispatch and wait per harness-tools, all at once). Each subagent returns a structured findings list; the orchestrator dedupes across batches and synthesizes.
4. What to find
You are proposing improvements to the agent's environment, so that future runs go better. Each lens below names what to look for and the moment that triggers it.
Evidence lenses: what the transcript shows happening:
- Corrections: the user pushed back ("no", "actually", "that's wrong", "don't do that", reverting/redoing). Highest value, capture every one.
- Repeated / errored commands: a command or tool that errored, or was retried several times before working. Note what finally fixed it.
- Repeated setup steps: the same setup/config/env/login/build/cache-clear rediscovered across more than one session.
- Content moments: something worth an article, tweet, tutorial, diagram, prompt, product idea, or example.
Environment lenses: what should change so it stops happening:
- Navigation: how easily did the agent find the right files? Hidden dependencies between files? Would a context pointer help? Use when the session spent a long time hunting for one piece of information.
- Automated checks: could a linter, type check, test, or filesystem check have caught this? Read the repo's own check commands first (
composer.json/package.jsonscripts, Pint/PHPStan/Larastan config, the CI workflow), so a check that exists but is unwired or silently broken is the finding, not a reinvention. A repo with no guardrail (no pre-commit hook and no CI job running its lint, static analysis, or tests) is itself a finding. Use when the agent made a mistake a machine could have caught, or the repo has no guardrail at all. - Coding standards: should the reviewer get a new rule, or an existing one clarified or removed? Classify the violation first. A mechanical one (a fixed syntactic pattern, a banned function or facade, an import shape, a file-location rule) gets a deterministic check instead of a prose rule: a custom PHPStan/Larastan or ESLint rule, a Pest arch test, a pre-commit hook, or a CI job, whichever the repo's existing guardrail makes cheapest. Reserve the standards doc for judgement calls (cross-file consistency, "matches the surrounding style", anything no check could replace). Use when review failed to catch a mistake.
- Steering files: are there instructions in
CLAUDE.md/AGENTS.md(repo or global) that belong in coding standards or an automated check instead? Use when a steering file is large and unwieldy. - Tool economy: expensive or chatty tool calls that could be streamlined; custom CLIs or MCP servers that are token-inefficient. Use when one call burned a visible share of the context.
- No-ops: instructions in steering files that don't change the agent's behaviour versus the default. Use when the steering files have grown without pruning.
- Information access: could the agent have been given the missing fact? Teed dev-server logs, read-only access to a third-party service, a status endpoint. Use when a crucial piece of information simply wasn't reachable.
5. Redaction (mandatory)
In every quoted evidence line, replace emails, API keys, tokens, secrets, passwords, and bearer strings with [REDACTED]. Keep quotes short.
6. Output: a numbered proposal list
Before proposing a change, read the current destination and compare the observed behavior with its instructions. Recover the loaded skill version/path from the transcript when possible (including plugin cache versions); otherwise record version unknown. Compare the session date/version with the relevant fix's history. Classify each candidate as missing guidance, existing guidance ignored, already fixed, or outside this skill's control. Repeated evidence from an old version is not a current regression. Already-fixed and out-of-scope items belong in a brief exclusions note; ignored guidance needs an enforcement or clarity improvement, not a duplicate rule.
For each finding, give: the proposal, the one verbatim (redacted) evidence line it came from (source path and line, or SQLite step index), the loaded version or version unknown, its disposition above, the current destination passage, and a one-sentence why. Label assistant diagnoses and summaries as such rather than human corrections. Destinations:
- a content idea to draft / add to the idea library
- a line to add to
CLAUDE.md/AGENTS.md(name the file) - a slash command or skill to add or update (name it)
- a hook that should run automatically
- a tool or CLI that should be fixed
- a config or settings change
- or nothing, if it was a genuine one-off
Do not change anything. Present the list and let the user choose which to apply (a structured question (harness-tools): one multiSelect: true question per destination, up to 4 questions per call and 4 options each, further rounds for the rest; otherwise the user picks by number in chat). Lead with the cross-cutting themes (patterns that recurred across 3+ sessions are the highest-value to act on).
Reference: where a fix belongs
All work goes through two stages, and they carry very different context pressure. The implementation agent bears the most: it explores, writes code, and debugs failures. The reviewer bears the least, it receives a diff, so it needs no exploration and usually writes no code.
So standards belong to the reviewer, not the implementer. A proposal of the form "tell the agent to always do X while coding" is nearly always better placed as a review rule, where it costs nothing until there is a diff to check.
The destinations, ranked by what they cost:
CLAUDE.md/AGENTS.mdsit in every agent's context in this repo. Spend lines here incredibly sparingly, and mostly on context pointers to other files.- A coding standards doc is read at review time, not implementation time, cheap, and the right home for most rules.
- Reference docs are free until a pointer reaches them. Look for an existing doc before writing a new one.
- A skill costs its description in context if model-invoked, nothing if user-invoked. Follow
writing-for-agents.
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.

