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 xcrft/mastermind --skill mastermind-agent-handoffgit clone --depth 1 https://github.com/xcrft/mastermindWrote 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/xcrft/mastermind/mastermind-agent-handoff)<a href="https://agentmods.dev/skills/xcrft/mastermind/mastermind-agent-handoff"><img src="https://agentmods.dev/badge/skills/xcrft/mastermind/mastermind-agent-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/skills/xcrft/mastermind/mastermind-agent-handoff"><img src="https://agentmods.dev/badge/skills/xcrft/mastermind/mastermind-agent-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.00042 | $0.00834 |
| Opus 5.5 | $0.00017 | $0.00334 |
| Sonnet 5.5 | $0.00008 | $0.00167 |
| Haiku 4.5 | $0.00004 | $0.00083 |
Grade A, and why
mastermind-agent-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 — 75 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Mastermind agent handoff
Before each new agent in a Mastermind workflow, select and apply effort once. This step also applies to Direct work when it delegates. It grants no authority to delegate, edit, approve or publish beyond the current task.
Check the active dispatch rules first. A dispatcher that forbids effort
overrides, such as TokenX assignment routing, cannot share this setting with
Mastermind. Stop the handoff with not_applied until the caller selects one
effort authority. Do not launch a child at inherited effort after detecting
this conflict or bypass its guard. Keep the user's selected model.
Select
Call mmcg_effort_route with the receiving agent's actual duty, task family,
source-only/bounded/stable scope, lexical-map condition and inspected risk.
If MCP is unavailable, use mastermind effort-route without --exec and parse
its JSON. Missing or unknown context selects high; do not invent declarations
to obtain low. Set user_effort only for an explicit human choice.
Low requires researcher duty, callees_trace, source_read_reuse or
task_phase_trace, all four scope conditions, inspected low risk, and a lexical
map capped at 1600 bytes with the frozen direct-read/uncovered-range instruction.
Execution, review, security and unknown duties select high. The low pilot has
GPT-6.1 Sol quality evidence only; other model profiles remain uncalibrated.
Apply to the ordinary spawn
| Host | Per-agent setting |
|---|---|
Codex spawn_agent |
Pass returned codex_spawn_args: fork_turns: "none" and reasoning_effort: requested_effort. Preserve any existing model choice; do not add a model override just to route effort. |
Claude non-fork Agent, 2.1.292 or later |
Pass effort: requested_effort; a conflicting environment override prevents application. |
| Another host | Use its supported per-agent control; record not_applied when unavailable. |
Codex full-history forks inherit the parent's effort and cannot accept this override. Use a fresh child with a self-contained packet: role instructions, original objective, authorized scope, relevant facts and source citations, remaining obligations, source/map bindings, permissions and budgets. Include the router's request, decision and reason as evidence; prose is not the setting. Do not reconstruct omitted history from guesses.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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 Changed · +7 tokens per session 4596172dcf38
- 1mo ago First seen · 75 lines · 35 tokens per session scan A f862523fb254
mastermind-agent-handoff is a skill published in the GitHub repository xcrft/mastermind (13 stars, last pushed 2d ago), licensed MIT. It adds 42 tokens to every session and 834 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-10-14.
mastermind-agent-handoff compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mastermind-agent-handoffxcrft/mastermind | Skill | 13 | 2d ago | MIT | A | 42 | Codex |
| roamCranot/roam-code | Skill | 517 | 3d ago | Apache-2.0 | A | 86 | Claude Code |
| reviewSimplyLiz/ckb | Skill | 114 | 6d ago | none | A | 38 | Claude Code |
| auditSimplyLiz/ckb | Skill | 114 | 6d ago | none | A | 26 | Claude Code |
| code-registryThe-Code-Registry/mcp-server | Skill | 1 | 12d ago | MIT | A | 48 | Claude Code, Codex |
| dorabutttons/dora | Skill | 109 | 8mo ago | MIT | A | 24 | Claude Code, Codex |
| codehelper-browserVeyrForge/codehelper | Skill | 2 | 4mo ago | none | A | 0 | Claude Code, Codex |