Retro Daily
A daily retro for your Claude Code sessions


Renders at the top of every Claude Code session via a SessionStart hook:
- All-time + last-7-days totals — sessions, tools, days, cost (API-equivalent)
- Competency grade — 0–100 composite score plus an A–F letter, with per-metric breakdown
- 14-day efficiency sparklines for Edit/Read, auto-approve, first-try, corrections, tool errors, context hygiene
- Year-long contributions heatmap — the green-grid you know from GitHub, sourced from your session history
- Focus areas — concrete, actionable recommendations for your weakest metrics
- Scout findings — a background worker that searches docs.anthropic.com and GitHub for ideas tied to those weak metrics
Plain-text preview
R E T R O · D A I L Y Sun May 17
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
A L L - T I M E
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1197 sessions 10626 tools 21 days 15 projects $6436.49 est.
tokens 239.0K in 10.6M out 1.82B cache-read 127.2M cache-write
C O M P E T E N C Y
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
███████████████████░░░░░░░░░░░ 62.1/100 D
breakdown Edit/Read 100 Auto-approve 29 First-try 100 ...
E F F I C I E N C Y
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
metric value 14-day trend 7d 30d status
Edit / Read 1.0 ▄▂▁▃▂▃▂▅▄█▄█▄▁ → ↑ ⬤ good
Auto-approve 65.7% ▇▆▁▇▃▆▆▄▆█▇██▂ ↑ → ⬤ bad
First-try 83.4% ▇██▇▇███▇▇█▇█▁ ↑ ↑ ⬤ good
Corrections 15.1% ▇▄▃▄█▂▁▂▁▁▃▁▁▁ ↓ ↓ ⬤ bad
Tool errors 10.2% ▂▄▅▁▃▂▂▂▃█▃█▃▁ → ↓ ⬤ bad
Ctx hygiene 50.0% ·········▁▁▁██ ↑ → ⬤ warn
C O N T R I B U T I O N S
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
May Jun Jul Aug Sep Oct Nov Dec Jan Feb Mar Apr
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
Mon ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
...
less ■■■■■ more 1197 sessions across 21 days this year
S C O U T F I N D I N G S
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
● claude code auto approve setup
→ If on Team plan, run `claude --permission-mode auto` ...
★ oryband/claude-code-auto-approve · Install as a PreToolUse hook ...
Install
Inside Claude Code:
/plugin marketplace add gyanesh-m/retro-daily
/plugin install retro-daily@retro-daily
/reload-plugins
The repo doubles as its own single-plugin marketplace. State lives under ${CLAUDE_PLUGIN_DATA} (~/.claude/plugins/data/retro-daily-retro-daily/) so plugin updates and uninstalls clean up after themselves.
Test against a local clone before publishing:
claude --plugin-dir ./retro-daily
Configuration
The scripts read the following env vars at session start. The plugin's hooks.json sets path-related ones automatically.
Paths and labels
| Env var | Default |
|---|
RETRO_DAILY_HOME | ${CLAUDE_PLUGIN_ROOT} |
RETRO_DAILY_DATA | ${CLAUDE_PLUGIN_DATA} (~/.claude/plugins/data/retro-daily-retro-daily/) |
RETRO_DAILY_PLAN_LABEL | unset → generic footer |
Set RETRO_DAILY_PLAN_LABEL="Claude Max $100/mo" (or "Claude Pro $20/mo", "API", etc.) if you want the cost footer to name your plan. Claude Code does not expose the active subscription tier programmatically, so this can't be auto-detected.
Background scout (network-facing)
The scout spawns a detached, sandboxed claude -p worker that uses WebSearch (network access to docs.anthropic.com and github.com) to research your weakest metrics. Two knobs control it:
| Env var | Default | Effect |
|---|
RETRO_DAILY_NO_BACKGROUND_WORKERS | 0 | Set to 1 to fully opt out of the scout + tag-sessions background workers. The dashboard still renders; just no network-facing research. |
SCOUT_STALE_DAYS | 7 | Minimum days between scout runs when weak metrics haven't changed. Raise to throttle further. |
Put either in your shell rc, or in your project's .envrc if you use direnv. The scout is also automatically skipped if a previous worker is still running, or if its weak-metric set matches the last successful run.
Requirements