retro
Retro
The user asked for a retrospective. Find what in the agent's setup made the session slower, costlier or more error-prone than it needed to be, propose specific changes, and apply the ones the user picks. Change the setup, not the code the session was about.
1. Read the session
Default to the current session. When the user names another, find its transcript with
session-search when it is installed, or in the harness's own logs (Claude Code under
~/.claude/projects, Codex under ~/.codex/sessions, Pi under ~/.pi/agent/sessions). Read the
tool calls and their results, not a summary of them.
Then read the setup the session ran under: the repository's and the user's instruction files
(AGENTS.md, CLAUDE.md), the skills it loaded, its hooks, and the repository's own check
commands (package scripts, pre-commit hooks, CI workflows).