Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add restarter/lets-workflow --skill session-snapshotgit clone --depth 1 https://github.com/restarter/lets-workflowWrote 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/skills/restarter/lets-workflow/session-snapshot)<a href="https://agentmods.dev/skills/restarter/lets-workflow/session-snapshot"><img src="https://agentmods.dev/badge/skills/restarter/lets-workflow/session-snapshot/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/skills/restarter/lets-workflow/session-snapshot"><img src="https://agentmods.dev/badge/skills/restarter/lets-workflow/session-snapshot.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.00082 | $0.02577 |
| Opus 5.5 | $0.00033 | $0.01031 |
| Sonnet 5.5 | $0.00016 | $0.00515 |
| Haiku 4.5 | $0.00008 | $0.00258 |
Grade B, and why
session-snapshot scanned grade B with 1 finding 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 yesterday.
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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
TRANSCRIPT_PATH=$(find "$HOME/.claude/projects" -maxdepth 2 -name "${CLAUDE_CODE_SESSION_ID}.jsonl" 2>/dev/null | head -1) How it starts
The opening of the file, as written. The whole thing — 118 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Session Snapshot
Shared snapshot primitive for /lets:end (settlement + snapshot) and for the --session snapshot-only flag on both /lets:end and /lets:note. Single source of truth - every caller delegates here so the template and file/pointer behavior never drift.
Goal: ONE recovery-grade ## RESUME snapshot, file-primary - it ALWAYS lands in a .lets/sessions/ file (the single trail /lets:start reads), regardless of task state (feature / trunk / --main / no-task). The active task gets only a ONE-LINE pointer to that file, and only when a task is unambiguously active (via detect-task, NEVER a list-by-status | head -1 guess).
Contract - this skill ONLY writes the snapshot (file + optional pointer). It does NOT end the session, push, merge, commit, or close anything. The caller decides what else to do.
Arguments (from the caller)
Passed via the Skill invocation's args string as space-separated key=value pairs (e.g. args: "kind=end pointer=off task-id=lets-abc range=session: X..HEAD (3 commits)"). Put range= / task-id= LAST when the value contains spaces - each consumes the rest of the string. Any omitted key falls to its default.
kind=session(default) |end- selects the### Recordline ONLY; both resolve to the sameartifact-pathkind (snapshot), because a mid-session record and a session-end record are the same artifact written at different moments. There is noprecompactkind: a snapshot taken before a/compactis just a mid-session one, and naming the caller's next intention in a permanent file is what made the old flag dishonest. Step 3 owns the filename, never build it here.pointer=off(default) |auto- whether the skill writes the standalone one-line task pointer.offis the SAFE default (a caller that forgets never double-writes a task comment); a caller that wants the skill to write the pointer passesautoexplicitly (both snapshot-only callers do)./lets:enddefault passesoffwhen it folds the pointer into its own progress comment,autootherwise.range(optional) - a RANGE_DESC string (e.g.session: <ref>..HEAD (N commits)). A caller that passes one WINS -/lets:end's default flow does, because it already read the boundary to gate its own offers. When it is absent, Step 2 resolves it throughsession-boundaryrather than omitting the block, for EVERY kind. Every snapshot is read back by the same consumer,/lets:start, for the same purpose - where the work began - so none of them has a reason to be written without its range (lets-yprsv).task-id(optional) - pre-resolved active task from the caller's own detect-task.
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.
- yesterday Changed 1a487733ea2b
- 1mo ago Changed 8905abfcd714
- 2mo ago Changed · +2 lines 789d061bddb2
- 2mo ago Changed · +2 lines a26e3f5b9e01
- 2mo ago Changed · +7 lines 1d20c9dd99cd
- 2mo ago Changed · +11 lines · -1 tokens per session f04c6b63f650
- 3mo ago First seen · 96 lines · 83 tokens per session scan B 1e9d1aae5ce8
session-snapshot is a skill published in the GitHub repository restarter/lets-workflow (17 stars, last pushed 2d ago), licensed MIT. It adds 82 tokens to every session and 2,577 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
session-snapshot compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| session-snapshotrestarter/lets-workflow | Skill | 17 | 2d ago | MIT | B | 82 | Claude Code |
| dekko-verifyaahlijia/dekko | Skill | 6 | 12d ago | MIT | A | 151 | Claude Code |
| dekko-review-contextaahlijia/dekko | Skill | 6 | 12d ago | MIT | A | 74 | Claude Code |
| fixJebel-Quant/rhiza-claude | Skill | 8 | today | none | A | 51 | Claude Code |
| watch-prjustincampbell/gh-watch | Skill | 4 | 1mo ago | MIT | A | 48 | Claude Code |
| triage-reportRockyHong/super-bootstrap | Skill | 3 | 2d ago | MIT | A | 151 | Claude Code |
| review-healthscharissis/polako | Skill | 1 | 3d ago | MIT | A | 0 | Claude Code |