retrospective

retrospective is a command for Claude Code from racecraft-lab/Paddock. It costs 18 tokens per session (1,704 once invoked), scanned A, original, MIT.

A post-implementation review command that compares completed work with the project's specification, plan, and task list, then writes a retrospective report.

In plain words
What is it for?
Use it after implementation to measure task completion, check adherence to requirements, and record improvements for the next project.
Why use it?
It shows where implementation drifted from the plan and captures lessons for future development cycles.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Good fit Use it after implementation to measure task completion, check adherence to requirements, and record improvements for the next project.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/racecraft-lab/paddock/retrospective
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/racecraft-lab/Paddock

Made for: Claude Code.

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 retrospective

README.md
[![agentmods](https://agentmods.dev/badge/commands/racecraft-lab/paddock/retrospective/github.svg)](https://agentmods.dev/commands/racecraft-lab/paddock/retrospective)
Your own site
<a href="https://agentmods.dev/commands/racecraft-lab/paddock/retrospective"><img src="https://agentmods.dev/badge/commands/racecraft-lab/paddock/retrospective/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 retrospective

Your own site · 80×15
<a href="https://agentmods.dev/commands/racecraft-lab/paddock/retrospective"><img src="https://agentmods.dev/badge/commands/racecraft-lab/paddock/retrospective.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 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,704 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.00018 $0.01704
Opus 5 $0.00009 $0.00852
Sonnet 5 $0.00004 $0.00341
Haiku 4.5 $0.00002 $0.00170

Measured 7d ago against content hash 3ba8bd362144, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

retrospective 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 7d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.specify/extensions/retrospective/commands/retrospective.md · 208 lines

How it starts

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

User Input

$ARGUMENTS

Consider user input before proceeding (if not empty).

Goal

Analyze completed implementation against spec.md, plan.md, and tasks.md to measure spec adherence and drift. Generate actionable insights for future SDD cycles.

Constraints

  • Output: Generates and saves retrospective.md report to FEATURE_DIR
  • Post-Implementation: Run after implementation complete; warn if <80% tasks done, confirm before proceeding if <50%
  • Human Gate for spec changes: before any action that modifies spec.md (including /speckit.specify handoff), explicitly ask for user confirmation and stop if not approved
  • Confirmation policy: default is NO. Only explicit approvals (y, yes, si, s, ) count as consent

Execution Steps

1. Initialize Context

Run {SCRIPT} from repo root. Parse JSON for FEATURE_DIR and AVAILABLE_DOCS. Derive paths: SPEC, PLAN, TASKS = FEATURE_DIR/{spec,plan,tasks}.md. Abort if missing.

For single quotes in args like "I'm Groot", use escape syntax: e.g 'I'''m Groot' (or double-quote if possible: "I'm Groot").

2. Validate Completeness

total_tasks=$(grep -c '^- \[[ Xx]\]' "$TASKS" || echo 0)
completed_tasks=$(grep -c '^- \[[Xx]\]' "$TASKS" || echo 0)
if [ "$total_tasks" -eq 0 ]; then
  echo "No tasks found in $TASKS" && exit 1
fi
completion_rate=$((completed_tasks * 100 / total_tasks))

Completion thresholds:

  • =80%: Proceed with full retrospective

  • 50-79%: Warn about incomplete implementation, continue with partial analysis
  • <50%: STOP and confirm before continuing

3. Load Artifacts

  • spec.md: FR-XXX, NFR-XXX, SC-XXX, user stories, assumptions, edge cases
  • plan.md: Architecture, data model, phases, constraints, dependencies
  • tasks.md: All tasks with status, file paths, blockers
  • constitution: /memory/constitution.md (if exists)

4. Discover Implementation

  • Extract file paths from completed tasks plus recent git history
  • Inventory: Models, APIs, Services, Tests, Config changes
  • Audit: Libraries, frameworks, integrations actually used

Read the full file on GitHub · 208 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. 7d ago First seen · 208 lines · 18 tokens per session scan A 3ba8bd362144

Subscribe to this mod's changes

retrospective is a command published in the GitHub repository racecraft-lab/Paddock (11 stars, last pushed 2mo ago), licensed MIT. It adds 18 tokens to every session and 1,704 once invoked, about $0.0001 per session on Opus 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-09-03.