/multi-agent:route <<role>|all> [workload] [session=<alias>]from multi-agent
Resolves model and effort per agent role (orchestrator, worker, verifier, retrieval) for multi-agent runs, merging defaults with user/team/personal config layers. Use when asked about model routing, role assignments, or before launching a workflow that takes args.roles.
Ships in multi-agent. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Keys, layers and the fan-out guard are defined in
${CLAUDE_PLUGIN_ROOT}/reference/config.md;
read it when a note or a user question concerns a key, a layer or the guard.
<<role>|all>: one of orchestrator, worker, verifier, retrieval, or
all for the whole map.[workload]: optional, the second bare argument; applies the role's
workloads.<w> keys. The bundled layer declares code, research and
mechanical; a config layer may declare more (workloads.<w>: true).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, so fan-out stages name
fanout.model.${CLAUDE_SKILL_DIR}/scripts/route.sh $ARGUMENTS
Append session=<alias> when $ARGUMENTS carries none and you know your model
family.
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> (basis: model <basis>, fanout model <basis>, effort <basis>)
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. Each <basis> is the role's basis entry as printed:
upstream (an upstream statement sets it), judgment (no upstream statement
does; the reason is in defaults.yaml), config (a consumer layer set it) or
unrecorded; the fanout model's basis is the guard's when guarded is true.
After the per-role lines, write this line as is:
Effort above maxEffortLevel runs at the cap; see reference/config.md "Hard cap".
Then list every entry of notes (a skipped layer, a rejected value, an ignored
key, a role that resolves to haiku) as written. A haiku note means the role
runs on a model no role here has passed the routing eval on; the rule is in
${CLAUDE_PLUGIN_ROOT}/reference/routing-rubric.md.
Exit 2 means an unknown role, workload or argument: relay the valid roles or
declared workloads from the error and stop.
A caller launching a workflow passes the JSON's roles object as
args.roles, unchanged. A caller spawning a subagent through the Agent tool
with no named type applies one variant to that call: it passes the variant's
model as model, or omits model when omit_model is true, and always
passes its effort as effort.
/multi-agent:setup apply.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./multi-agent:assess./multi-agent:audit-defaults./multi-agent:audit-defaults Rechecks a default that looks wrong for the current models.
fanout and single differ only under a frontier or unknown session. Under
an Opus session both say inherit, and opus would name the same model.agentType, or an Agent dispatch by
subagent type), so the fan-out guard does not reach it on its own. Its
dispatcher may pass model or effort on the call; for which source wins
over the definition's pins, see the pointer record under Output. Keeping a
named agent such as scoped-implementer off a frontier session model is
that dispatcher's rule to keep.maxEffortLevel; the cap applies at run
time.mechanical workload, which runs the
worker on sonnet; code keeps the role's model, and any other workload key
comes from a config layer. A caller that wants the session model for
mechanical work sets roles.worker.workloads.mechanical.model: inherit.What SKILL.md sets; muted values are Claude Code's defaults
bashThree short reads, in order
4 skills in this plugin
/assessThe ruleWorkflow, subagent or single-context verdict for a task, with a one-line reason; downgrades `workflow` to `subagent` when workflows are unavailable in this session. Writes nothing. Use when asked 'should this be a workflow', 'workflow or subagents', 'is this worth a workflow', 'how should I orchestrate this', 'fan this out or do it inline' or 'is the Workflow tool available', or before a skill launches a workflow./audit-defaultsPurposeRecheck every bundled multi-agent role default (model, effort, the fan-out guard) against the upstream pointer recorded beside it, and report which defaults have drifted or whose recheck trigger has fired, each with fetched evidence and a proposed diff to reference/defaults.yaml; `repo` mode sweeps the repository's own model, effort, subagent and workflow guidance for stale or copied upstream claims. Proposes only; never edits a file. Use when: 'are the routing defaults current', 'audit the role map', 'recheck model defaults', 'did the workflow guidance change', 'new model released, check the defaults', 'is our model guidance stale', or when an as-of date in defaults.yaml looks old./setupPurposeCheck the multi-agent role map (model and effort per role and the layer behind each value) or write confirmed keys into the user, team or local multi-agent.yaml layer.npx claudepluginhub melodic-software/claude-code-plugins --plugin multi-agentOther plugins' skills for the same job