Retro Ledger
A retro skill for coding agents that keeps score. It looks through your recent sessions and git history, suggests up to three changes to the agent’s instructions, and checks two weeks later whether each one helped. Rules that made no difference get deleted.
Why I built it
Instruction files for coding agents grow with every retro, and nothing checks whether the last rule did anything. I wanted each new rule to come with a count that could show it was wrong.
How it works
It reads your git history, plus the session history of Claude Code and GitHub Copilot Chat if it finds them on your machine. If you have deja installed and switch it on, it can read many more tools.
Each proposal comes with its evidence and a signal it can count, such as how many commits fix a typo.
You approve or turn down each one. Both go into a ledger in your repository, so the next retro knows what you decided and why.
When a change is due, it compares the count before and after, and recommends keeping the rule or deleting it.
How a change is scored
Each change is scored against the signal recorded with it. There are five verdicts.
Helped: the signal fell to half its earlier rate or less. It recommends keeping the rule.
No effect: the signal is at 90% of its earlier rate or more. It recommends deleting the rule.
Inconclusive: somewhere in between.
Too early: fewer than 10 commits or 5 sessions since the change.
Untestable: the problem never appeared in the 30 days before the change, so there is nothing to compare.
What stays on your machine
The scripts make no network connections. They run git log, and deja only if you switch it on.
Your agent sees counts, not what you typed. It asks once whether to share more, and says roughly how many tokens each option costs.
Your choices are kept on your machine, outside the repository, so a repository you clone can’t make them for you.
Every run goes into an audit log on your machine, so you can check what was shared.
What the first version got wrong
The first version kept your answers to “share this?” in a file inside the repository. A repository could commit its own copy with every option switched on, and the skill would then share session text on every machine that cloned it, without asking. Version 0.2.0, a day later, keeps your choices outside the repository and ignores a committed copy, and a test commits one with everything on to check that you’re still asked.
Install
Install the skill in your coding agent. Its README has the steps.
If you use VS Code, Cursor or another editor built on VS Code, add the extension. It shows the ledger in a side panel: what’s due for review, each rule’s last verdict, and the audit log. It only reads what the skill writes, so it needs the skill first.
Ask your agent for a retro.
Source
Both are open source under the MIT licence. Agents wrote the code on branches, and I reviewed and merged each pull request, which the history of both repositories shows.