retro: retrospectives of working with Claude Code
English · Polski
A Claude Code plugin that brings an Agile-style continuous improvement process into working with Claude. Every few
working days (recommended: every 2) the retro:
- reviews commitments from previous retros: were they kept and did they have an effect;
- gathers evidence from Claude Code transcripts, git and GitHub (user messages, answers to questions,
blocks, refused and failed tool calls by cause, subagents, PRs, CI, size of rules files, tokens and cost at API
prices: context, share of subagents and Opus, wake-ups of long sessions, cloud sessions, cost per 10% of the
plan) and measures writing efficiency: cost by agent role and
model, fix rounds in merged PRs by author model, returns from review and CI, cost and quality per PR by
implementer model, reasoning effort and PR size, compared with the previous 3 retros, to tune which agent, model
and effort does which task;
- assesses what worked and what did not, also on the user's side (optional);
- proposes at most 5 changes, preferring mechanisms (tests, hooks, templates) over text-only rules;
- implements the accepted changes in rules files (
CLAUDE.md, memory, nauki.md), agent definitions
(.claude/agents) and the commitments register.
Since 0.7.0 the retro closes with a results table in the chat: cost and tokens, cost per merged PR, % of PRs with a fix,
rounds per PR, split by author model, PR size and reasoning effort, against the previous 2–3 retros, with samples under
5 PRs marked. The summary warns when a week's cost is high but tracked repos show few PRs (work may have moved).
Since 0.9.0 the retro measures outcomes, not only the process: for PRs merged 30–60 days before the window end,
acceptance (no fix round and no rework by a later PR within 30 days, found by references and git blame), cost per
accepted change (all cost of that period, plus owner messages and attention time) and verification tightness (bugs
caught by agent review against those caught after the review approved or in production), by implementer and reviewer
configuration, with three rows in the closing results table.
Since 0.8.0 the retro measures CI and deploy steps per project: the cost of calls that watch CI (gh run,
gh pr checks) or run ops commands (ssh, docker, systemctl…) in main sessions against subagents, the median
calls per main session, and the projects without an ops agent (Haiku operator / obserwator-ci) as candidates for
a project-agents audit.
Since 0.7.2 the retro measures the correspondence style directly (median characters of text to the user and of
agent prompts), counts wake-ups by an answer to AskUserQuestion separately, takes the PR author model from an optional
Agent: <name> trailer, and labels repos the gh token cannot see (optional per-repo token from git credential fill).
Since 0.7.1 the retro proposes leaner correspondence: agents and sessions among themselves in English at caveman ultra, and
messages to the user in a language and at a level of the user's choice (plain, caveman, caveman ultra). Nothing changes by default.
Since 0.6.0 the retro manages agent definitions between retros: it keeps a snapshot of every agent's model,
reasoning effort, description and prompt after each retro (agenci.csv), shows each change with the PRs before and
after it (count, share with a fix, cost per PR), shows task routing (who implements PRs of which size, unused agents)
for tuning descriptions, and turns every accepted agent change into a commitment with a baseline and a rollback
condition. It also keeps context files compressed caveman-style (CLAUDE.md, agents, memory, nauki.md,
custom skills; level standard by default, plugin files excluded): its own rules, no caveman plugin needed, with
a script that refuses a compression that lost code, paths, numbers, headings or the YAML header, and a rollback.
If there has been no retro for 5 working days, a new Claude Code session reminds you (SessionStart hook).
Since 0.5.0 retro also replaces the claude-usage-report
skill: its measurements (tokens and context, cache rebuilds, refused tool calls by cause, cloud session cost, cost
per merged PR and per 10% of the plan, comparison with the previous measurement) are part of every retro.
Languages
The retro talks and writes in the language chosen on first run (jezyk in konfiguracja.json):
pl and en have their own templates and script reports;
- any other language: Claude writes in it, templates and script reports are in English.