/session-retro:session-retro [session id, transcript path, 'recent' or a day window, or blank for this session]from session-retro
Runs a retrospective on a Claude Code session and proposes fixes to the agent's environment (checks, hooks, navigation pointers, steering files, tool economy) ranked by severity. Use when the user asks for a retro, a post-session review, a review of recent or past sessions, or why a session went badly.
Ships in session-retro. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Review a Claude Code session and propose changes to the agent's environment so future sessions go better. The output is a ranked list of proposals for the user to accept or reject. Make no edits until the user picks proposals.
Find the transcript. If $ARGUMENTS asks for recent, all or past sessions, or gives a window (for example "last 14 days"), follow references/multi-session.md first: it starts from the usage log and ends with the few sessions worth a transcript read. Otherwise, with no argument, review this session (${CLAUDE_SESSION_ID}). Otherwise take the session id or path from $ARGUMENTS, or search recent transcripts by topic. Read references/transcripts.md for where transcripts live and the jq recipes to pull tool calls, errors, user corrections and token usage without loading a whole transcript into context. Done when you have the transcript path and a list of the session's tool calls, failures and corrections.
Read the environment it ran in. The repo's CLAUDE.md and AGENTS.md (and ~/.claude/CLAUDE.md), .claude/settings.json hooks and permissions, installed skills and agents, the repo's own check commands (package.json or build-tool lint/check/test scripts, pre-commit config, CI workflows). Done when you know which guardrails exist and which are wired.
Find candidates in the categories below. Each needs evidence: quote the transcript line, tool call or file it rests on.
Present them in order of severity, highest first. For each: the evidence, the proposed change (file and rough content), the category, and the cost of not doing it. Then ask which to apply.
Cluster before proposing. When the session holds many specific complaints or failures, group them up to the class of failure they share and propose a fix for the class. Keep the specifics as evidence under it. A fix that only covers the reported case is not enough, because the same class of failure returns wherever no one points at it.
Apply only what the user picks. For skill, agent, hook or mod changes, follow the repo's own authoring guidance where it has some (for example .claude/skills/skill-authoring/, hook-authoring, agent-authoring, mod-authoring), otherwise Anthropic's skill-creator if available. Validate what you change.
PreToolUse hook, whichever is cheapest in this repo. Keep prose only for judgement calls (cross-file consistency, matching the surrounding style), and put those in review guidance rather than the always-loaded steering file. Use when a rule was broken despite being written down.CLAUDE.md or a doc, or indexing the project in codebase-memory if it is installed and the repo is large. Use when finding information took long./fewer-permission-prompts. Use when a call cost many tokens or many retries.CLAUDE.md or AGENTS.md (repo or global) large? Move rules out to checks, review guidance or skills, and keep it to navigation pointers and facts the agent can't discover. agent-instructions, if installed, does the rewrite. Use when a steering file is long.reviewer agent, CODING_STANDARDS.md, or the review skill the repo uses) rather than for the implementing agent. Use when review missed something.CLAUDE.md/AGENTS.md load into every session. Use them sparingly, mostly for navigation pointers.cleanupPeriodDays setting (default 30 days) are deleted by Claude Code's retention sweep, so an old session may be gone. Say so rather than reconstructing it from memory..env contents) in the proposals.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub adminhead/claude-plugins --plugin session-retro