route

route is a skill for Claude Code, Codex from mehrad-dm/mastermind. It costs 50 tokens per session (1,264 once invoked), scanned A, original, MIT.

A task-routing guide for deciding what to inspect before starting work across several files or unfamiliar parts of a codebase.

In plain words
What is it for?
Use it to define the task, identify the relevant technology area, and choose the files or other guidance to load first.
Why use it?
It prevents unnecessary reading and helps avoid starting with the wrong context. It also skips planning for trivial, already-scoped changes.

Skill for Claude CodeCodex

Part of the mastermind plugin — 23 skills, 4 agents, 1 hook shipped together

Install

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.

agentmods
npx agentmods add skills/mehrad-dm/mastermind/route
Any agent
npx skills add mehrad-dm/mastermind --skill route
Clone the repo
git clone --depth 1 https://github.com/mehrad-dm/mastermind

Made for: Claude Code, Codex.

Or install mastermind, the plugin that ships this one along with the rest of its 23 skills, 4 agents, 1 hook.

Wrote 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.

agentmods badge for route

README.md
[![agentmods](https://agentmods.dev/badge/skills/mehrad-dm/mastermind/route.svg)](https://agentmods.dev/skills/mehrad-dm/mastermind/route)
Your own site
<a href="https://agentmods.dev/skills/mehrad-dm/mastermind/route"><img src="https://agentmods.dev/badge/skills/mehrad-dm/mastermind/route.svg" alt="Measured on agentmods" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,264 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00050 $0.01264
Opus 5 $0.00025 $0.00632
Sonnet 5 $0.00010 $0.00253
Haiku 4.5 $0.00005 $0.00126

Measured 5d ago against content hash 5089010b04e9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

route 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 5d 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.

skills/route/SKILL.md · 81 lines

How it starts

The opening of the file, as written. The whole thing — 81 lines — stays where its author put it; the contents beside it link to each section on GitHub.

MasterMind: Wayfinder

The front door of substantive work: decide what to load before you start, so you pull the 1–2 things a task needs instead of reading the whole brain. It's the skill that operationalizes MasterMind's token economy (~/.mastermind/engineering/active-field.md): and it knows when not to run.

Method

  1. Name the destination. One line: what is this task actually producing? Scope before routing.
  2. Right-size the map. If it's a one-line diff, a typo, or obviously covered by what's already in context: say "no map needed, just do it" and exit. Ceremony on a trivial task is waste (this is the same instinct as ~/.mastermind/engineering/core/rigor.md's refuse-list and "keep the always-on layer tiny").
  3. Detect the field: package.json/configs/file types (usually free and decisive).
  4. Build the load manifest: links only, no summaries. Consult ~/.mastermind/engineering/ROUTER.md and pick, by matching the task to each node's route_when:
    • which field-pack file(s) to load (and their token cost: budget it),
    • which skill(s) fit: pick from the index at ~/.mastermind/skills/README.md (which also names the isolated-context agents in ~/.mastermind/agents/): read that index, since memory goes stale,
    • which core docs the task genuinely needs (mindset/principles/rigor/agent-loop/product-sense in ~/.mastermind/engineering/core/),
    • which codebase areas to read first. The manifest points to files to open; it links instead of paraphrasing (so it can't drift out of sync).
  5. Load progressively. For a big/foggy task, load the entrance set only; name the next files after the first decisions resolve. Front-load only the context this step uses.

Offer what fits: at most once, and only when it changes the outcome

Most users know three or four skills and never discover the rest, so a capability they already own stays invisible until it's too late to help. Routing is the one moment you can see the whole task and the whole library, so it's the right place: and the only place: to say something.

Read the full file on GitHub · 81 lines

Files

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.

Changes

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.

  1. 5d ago First seen · 81 lines · 50 tokens per session scan A 5089010b04e9

Subscribe to this mod's changes

route is a skill published in the GitHub repository mehrad-dm/mastermind (24 stars, last pushed 5d ago), licensed MIT. It adds 50 tokens to every session and 1,264 once invoked, about $0.0003 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-30.

Related

Other skills, from other repositories

triage

Triage GitHub issues by applying type, effort, priority, and area labels. Runs in an isolated context to avoid polluting the main conversation with issue details. Delegates to a specialized triage agent with label validation hooks.

coleam00/Archon · 50 tokens

docker-extend

Use when: User wants to extend Docker with custom tools, personalize the Docker environment, or set up user-specific Docker customization. Triggers: 'extend docker', 'docker-extend', 'add tools to docker', 'customize docker', 'add my tools to the container', 'personalize docker setup', 'docker user setup', 'install…

coleam00/Archon · 118 tokens

writing-git-commits

Write clear, focused Git commit messages and keep commits easy to review.

patriceckhart/zot · 14 tokens

st-full-workflow

Use when the user asks to run the complete end-to-end Strikethroo workflow for a work order in one shot in this repository — triggers include full workflow, end-to-end, plan and execute, do everything, run the whole strikethroo workflow. Do not use when the user wants only one stage (create a plan, generate tasks, or…

e0ipso/strikethroo · 90 tokens

st-refine-plan

Use when the user asks to review, refine, improve, interrogate, pressure-test, or update an existing Strikethroo plan by plan ID in this repository — triggers include refine plan, improve plan, review plan, red-team the plan, update plan. Do not use to create a new plan, to generate tasks, or for generic brainstorming…

e0ipso/strikethroo · 81 tokens

hatch3r-board-refresh

Regenerates the living board overview dashboard from current board state. Scans all open issues, computes health metrics, and updates the meta:board-overview issue.

hatch3r/hatch3r · 40 tokens