Borrowing it
Nothing to install: this file belongs to bredmond1019/claude-sdk-rs. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/bredmond1019/claude-sdk-rs/main/.claude/commands/session-recap.mdgit clone --depth 1 https://github.com/bredmond1019/claude-sdk-rsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/bredmond1019/claude-sdk-rs/session-recap)<a href="https://agentmods.dev/commands/bredmond1019/claude-sdk-rs/session-recap"><img src="https://agentmods.dev/badge/commands/bredmond1019/claude-sdk-rs/session-recap/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/bredmond1019/claude-sdk-rs/session-recap"><img src="https://agentmods.dev/badge/commands/bredmond1019/claude-sdk-rs/session-recap.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.01150 |
| Opus 5.5 | $0.00000 | $0.00460 |
| Sonnet 5.5 | $0.00000 | $0.00230 |
| Haiku 4.5 | $0.00000 | $0.00115 |
Grade A, and why
session-recap scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 96 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Session Recap — Summarize recent work and current standing before starting a session.
Reads the most recent Log entries and status.md to produce a tight briefing: what was completed recently, where work left off, and the exact next command to run. Use this at the start of a coding session before doing anything else.
Instructions
-
Check for an active handoff:
ls planning/handoff.md 2>/dev/null.- If the file exists, read it and lead the briefing with an Active Handoff section:
## Active Handoff — <title from handoff.md> <What's in flight and why.> Remaining: <bullet list from "Remaining work"> First command: `<command from "First command after /prime">` > Delete `planning/handoff.md` once this session has consumed it. - If absent, skip silently and proceed to step 1.
- If the file exists, read it and lead the briefing with an Active Handoff section:
-
Read
log.md. Focus on the three most recent entries (identified by## YYYY-MM-DDheadings). Extract: what was built or changed, any decisions made, and any explicit "left off at" or "next step" notes the author wrote. -
Read
planning/status.md. Extract:- Current focus block
- Which blocks are
In progress,Done, andNot started(status is title-case in status.md; tolerate lowercase variants if present) - Last updated date
-
If a task spec exists for the current focus block at
planning/<name>/tasks.md, read it. Identify:- Which steps are marked done (have
[done]prefix) - Which steps remain
- Any notes in the
## Notessection
- Which steps are marked done (have
-
Check
planning/<name>/sdlc/reports/for any existing pipeline reports for the current block (e.g.implement.md,task3-test.md). Note which pipeline steps have been completed (have a report file) and which haven't. -
Read
planning/state.jsonif present. Extract any activecarryover[]entries (those whoseclears_whenis unresolved) — durable constraints, known-issues, env caveats, and deferred follow-ons. Skip silently if the file or array is absent.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago First seen · 96 lines · 0 tokens per session scan A d296aebce524
session-recap is a command published in the GitHub repository bredmond1019/claude-sdk-rs (23 stars, last pushed 1mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,150 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-26.
session-recap compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| session-recapbredmond1019/claude-sdk-rs | Command | 23 | 1mo ago | Apache-2.0 | A | 0 | Claude Code |
| setup-contextmohitagw15856/pm-claude-skills | Command | 1.5k | yesterday | MIT | A | 21 | Claude Code |
| brainmohitagw15856/pm-claude-skills | Command | 1.5k | yesterday | MIT | A | 17 | Claude Code |
| pull-learningsclosedloop-ai/claude-plugins | Command | 123 | today | Apache-2.0 | A | 12 | Claude Code |
| vitaecontext-vitaegraphvitaecontext/vitaecontext | Command | 88 | 3d ago | MIT | A | 12 | Claude Code |
| perf-difficult-conversationfrankxai/Starlight-Intelligence-System | Command | 10 | yesterday | MIT | A | 93 | Claude Code |
| culture-onboarding-90frankxai/Starlight-Intelligence-System | Command | 10 | yesterday | MIT | A | 101 | Claude Code |