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 agentmods add commands/baek-labs/hames/handoffgit clone --depth 1 https://github.com/baek-labs/hamesWrote 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/baek-labs/hames/handoff)<a href="https://agentmods.dev/commands/baek-labs/hames/handoff"><img src="https://agentmods.dev/badge/commands/baek-labs/hames/handoff.svg" alt="Measured on agentmods" 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 | $0.00017 | $0.00556 |
| Opus 5 | $0.00009 | $0.00278 |
| Sonnet 5 | $0.00003 | $0.00111 |
| Haiku 4.5 | $0.00002 | $0.00056 |
Grade A, and why
handoff 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 3d 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 — 72 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/handoff
Usage: /handoff <target_model>
Examples:
/handoff gemini/handoff codex
Flow
Step 1 — Confirm target model
- Read
$ARGUMENTSand extract the target model (claude,gemini, orcodex). - If no target model is given, ask which model should receive the handoff.
Step 2 — Summarize the current session From the active conversation and working context, prepare:
task_summarycurrent_statenext_stepsource_modelsource_workspacehandoff_idin the formatHAMES-{YYYYMMDD}-{KEYWORD}
source_workspace must be the real workspace where the work happened. Do not use AI_COMM as the source workspace.
Step 3 — Create the handoff file
powershell -NoProfile -ExecutionPolicy Bypass -File arsenal/create_handoff.ps1 `
-HandoffId "<handoff_id>" `
-TargetModel "<target_model>" `
-SourceModel "<source_model>" `
-SourceWorkspace "<source_workspace>" `
-TaskSummary "<task_summary>" `
-CurrentState "<current_state>" `
-NextStep "<next_step>"
create_handoff.ps1 builds the handoff document directly from these arguments. Do not depend on .hames_context.json.
Step 4 — Refresh target bootstrap only if needed
For gemini:
powershell -NoProfile -ExecutionPolicy Bypass -File arsenal/start_hames_gemini.ps1 `
-Task "<task_summary>" `
-TargetPath "<source_workspace>" `
-Handoff
For codex:
powershell -NoProfile -ExecutionPolicy Bypass -File arsenal/start_hames_codex.ps1 `
-Task "<task_summary>" `
-TargetPath "<source_workspace>" `
-Handoff
For claude, skip bootstrap generation.
Step 5 — Validate
powershell -NoProfile -ExecutionPolicy Bypass -File arsenal/validate_handoff.ps1 `
-HandoffFile "ai_comm/_Inbox/Handoff_<handoff_id>.md"
Step 6 — Report
- PASS: report the handoff file path, bootstrap file path if one was generated, and the handoff id.
- FAIL: report the missing fields or validation failures and request manual correction.
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.
- 3d ago First seen · 72 lines · 17 tokens per session scan A 09de6645411a
handoff is a command published in the GitHub repository baek-labs/hames (5 stars, last pushed 1mo ago), licensed MIT. It adds 17 tokens to every session and 556 once invoked, about $0.0001 per session on Opus 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-08-31.
Other commands, from other repositories
cost-tracker
Track session costs, understand token spend, and get optimization tips.
dispatcher
Pick the next-best repo to work on across the portfolio — rank free repos, recommend one, claim its lease atomically, and route to the entry command.
discover
Search the Everruns(Dev) API catalog for available operations.
audit-plugin
Audit plugin skills, commands, and agents for structure, size, and naming issues.
tdd
TDD workflow - red-green-refactor per docs/methodology/tdd.md. Use when asked to '/tdd', 'TDD workflow', 'red-green-refactor', 'test-first development', 'write the failing test first'.
task
Delegate a task to Gemini CLI as a background or foreground job.