Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add Vit129/agy-plugin-cc/plugin install agyWrote 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/vit129/agy-plugin-cc/handoff)<a href="https://agentmods.dev/commands/vit129/agy-plugin-cc/handoff"><img src="https://agentmods.dev/badge/commands/vit129/agy-plugin-cc/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/vit129/agy-plugin-cc/handoff"><img src="https://agentmods.dev/badge/commands/vit129/agy-plugin-cc/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.00025 | $0.00632 |
| Opus 5.5 | $0.00010 | $0.00253 |
| Sonnet 5.5 | $0.00005 | $0.00126 |
| Haiku 4.5 | $0.00003 | $0.00063 |
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 6d 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.
What it actually says
Hand the task to agy as a whole and act as the verifier only.
Raw arguments: $ARGUMENTS
When to hand off. A coherent change of roughly 200+ lines whose "done" is defined by tests (existing ones that must pass, or tests written first). Measured elsewhere, hand-off costs about 0.6× doing it yourself on such tasks, and more than doing it yourself on small edits, and it takes 3–4× the wall-clock time. If the task is a small edit, a judgement call, or has no test command, say so and suggest /agy:rescue or doing it directly instead of handing off.
Steps:
- Write the requirement as observable behavior (10–30 lines): context, what must be true afterwards, constraints, which test files must pass unmodified. Do not open source files to write it; if you do not know the codebase, ask the user or run
/agy:agyfor a short digest first. - The companion refuses to start on
main/masteror with uncommitted changes. If either applies, tell the user and stop; do not create branches or stash on your own. - Run in the background unless the user passed
--wait:
node "${CLAUDE_PLUGIN_ROOT}/scripts/agy-companion.mjs" handoff --background $ARGUMENTS
Then tell the user: "agy hand-off started in the background. Check /agy:status for progress." Use /agy:result <id> to collect it.
4. While it runs, do not read the diff or edit files in the repository.
5. Report the result in a few lines: status (PASS, FAIL, TEST FILES MODIFIED, AGY FAILED), rounds, the diff stat. Hand the diff to the user as a first draft for human review (look for dead code, duplicated helpers, options nobody asked for). On FAIL, offer one more hand-off with a sharper requirement or taking over; do not patch agy's work by hand and call it a hand-off.
The companion detects the test command from package.json, pyproject.toml, go.mod or Cargo.toml; pass --verify when the gate is something else. Each agy run has a 60-minute --print-timeout unless you pass one.
If agy is not installed, tell the user to run /agy:setup.
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.
- 6d ago First seen · 27 lines · 25 tokens per session scan A 4c47d7734ee1
handoff is a command published in the GitHub repository Vit129/agy-plugin-cc (6 stars, last pushed 3d ago), licensed Apache-2.0. It adds 25 tokens to every session and 632 once invoked, about $0.0001 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-11-25.
handoff compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| handoffVit129/agy-plugin-cc | Command | 6 | 3d ago | Apache-2.0 | A | 25 | Claude Code |
| aidd-featuremagic5644/Graph-It-Live | Command | 64 | yesterday | MIT | A | 78 | Claude Code |
| aidd-bugfixmagic5644/Graph-It-Live | Command | 64 | yesterday | MIT | A | 67 | Claude Code |
| aidd-quick-winmagic5644/Graph-It-Live | Command | 64 | yesterday | MIT | A | 52 | Claude Code |
| aidd-design-uxmagic5644/Graph-It-Live | Command | 64 | yesterday | MIT | A | 56 | Claude Code |
| aidd-optimizemagic5644/Graph-It-Live | Command | 64 | yesterday | MIT | A | 46 | Claude Code |
| aidd-plan-mvpmagic5644/Graph-It-Live | Command | 64 | yesterday | MIT | A | 50 | Claude Code |