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.
git clone --depth 1 https://github.com/rjwalters/kicad-toolsWrote 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/rjwalters/kicad-tools/handoff)<a href="https://agentmods.dev/commands/rjwalters/kicad-tools/handoff"><img src="https://agentmods.dev/badge/commands/rjwalters/kicad-tools/handoff/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/rjwalters/kicad-tools/handoff"><img src="https://agentmods.dev/badge/commands/rjwalters/kicad-tools/handoff.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.00034 | $0.03569 |
| Opus 5.5 | $0.00014 | $0.01428 |
| Sonnet 5.5 | $0.00007 | $0.00714 |
| Haiku 4.5 | $0.00003 | $0.00357 |
Grade B, and why
handoff 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 2mo 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
# After relaunching, read it yourself: cat .claude/handoff.md How it starts
The opening of the file, as written. The whole thing — 297 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/repo:handoff — Roll the Session Safely
Rolling a Claude Code session — quitting the CLI and starting fresh — is the moment a session's most valuable output is most likely to be lost, because what is worth carrying forward is exactly what exists only in the session's context: in-flight state, settled decisions, and empirically-discovered traps. This command makes the roll a repeatable ritual instead of an ad-hoc scramble.
It composes the existing commands rather than reimplementing them — [[followups]] to capture deferred work, [[reset]] to reach a clean git baseline — and adds only what does not exist yet: the CLI version check, the handoff note, and exact restart instructions.
Relationship to /compact: compaction handles the soft boundary —
context pressure within a continuous session. /repo:handoff handles the
hard boundary: process restart, CLI upgrade, or a deliberate fresh start. If
the version check below finds no update and the only pressure is context size,
say so — a /compact may be all that's needed.
Usage
/repo:handoff # Run the ritual end-to-end, confirmations as usual
/repo:handoff --dry-run # Preview the note and proposed actions; file, prune, and write nothing
/repo:handoff --prune # Pass --prune through to the reset stage
/repo:handoff --force # Proceed even when the step-0 preflight fails
Steps — ordering is load-bearing
Run the stages in exactly this order. Each later stage depends on the earlier ones having actually happened.
0. Preflight — confirm something will actually read the note
Run before followups and reset, and stop on a blocking failure. Everything
below produces a note; this step proves the note has a reader first. That
reader is a session-start-handoff.sh SessionStart hook in two halves — a
script, and its wiring in .claude/settings.json — which install.sh writes
to paths with different git dispositions, so neither check substitutes for the
other.
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.
- 2mo ago Changed · +147 lines scan A → B aa00c4537960
- 3mo ago First seen · 150 lines · 34 tokens per session scan A 85abde2338cf
handoff is a command published in the GitHub repository rjwalters/kicad-tools (77 stars, last pushed 15d ago), licensed MIT. It adds 34 tokens to every session and 3,569 once invoked, about $0.0001 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.
handoff compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| handoffrjwalters/kicad-tools | Command | 77 | 15d ago | MIT | B | 34 | Claude Code |
| red-teammohitagw15856/pm-claude-skills | Command | 1.6k | today | MIT | B | 23 | Claude Code |
| instinct-importmycelium-hq/ai-brain-starter | Command | 61 | 2d ago | MIT | A | 16 | Claude Code |
| acos-checkpointfrankxai/agentic-creator-os | Command | 14 | yesterday | Apache-2.0 | A | 0 | Claude Code |
| monomind-statusmonoes/monomind | Command | 23 | yesterday | Apache-2.0 | A | 21 | Claude Code |
| hygiene-statusMSApps-Mobile/claude-plugins | Command | 14 | yesterday | MIT | A | 19 | Claude Code |
| release-flowcoo1white/cool-workflow | Command | 2 | 7d ago | BSD-2-Clause | A | 20 | Claude Code |