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/vanzan01/claude-code-sub-agent-collectiveWrote 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/vanzan01/claude-code-sub-agent-collective/test-handoff-chain)<a href="https://agentmods.dev/commands/vanzan01/claude-code-sub-agent-collective/test-handoff-chain"><img src="https://agentmods.dev/badge/commands/vanzan01/claude-code-sub-agent-collective/test-handoff-chain/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/vanzan01/claude-code-sub-agent-collective/test-handoff-chain"><img src="https://agentmods.dev/badge/commands/vanzan01/claude-code-sub-agent-collective/test-handoff-chain.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.00000 | $0.00379 |
| Opus 5.5 | $0.00000 | $0.00152 |
| Sonnet 5.5 | $0.00000 | $0.00076 |
| Haiku 4.5 | $0.00000 | $0.00038 |
Grade A, and why
test-handoff-chain 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 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.
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
Test Handoff Chain
Test the complete handoff automation mechanism using mock agents with real TaskMaster tasks.
What This Tests
- DECISION.md auto-delegation mechanism
- NEXT_ACTION.json context file creation
- Hook-based handoff detection
- Context reconstruction protocol
- TaskMaster integration with handoffs
Test Scenario
Simulates the complete development workflow:
- Start: mock-test-handoff-agent (reads tasks, initiates chain)
- Infrastructure: mock-implementation-agent (Task 1 setup)
- Component: mock-component-implementation-agent (Task 2 TodoList)
- Testing: mock-testing-agent (Task 4 Jest tests)
- Complete: Full validation evidence
Expected Evidence
After running, you should see:
.claude/handoff/NEXT_ACTION.jsonfiles created at each step- Hook logs showing handoff detection
- Automatic delegation without manual intervention
- Complete chain execution through all 4 agents
Usage
# In Claude Code:
Use the mock-test-handoff-agent subagent to validate the complete handoff automation chain.
Validation Points
- Context Files: Check
.claude/handoff/for NEXT_ACTION.json - Hook Logs: Review
/tmp/test-driven-handoff.logfor detections - Auto-Delegation: Verify no manual intervention needed
- Chain Completion: All 4 agents execute in sequence
Success Criteria
✅ Each agent creates proper handoff syntax
✅ Hook detects patterns and creates context files
✅ Auto-delegation triggers correctly
✅ Full chain completes without interruption
✅ Real TaskMaster tasks used (not mock data)
This validates that our handoff mechanism works in cleared contexts and with real project data.
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 First seen · 52 lines · 0 tokens per session scan A e35976e90669
test-handoff-chain is a command published in the GitHub repository vanzan01/claude-code-sub-agent-collective (525 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 379 tokens. 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-30.
test-handoff-chain compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| test-handoff-chainvanzan01/claude-code-sub-agent-collective | Command | 525 | 6mo ago | MIT | A | 0 | Claude Code |
| review-pryonatangross/orchestkit | Command | 299 | yesterday | MIT | A | 40 | Claude Code, Cursor |
| fix-issueyonatangross/orchestkit | Command | 299 | yesterday | MIT | A | 45 | Claude Code, Cursor |
| implementyonatangross/orchestkit | Command | 299 | yesterday | MIT | A | 50 | Claude Code, Cursor |
| verifyyonatangross/orchestkit | Command | 299 | yesterday | MIT | A | 55 | Claude Code, Cursor |
| create-pryonatangross/orchestkit | Command | 299 | yesterday | MIT | A | 46 | Claude Code, Cursor |
| design-to-codeyonatangross/orchestkit | Command | 299 | yesterday | MIT | A | 54 | Claude Code, Cursor |