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 sjarmak/coding-agent-workflows --skill handoff-docgit clone --depth 1 https://github.com/sjarmak/coding-agent-workflowsWrote 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/sjarmak/coding-agent-workflows/handoff-doc)<a href="https://agentmods.dev/skills/sjarmak/coding-agent-workflows/handoff-doc"><img src="https://agentmods.dev/badge/skills/sjarmak/coding-agent-workflows/handoff-doc/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/sjarmak/coding-agent-workflows/handoff-doc"><img src="https://agentmods.dev/badge/skills/sjarmak/coding-agent-workflows/handoff-doc.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.00040 | $0.01783 |
| Opus 5.5 | $0.00016 | $0.00713 |
| Sonnet 5.5 | $0.00008 | $0.00357 |
| Haiku 4.5 | $0.00004 | $0.00178 |
Grade A, and why
handoff-doc 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 1mo 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 — 221 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Handoff Doc: Durable Context Continuation
Record continuation context in the repository's durable handoff store. The next session gets a pointer, reads the document, and follows that store's lifecycle.
Use this when:
- Nearing the auto-compact or context limit
- Starting a fresh session while preserving important context
- The handoff is long enough that a pasted prompt is unwieldy
- The next session may be started by someone else, or later
Why a file instead of a pasted prompt:
- Survives clipboard churn between clearing the session and starting the new one
- Holds more context than is comfortable to paste
- The pointer is short and stable, so it works from a script, a cron job, or another agent
- The repository's lifecycle records when a handoff has been consumed
The Job
- Get the user's goal for the next session
- Extract relevant context from the current conversation
- Identify important files that were worked on
- Write the handoff to the configured store or its documented file adapter
- Show the user the short pointer prompt for the new session
Step 1: Get the User's Goal
Use the active task as the goal when it is clear. If no goal can be recovered, ask:
What do you want to continue working on in the new session?
Step 2: Extract Relevant Context
Analyze the current conversation and extract information from your own perspective, writing in first person ("I did...", "I found...").
Include:
- What was accomplished: major implementations, fixes, or changes made
- Key decisions: architecture choices, patterns chosen, libraries selected
- Important discoveries: APIs, methods, patterns found in the codebase
- Constraints and preferences: user-specified requirements, patterns to follow
- Caveats and limitations: edge cases, known issues, things to watch out for
- Open questions: unresolved issues or decisions needed
- Plans or specs: if a plan was created, summarize the key points
- State of the working tree: uncommitted changes, branch name, failing tests, half-finished edits. The next session cannot see any of this and will otherwise rediscover it the expensive way.
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.
- 1mo ago Changed · -17 lines · -29 tokens per session 10602e45e89a
- 2mo ago First seen · 238 lines · 69 tokens per session scan A 4377f84bd8f8
handoff-doc is a skill published in the GitHub repository sjarmak/coding-agent-workflows (7 stars, last pushed 2d ago), licensed MIT. It adds 40 tokens to every session and 1,783 once invoked, about $0.0002 per session on Opus 5.5. 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-09-05.
handoff-doc compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| handoff-docsjarmak/coding-agent-workflows | Skill | 7 | 2d ago | MIT | A | 40 | Claude Code, Codex |
| planning-with-filesmxyhi/ok-skills | Skill | 518 | 9d ago | Apache-2.0 | A | 117 | Claude Code |
| ponytailmxyhi/ok-skills | Skill | 518 | 9d ago | Apache-2.0 | A | 91 | Claude Code |
| obsidian-baseskepano/obsidian-skills | Skill | 55k | 3d ago | MIT | A | 63 | Claude Code |
| grillingvinvcn/mattpocock-skills-zh-CN | Skill | 6.2k | 5d ago | MIT | A | 43 | Claude Code, Codex |
| stay-within-limitsBuilderIO/skills | Skill | 4.7k | 3d ago | MIT | A | 45 | Claude Code |
| learntw93/Waza | Skill | 7.7k | 12d ago | MIT | A | 39 | Claude Code |