retro

retro is a command for Claude Code from fatihkan/badi. It costs 0 tokens per session (571 once invoked), scanned A, original, MIT.

A sprint retrospective command that reviews a past work period using version-control records, task data, and team notes. A sprint retrospective is a meeting or review about what went well and what should improve.

In plain words
What is it for?
Use it to find bottlenecks, scope changes, communication gaps, productive patterns, and approaches that worked well.
Why use it?
It replaces a memory-based review with evidence about completed, delayed, blocked, or reverted work and recurring problems.

Command for Claude Code

Written for Claude Code: installed under .claude/.

Part of the badi plugin — 81 skills, 86 commands, 30 agents, 7 hooks shipped together

Good fit Use it to find bottlenecks, scope changes, communication gaps, productive patterns, and…

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/fatihkan/badi/retro
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/fatihkan/badi

Made for: Claude Code.

Or install badi, the plugin that ships this one along with the rest of its 81 skills, 86 commands, 30 agents, 7 hooks.

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/fatihkan/badi/retro.svg)](https://agentmods.dev/commands/fatihkan/badi/retro)
Your own site
<a href="https://agentmods.dev/commands/fatihkan/badi/retro"><img src="https://agentmods.dev/badge/commands/fatihkan/badi/retro.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 571 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.00000 $0.00571
Opus 5 $0.00000 $0.00285
Sonnet 5 $0.00000 $0.00114
Haiku 4.5 $0.00000 $0.00057

Measured today against content hash 908ae9c9d761, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 today.

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.

.claude/commands/retro.md · 124 lines

How it starts

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

Sprint retrospective command. Analyzes the past period and identifies improvement areas.

Required Tools

  • Read (daily notes, task board, memory)
  • Bash (git statistics)
  • Grep (pattern search)
  • Write (report writing)

Procedure (4 Steps)

Step 1: Data Collection

Gather the data for the retrospective period:

Git Data:

  • Commit count and distribution (by day)
  • Changed file count
  • Line add/delete statistics
  • Branch and merge history
  • Reverted commits

Task Data:

  • Completed tasks and their durations
  • Deferred or cancelled tasks
  • Blocked tasks and their durations
  • Scope changes

Note Data:

  • Decisions in the daily notes
  • Learnings and insights
  • Problems and their solutions
  • Handoff notes

Step 2: Pattern Analysis

Detect patterns in the collected data:

Productivity Patterns:

  • Most productive days/hours
  • Areas with the most commits
  • Recurring bottlenecks
  • Velocity changes (slowdowns, speedups)

Problem Patterns:

  • Recurring errors
  • Frequently blocked areas
  • Scope-creep examples
  • Communication gaps

Success Patterns:

  • Approaches that ended well
  • Effective solution strategies
  • Successful collaboration examples

Step 3: Improvement Categorization

Classify the findings into 4 categories:

Keep Doing (Went Well):

  • Practices that worked
  • Successful approaches
  • Habits worth keeping

Stop Doing (Went Badly):

  • Time-wasting practices
  • Ineffective approaches
  • Recurring mistakes

Start Doing (New Experiments):

  • Suggested new practices
  • Tools worth trying
  • Process improvements

Investigate (Unclear):

  • Areas needing more data
  • Hypotheses to test
  • Topics awaiting a decision

Step 4: Structured Report

Output Format

=== BADI RETROSPECTIVE ===
Period: [start] - [end]
Total Days: [count]

## Metrics
- Commits: [count] (daily avg: [count])
- Completed Tasks: [count]
- Deferred: [count]
- Blocked: [count]
- Line Changes: +[added] / -[removed]

## Patterns
### Productivity
[detected patterns]

### Recurring Problems
[problem patterns]

### Successes
[success patterns]

## Action Plan

### Keep Doing
- [practice]

### Stop Doing
- [practice]

### Start Doing
- [new practice]

### Investigate
- [topic]

## Sprint Note
[overall assessment and a motivational note]

## Next Sprint Goals
1. [goal]
2. [goal]
3. [goal]
==========================

Read the full file on GitHub · 124 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. today First seen · 124 lines · 0 tokens per session scan A 908ae9c9d761

Subscribe to this mod's changes

retro is a command published in the GitHub repository fatihkan/badi (7 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 571 tokens. 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-06.