Distills past Claude Code sessions into evidenced memory and workflow updates. Run when asked to mine past sessions or improve team processes from prior work.
Ships in session-retrospective. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Distill past sessions for this project into evidenced, ack-gated improvements to the team's memory and shared docs. Efficiency-led: process waste first, durable facts second. You (scout) run this manually when asked.
Read-only analysis, assisted writes. The parser only reads transcripts. You propose every change and write nothing until the user acks.
.agents/.Not for: onboarding a fresh repo (that's seeding-a-project), or refreshing
config from code/PR changes (that's scout's normal update flow).
Distill. Run the parser from the project root:
node {skill}/scripts/distill-sessions.mjs
It reads ~/.claude/projects/<this-project>/ transcripts newer than the
watermark (.agents/memory/scout/.last-retrospective), plus each session's
subagents/, and prints a bounded markdown digest. Add --all to ignore
the watermark, --exclude-session <id> to skip the active session, or
--out <path> to save the digest. Exit code 3 = no transcripts found →
use the Fallback below. The newest session is usually the one you're
running in — pass --exclude-session <its id> so the retrospective
doesn't analyze itself.
Read the digest (it fits in context — never read raw .jsonl).
Interpret — see references/signal-taxonomy.md. Separate:
Map findings to targets — see references/finding-to-target.md:
role-specific → that role's .agents/memory/<role>/; team-wide process →
.agents/workflow.md / .agents/conventions.md; durable fact → a curated
entry (via the memory skill). If .agents/ doesn't exist, the project
isn't seeded — a retrospective refines an existing lens, it doesn't create
one; run seeding-a-project first.
Propose, then wait. Present each proposed change as a diff plus a one-line rationale with its session-id evidence. Stop and wait for the user's ack. Do not write yet.
On ack, write:
memory skill (curated entries + MEMORY.md
index lines; project_briefing.md updates)..agents/workflow.md / conventions.md..agents/retrospectives/YYYY-MM-DD.md: sessions analyzed,
findings, what was applied, what was deferred and why..agents/memory/scout/.last-retrospective
as {"lastRun":"<ISO>","analyzed":[<session ids you just covered>]},
merging with any existing ids. Only after writing — never on a decline.If the parser exits with code 3, transcripts aren't accessible here. Ask the user to paste a session transcript or summary, then run steps 3–6 on that text (skip the watermark; note in the report that it was a pasted-transcript run).
.jsonl.references/transcript-schema.md — Claude Code JSONL + sub-agent layout.references/digest-format.md — the digest the parser emits.references/signal-taxonomy.md — signal definitions + thresholds.references/finding-to-target.md — finding→target mapping + safeguards.references/digest-format.md (opens in a new tab)references/finding-to-target.md (opens in a new tab)references/signal-taxonomy.md (opens in a new tab)references/transcript-schema.md (opens in a new tab)scripts/distill-sessions.mjs (opens in a new tab)scripts/distill-sessions.test.mjs (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
/session-retrospective:session-retrospectivefrom session-retrospective
npx claudepluginhub arozumenko/sdlc-skills --plugin session-retrospectiveOther plugins' skills for the same job