session-recap
Skill396 starsChanged 6 months agoMITView on GitHub
Reconstruct what happened in a past core session — from a high-level summary down to verbatim owner quotes — by reading the raw session transcripts (complete, crash-proof, unbiased), not the curated relay/handoff notes. Usage: /session-recap [last | <session-uuid-prefix> | list] [detail hint] Notes remain useful as a fast index into a long session — nothing more. Any work-summary the recap produces — boot catchup, human brief, or an on-demand "summarize what I did" — MUST cover these sections (scale depth…
5 other projects use a version of this.
Adopted by
Most recently taken up by
- thistleknot/skillstheir own version, first seen Nov 8, 2026
- RouanetClement/claude-skillstheir own version, first seen Oct 15, 2026
- blair-keck/claude-skillstheir own version, first seen Oct 13, 2026
- hideki5123/agent-skill-settheir own version, first seen Jul 9, 2026
- topness-msft/crowdhum-plugintheir own version, first seen Jul 8, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- hideki5123/agent-skill-set★ 2same name
- blair-keck/claude-skills★ 0same name
- RouanetClement/claude-skills★ 0same name
- thistleknot/skills★ 0same name
- topness-msft/crowdhum-plugin★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository73 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agent-activitySkill
- agent-registrySkill
- agent-room-opsSkill
- answer-formatSkill
- audio-transcribeSkill
- bee-actionsSkill
- bot2bot-postSkill
- call-diagnosticsSkill
- claude-codexSkill
- claude-geminiSkill
- claude-piSkill
- claude-routerSkill
- collaboration-intelligenceSkill
- connect-appsSkill
- context-dropSkill
- context-reconstructSkill
- db-browserSkill
- deal-finderSkill
- doc-ingestSkill
- electron-overlay-dimmingSkill
- email-findSkill
- engine-conflict-resolveSkill
- gemini-ttsSkill
- image-generationSkill
- import-claude-contextSkill
- local-workspace-serverSkill
- macos-toolsSkill
- macos-useSkill
- make-viral-videoSkill
- marketplaceSkill
- media-transcriptSkill
- meeting-prepSkill
- meeting-schedulerSkill
- mention-gateSkill
- model-switchSkill
- morning-briefingSkill
- ms365-connectSkill
- observeSkill
- obsidian-vaultSkill
- openai-ttsSkill
- open-sutando-refSkill
- overlay-appsSkill
- phone-conversationSkill
- proactive-loopSkill
- pr-shepherd-contractSkill
- quota-trackerSkill
- regression-searchSkill
- relaySkill
- releaseSkill
- report-feedbackSkill
- review-preflightSkill
- room-collabSkill
- schedule-cronsSkill
- screen-companionSkill
- screen-recordSkill
- self-diagnoseSkill
- self-upgradeSkill
- skill-usage-reportSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
Only the transcript has *verbatim* detail ("what did the owner say exactly").
- Distinctive: line 43
Read-only over transcripts.
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Session Recap
Reconstruct what happened in a past core session — from a high-level summary down to verbatim owner quotes — by reading the raw session transcripts (complete, crash-proof, unbiased), not the curated relay/handoff notes.
Usage: /session-recap [last | <session-uuid-prefix> | list] [detail hint]
Why transcripts, not notes (owner design, 2026-07-13)
- Relay/handoff notes are short and reflect my curation — bias by construction.
- Notes need a graceful exit; the transcript JSONL is appended by the harness live, so accidental restarts lose nothing.
- Only the transcript has verbatim detail ("what did the owner say exactly").
Notes remain useful as a fast index into a long session — nothing more.
How to run it
- Bound the session.
python3 skills/session-recap/scripts/extract.py listprints recent sessions (newest first: file uuid, start/end ISO, message counts, first user line). Cross-check with<workspace>/state/session-starts.log(one JSONL line per core boot; consecutive entries bound a session). "last" = the second-newest transcript (newest = the running session). - Extract.
python3 skills/session-recap/scripts/extract.py dump --session last --filter dialog --max-chars 0→ chronological[ts] USER:/ASSISTANT:stream.--filter userfor owner messages only (verbatim-quote lookups: just grep this).--filter alladds tool-call names + system lines when the recap needs to cover actions, not just conversation.--max-chars 0= no cap. - Summarize with a CHEAP model (owner requirement — transcripts run to tens of MB; never burn core-model quota on this). Spawn an Agent-tool subagent with
model: haiku, hand it the dump (or the dump file path if huge — have it Read in slices), and ask for: timeline, tasks processed + outcomes, PRs/commits, decisions, errors + fixes, artifacts (files/notes/memories written — the dump'sWrite(path)/Edit(path)tool lines carry the paths; owner requirement 2026-07-13), loose ends. Match the detail level the owner asked for. Drop routine operational noise (owner rule 2026-07-13): battery-escalation ladders, idle proactive-loop passes, quota checks, watcher restarts, memory syncs, health-check green runs — none of it belongs in a recap unless it materially changed the session's course (e.g. quota exhaustion forced a pivot, a crash lost work). - Deliver to the asking channel. For a verbatim-quote request, skip the subagent entirely — grep the
--filter userdump and quote directly.
Required summary structure (owner requirement 2026-07-13)
Any work-summary the recap produces — boot catchup, human brief, or an on-demand "summarize what I did" — MUST cover these sections (scale depth to the request, but never drop a section that applies):
- Executive summary (lead with it): the main initiative(s), the high-level goal, and the important decisions — especially architecture/design decisions (the why, not just the what). One-line status at the end.
- Detailed body: per-item technical detail — PRs with what each did + why + hazards hit, decisions + rationale, errors + their fixes, artifacts written (files/notes/memories — from the transcript's
Write/Edittool lines), loose ends. When the owner asks for "more detail," expand this — specific findings, exact fixes, reproductions, CI/tooling mechanics — not just more headlines. - Roadmap relationship (when the work maps to
roadmap/ROADMAP.md): which track/lane it advances and how (e.g. "closes Track-14 gap (a)"), plus a pointer to the relevant plan doc. - Recommended next actions: prioritized, naming the owner-gated blockers with exact commands (what unblocks the biggest thing first), then the follow-on work.
Save durable work-summaries under <workspace>/notes/work-summaries/YYYY-MM-DD.md (owner-created folder 2026-07-13), one file per summary, each opening with a *[workflow, summary] — author | window | requested-by* line.
Automatic recap on restart (owner directive 2026-07-13)
Primary consumer: the next session's agent (owner 2026-07-13). The boot recap is how the fresh core catches up properly — deeper and less biased than relay notes (which are short, curated, and lost on crash-exits). The human-facing room post is the secondary product.
On each core boot, /schedule-crons' final step runs this skill twice-in-one:
- Agent catchup (the point): generate a structured recap of the previous session tuned for the agent — open loops, in-flight PRs + their exact states, pending owner asks, decisions + their rationale, artifacts written, errors whose fixes are unverified. Generating it at boot puts it directly in the new session's context; also write it to
<workspace>/state/last-session-recap.mdso anything else can read it. - Human brief: if
recap_roomis set in<workspace>/hosts/<hostname>/recap.json(sibling of crons.json, which stays a bare job list) and a previous session transcript exists, produce a ~10-line recap of the previous session — what shipped, key decisions, owner asks left open, artifacts written; routine ops dropped — and post it torecap_roomvia gateway op:message. Privacy (owner rule 2026-07-13):recap_roomMUST be a private, owner-only room — a recap can contain anything from a session (drafts, credentials context, private conversations). Never point it at a shared/team room; when in doubt, skip the post and leave the recap on disk underdata/session-recaps/. Idempotence: stamp<workspace>/state/last-recap-session.txtwith the recapped session uuid; skip if it already names that session (protects mid-session /schedule-crons re-runs from duplicate posts). Deep recaps stay on-demand.
Notes
- Read-only over transcripts; never edit or move them.
- Transcript dir:
<workspace>/.claude-sutando/projects/<repo-slug>/*.jsonl(the script resolves it). - A session that spans compaction stays ONE file; a restart starts a new file — so file boundaries ARE session boundaries.
- Subagent (sidechain) transcripts can appear in the same dir as small files; the
listtable's message counts make them easy to spot and skip.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

