route

route is a skill for Claude Code from melodic-software/claude-code-plugins. It costs 135 tokens per session (1,063 once invoked), scanned A, original, MIT.

A configuration resolver for choosing which AI model and work effort each role in a multi-agent run should use. It supports roles such as the coordinator, worker, checker, and retrieval agent, and reports where each choice came from.

In plain words
What is it for?
Use it to resolve settings for one role or all roles, select a workload type, identify the current model family, and print single-agent and fan-out configurations as JSON.
Why use it?
It keeps model choices in one place instead of scattering them across workflow scripts, while showing how defaults and configuration layers produced each result.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the multi-agent plugin — 3 skills, 2 agents shipped together

Good fit Use it to resolve settings for one role or all roles, select a workload type, identify the current model family, and print single-agent and fan-out configurations as JSON.

Compare 6 skills from other repositories ↓
Install

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.

Claude Code
/plugin marketplace add melodic-software/claude-code-plugins
Claude Code
/plugin install multi-agent

Made for: Claude Code.

Or install multi-agent, the plugin that ships this one along with the rest of its 3 skills, 2 agents.

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/melodic-software/claude-code-plugins/route/github.svg)](https://agentmods.dev/skills/melodic-software/claude-code-plugins/route)
Your own site
<a href="https://agentmods.dev/skills/melodic-software/claude-code-plugins/route"><img src="https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/route/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.

agentmods 80×15 button for route

Your own site · 80×15
<a href="https://agentmods.dev/skills/melodic-software/claude-code-plugins/route"><img src="https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/route.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 135 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,063 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00135 $0.01063
Opus 5.5 $0.00054 $0.00425
Sonnet 5.5 $0.00027 $0.00213
Haiku 4.5 $0.00014 $0.00106

Measured 13d ago against content hash 7f4f7718661e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 13d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/route.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/multi-agent/skills/route/SKILL.md · 91 lines

How it starts

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

Purpose

Workflow scripts and orchestrating skills read their model and effort choices from here, so the choice lives in one role map with a recorded basis per default, and a team or a person can change it without editing any script. Keys, layers and the fan-out guard are owned by ${CLAUDE_PLUGIN_ROOT}/reference/config.md.

Arguments

  • <role|all>: one of orchestrator, worker, verifier, retrieval, or all for the whole map.
  • code|research|mechanical: optional workload; applies the role's workloads.<w> keys (research lowers the worker's effort by default).
  • session=<alias>: the session model's alias. When the caller did not pass one, fill it from your own model ID: the family name in it (opus, sonnet, haiku, fable) is the alias. When you cannot tell, omit it; the resolver then treats the session as frontier, which keeps fan-out stages off the session model.

Run

${CLAUDE_SKILL_DIR}/scripts/route.sh $ARGUMENTS

Append session=<alias> when $ARGUMENTS carries none and you know your model family.

Output

The JSON exactly as printed, in one fenced json block. Below it, one line per role in this form:

<role>: single <model|inherit: omit the model option> @ <effort>; fanout <model|inherit: omit the model option> @ <effort>

Write inherit: omit the model option wherever a variant's omit_model is true, so a caller copying the line passes no model and the agent runs on the session model. Then list every entry of notes (a skipped layer, a rejected value, an ignored key) as written. Exit 2 means an unknown role or argument: relay the valid roles from the error and stop.

A caller launching a workflow passes the JSON's roles object as args.roles, unchanged.

What this skill does NOT do

  • Write any configuration layer. That is /multi-agent:setup apply.
  • Route a named agent. An agent dispatched by its own type, such as implementation:implementer, implementation:scoped-implementer or implementation:phase-verifier, owns its tier through its own frontmatter and its dispatcher's rules. The map governs generic agent() calls and Agent dispatches without a named type.
  • Choose between a workflow and subagents. That is /multi-agent:assess.
  • Check the defaults against upstream. That is /multi-agent:audit-defaults.

Read the full file on GitHub · 91 lines

Files

What ships with it

2 files 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. 13d ago First seen · 91 lines · 135 tokens per session scan A 7f4f7718661e

Subscribe to this mod's changes

route is a skill published in the GitHub repository melodic-software/claude-code-plugins (25 stars, last pushed today), licensed MIT. It adds 135 tokens to every session and 1,063 once invoked, about $0.0005 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-03.

Related

Other skills, from other repositories

parallel-orchestrator

Manage parallel Claude Code workstreams using git worktrees. Use when: splitting large tasks across multiple workers, coordinating parallel development, monitoring worker progress, integrating completed work, analyzing work item documents (code reviews, issue lists). Triggers: parallel, orchestrator, worktrees…

jimmc414/claude-code-plugin-marketplace · 78 tokens

parallel-worker

Execute focused implementation tasks in a parallel workflow. Use when: working on assigned files in a worktree, making checkpoint commits, signaling dependencies or blockers, completing orchestrator-assigned tasks. Triggers: worker, checkpoint, worktree, assigned scope, commit prefix, parallel task.

jimmc414/claude-code-plugin-marketplace · 59 tokens

optimize-local-search

For NP-hard optimization: TSP, scheduling, assignment problems. Uses greedy construction + local improvement (2-opt, hill climbing).

jimmc414/claude-code-plugin-marketplace · 31 tokens

pass-function-as-arg

For generic algorithms: strategy pattern, callbacks, configurable behavior. Pass functions as parameters to customize algorithm behavior.

jimmc414/claude-code-plugin-marketplace · 27 tokens

solve-constraint-puzzle

For constraint satisfaction: Sudoku, scheduling, N-queens, logic puzzles, SAT-like problems, assignment problems. Uses propagate-then-search pattern.

jimmc414/claude-code-plugin-marketplace · 36 tokens

test-with-examples

For example-driven development: test cases as specifications, input/output pairs, documentation through examples.

jimmc414/claude-code-plugin-marketplace · 23 tokens