/multi-agent:setup [check|apply] [--layer user|team|local] [<key>=<value> ...] [session=<alias>]from multi-agent
Resolves the multi-agent role map across four configuration layers (defaults, user, team, local). Check current resolution or write confirmed keys to a specific layer.
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, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
/multi-agent:route resolves the role map through four layers: the bundled
defaults, ~/.claude/multi-agent.yaml, the team layer and
.claude/multi-agent.local.yaml. This skill shows what those layers resolve to
and writes one of them. All three consumer layers absent is a valid state: the
bundled defaults apply. Keys, values, layer paths and the fan-out guard are
defined in
${CLAUDE_PLUGIN_ROOT}/reference/config.md.
No argument means check. It installs nothing; the resolver needs only Bash,
awk and git.
check (read-only)${CLAUDE_SKILL_DIR}/scripts/setup.sh check session=<alias>
Pass session=<alias> with the family in your own model ID (opus, sonnet,
haiku, fable); omit it when you cannot tell, and the map is resolved as
under a frontier session. The JSON is the one /multi-agent:route all prints.
Show:
single <model> @ <effort>; fanout <model> @ <effort>,
with inherit written as inherit: omit the model option, and the layer
in source for each value;layers rows (read, absent, skipped, or not applicable at a home or
non-repository root) and every entry of notes as written; each note (a
skipped layer, a rejected value, an ignored key) is a finding to report;.claude/multi-agent.local.yaml is gitignored,
else WARN with the recommended line .claude/**/*.local.*. Recommend the
line; do not edit .gitignore;WARN team: row: a retired team file (the config block in
docs/conventions/multi-agent.md, or .claude/multi-agent.yaml) that the
resolver no longer reads. Relay the row's next step as written.It modifies nothing.
applyRun check and show the map. This is the before state.
Settle the layer with the user, recommendation first:
local (.claude/multi-agent.local.yaml): this checkout only, for this
person. The default for a personal preference.team: docs/conventions/multi-agent.yaml (under the convention home the
repository binds). Shared with everyone who clones the repository.user (~/.claude/multi-agent.yaml): every repository on this machine.team and local are refused at a home or non-repository root.
Settle the keys. Ask only for what the user wants changed; each value comes
from the table in config.md. Pass every key to set as <key>=<value>, and
<key>= to remove one from that layer. Existing keys in the layer are kept.
Preview, writing nothing:
${CLAUDE_SKILL_DIR}/scripts/setup.sh apply --layer <layer> <key>=<value> ...
It prints the target path and a diff. It exits 1 without writing when the resolver would reject or ignore a key; relay the reason and return to step 3.
Show the diff and ask for an explicit yes. Write only on that yes:
${CLAUDE_SKILL_DIR}/scripts/setup.sh apply --layer <layer> --write <key>=<value> ...
It prints the path written and the keys it read back from the file.
Run check again and show the after map beside the before one, naming each
value that changed and the layer that now supplies it. The file is what the
next /multi-agent:route run reads; nothing about the running session
changes. For team, offer git add and a commit and run each only when the
user accepts.
With fanout.frontier_guard: true, the bundled value, a stage that runs more
than one agent never runs them on a frontier model: under a Fable
session, or a session the caller did not name, each fan-out variant that would
inherit or name a frontier model takes fanout.model (opus) instead. A
single synthesis or judge agent keeps the role's own model. The basis is
recorded beside the key in
${CLAUDE_PLUGIN_ROOT}/reference/defaults.yaml.
fanout.frontier_guard=false is an explicit opt-in to frontier fan-outs: every
parallel worker then runs on the session model, so a frontier session runs
every agent of the stage on the frontier model (rates:
Pricing: model pricing; usage:
Manage costs: Track your costs).
Before writing it, say this and ask the user to confirm that specific key,
separately from the rest of the change. Recommend the narrowest layer that
covers what they mean: local for one checkout, user for one machine, team
only when the whole team has agreed.
.gitignore, CLAUDE.md or AGENTS.md.implementation:implementer or implementation:scoped-implementer owns its
tier through its own frontmatter and whatever its dispatcher passes on the
call; the role map governs generic agent() and Agent dispatches only./multi-agent:audit-defaults./multi-agent:route all
Prints the map the next workflow reads from args.roles.
apply with the line and the
reason. Fix or remove the file first; setup never overwrites content it could
not read.team write creates the YAML. A retired team file, which the
resolver no longer reads, seeds its keys and stays as it was; check names
it until it is deleted.What SKILL.md sets; muted values are Claude Code's defaults
bashThree short reads, in order
npx claudepluginhub melodic-software/claude-code-plugins --plugin multi-agent4 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./routeArgumentsModel and effort per agent role (orchestrator, worker, verifier, retrieval) for a multi-agent run, resolved through the bundled defaults and the user, team and personal override config layers into fenced JSON with single-agent and fan-out variants and the layer behind each value; fan-out stays off frontier models unless config opts in. Use when asked 'which model for the subagents', 'route the roles', 'what effort should the workers use', 'roles for the workflow args', 'model routing' or 'is fan-out on Fable', or before a skill launches a workflow that takes args.roles.Other plugins' skills for the same job