retro

retro is a command for Claude Code from zebbern/agent-collab. It costs 8 tokens per session (1,757 once invoked), scanned A, original, Apache-2.0.

A retrospective command for reviewing a goal ledger, which is a record of work progress and outcomes, and suggesting changes to project policies.

In plain words
What is it for?
Use it after a goal closes to review that goal, or across all goals to examine broader project policies.
Why use it?
It helps identify recurring problems in completed work without changing code or applying recommendations automatically.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Codex.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the goal plugin — 1 skill, 3 commands shipped together

Good fit Use it after a goal closes to review that goal, or across all goals to examine broader project policies.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add zebbern/agent-collab
Claude Code
/plugin install goal

Made for: Claude Code.

Or install goal, the plugin that ships this one along with the rest of its 1 skill, 3 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for retro

README.md
[![agentmods](https://agentmods.dev/badge/commands/zebbern/agent-collab/retro/github.svg)](https://agentmods.dev/commands/zebbern/agent-collab/retro)
Your own site
<a href="https://agentmods.dev/commands/zebbern/agent-collab/retro"><img src="https://agentmods.dev/badge/commands/zebbern/agent-collab/retro/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for retro

Your own site · 80×15
<a href="https://agentmods.dev/commands/zebbern/agent-collab/retro"><img src="https://agentmods.dev/badge/commands/zebbern/agent-collab/retro.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 8 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,757 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00008 $0.01757
Opus 5.5 $0.00003 $0.00703
Sonnet 5.5 $0.00002 $0.00351
Haiku 4.5 $0.00001 $0.00176

Measured 3mo ago against content hash efd6ca782027, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

retro scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/goal/commands/retro.md · 128 lines

How it starts

The opening of the file, as written. The whole thing — 128 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Analyze the goal ledger's history and propose policy improvements — never code changes, and never auto-applied.

The ledger speaks five events: step-started, disposition, closed, correction, and retro. retro is a retrospective's own trace: scope, disposition count, floor verdict, proposal PR. step-started and disposition track one backlog item's work; closed records a goal-level outcome (done or abandoned) and its timing; correction is an accounting-style reversal appended after an earlier disposition (or closed) line when the goal file was hand-edited to fix a wrong value — it never rewrites history, it only supersedes it.

Two scopes, two jobs

A retrospective runs at one of two scopes, and the scope decides what it may conclude:

  • Per-goal (retro <slug>) is a process retro: how did this body of work go — blocked causes, whether the rails held, duration fidelity, goal-file hygiene. Run it when a goal closes. Its honesty floor counts the dispositions within that goal.
  • Portfolio (retro --all) is the policy retro — the outer loop. Routing guidance, profiles, budgets, and the methods themselves are project-wide artifacts, so the evidence for changing them must be the pooled, project-wide ledger. Its honesty floor counts dispositions across every goal. The report MUST group findings by goal so task-type heterogeneity stays visible (a docs goal and a concurrency goal are not the same evidence), and it MUST state that the ledger is per-project and per-machine — this is this machine's history, not the project's whole truth.

A per-goal retro whose goal clears its own floor may still only propose goal-local hygiene unless the portfolio floor is also met — global artifacts change on global evidence.

  1. Run node "${CLAUDE_PLUGIN_ROOT}/scripts/goal-companion.mjs" ledger [slug|--all] --json and, for a per-goal run, node "${CLAUDE_PLUGIN_ROOT}/scripts/goal-companion.mjs" status [slug] --json. If either refuses (no goals, ambiguous slug), relay the refusal and the listed slugs verbatim and stop.
  2. The goal file wins. The goal file is portable ground truth: when the ledger and the goal file disagree about an item's disposition, the goal file wins. A correction event supersedes the earlier disposition record it corrects — read the ledger in order and apply every correction before computing any grouping, rate, or attribution. Never compute attribution (which delegate actually did the work) from the raw first write when a later correction exists for that field.
  3. Honesty floor. Count the ledger's disposition events at the scope you are running. If there are fewer than 5, say the ledger is too thin for conclusions and stop — no vibes-based findings, no partial proposal. Before trusting the count either way, cross-check it against the goal files' recorded dispositions: if the ledger sees materially fewer than the goal files carry, the ledger view is local — a split or unmigrated state root — and a verdict computed from a shard is wrong even when the refusal itself is procedurally correct. Say which view disagreed and stop. (Precedent: the 2026-08-07 portfolio retro recorded dispositions=1 while the goal files carried 9 — a split-state shard, later unified by the canonical-root ledger migration.)
  4. Cross-reference every recorded PR number against reality: git log and gh pr view <n> (or gh pr list) for the branch/merge history — a disposition of merged whose PR number the repo does not actually show merged is itself a finding.
  5. Analyze the ledger, using corrected values throughout:
    • Dispositions grouped by delegate (codex / cursor / none) — merge rate, block rate. In portfolio scope, also grouped by goal.
    • Elapsed time between each item's step-started event and its matching disposition event — and whether that duration is trustworthy. Both extremes lie: work started before start was called reads as an implausibly short gap, and a step that contains unattended or background phases (a scheduled run, an overnight benchmark matrix) reads as an implausibly long one. Flag both rather than averaging them in. PR open-to-merge spans are review-inclusive calendar time, not work duration — cite one only labeled as such, and never mix it into a before/after adoption comparison unless both sides use the same metric under the same label.
    • Goal-level outcomes and their timing: each goal's closed event (done or abandoned) and the elapsed time from its first step-started to that closed event.
    • How often refine-and-redelegate-once actually fired (a blocked disposition that followed a retry, versus one that fired on the first attempt).
    • What caused each blocked disposition — read the notes.
    • Method evidence. Read the disposition notes and the merged PR bodies the ledger points at: they carry how the work was actually done — brief shapes that hung versus succeeded, delegation patterns, retry narrowings. A method observation cited from notes or a PR body is evidence; a method opinion without a citation is not.
  6. Evaluate prior adoptions first. Read prior retro events; for each with a proposal PR, find that PR's mergedAt via gh, and compare outcomes before vs after it (merge rate, blocked rate, step durations, refine-once frequency, delegate mix). Its own honesty floor: fewer than 3 dispositions on either side of an adoption point means say 'too thin to judge this adoption yet' and move on — no verdict. A prior proposal showing no improvement, or regression, makes proposing its REVERSAL a legitimate finding. A retro must not propose new method changes while ignoring the results of old ones.
  7. Write the proposal, citing the specific ledger entries (and PR bodies) behind each claim.
  8. Record the run via node "${CLAUDE_PLUGIN_ROOT}/scripts/goal-companion.mjs" retro-record [slug|--all] --pr <n> --findings <n> — a retro that leaves no trace cannot be evaluated by its successor; record floor-refused runs too.

Read the full file on GitHub · 128 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 128 lines · 8 tokens per session scan A efd6ca782027

Subscribe to this mod's changes

retro is a command published in the GitHub repository zebbern/agent-collab (35 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 8 tokens to every session and 1,757 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

retro compared with commands from other repositories

retro next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
retrozebbern/agent-collabCommand352mo agoApache-2.0A8Claude Code
deps-updatetravisjneuman/.claudeCommand115yesterdayMITA5Claude Code
security-scantravisjneuman/.claudeCommand115yesterdayMITA6Claude Code
test-suitetravisjneuman/.claudeCommand115yesterdayMITA7Claude Code
assemble-teamtravisjneuman/.claudeCommand115yesterdayMITA25Claude Code
runtravisjneuman/.claudeCommand115yesterdayMITA19Claude Code
standardize-claude-mdtravisjneuman/.claudeCommand115yesterdayMITA18Claude Code