/multi-agent:audit-defaults [<role>|fanout|repo]from multi-agent
Audits multi-agent role defaults (model, effort, fan-out guard) against upstream sources, detecting drift and proposing diffs to defaults.yaml. Use when checking if routing defaults are current or stale.
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.
Each default in
${CLAUDE_PLUGIN_ROOT}/reference/defaults.yaml
records its basis as a pointer, an as-of date and a recheck trigger. A role's
model and effort each carry a basis_<field>: upstream, naming the
section (pointer_<field>) and the statement in it (claim_<field>) that set
the value, or judgment with a reason_<field>. This skill reads those
records, goes to each source, and says whether the cited section states the
value, or the rule it follows from. A pointer that only relates to the value is
not support. The defaults change only through a reviewed edit to that file.
repo mode asks the same question of the repository's own prose: which
statements about models, effort, subagents and workflows contradict their
upstream source now, or restate it with no pointer record.
The evidence pass runs as the multi-agent:drift-audit workflow when workflows
are available: one finder per owner (or per area in repo mode), then, at
the standard and strict verification levels, independent skeptics who try
to refute each finding. In repo mode a
multi-agent:drift-reader (file reads only) first quotes each area's claims;
every judging stage runs as multi-agent:drift-checker (web fetch
only). No agent can edit, write or run a shell, and none holds both file and
web access.
| Argument | Mode | What is audited |
|---|---|---|
| (empty) | defaults | every owner in defaults.yaml |
<role> or fanout | defaults | that owner only |
repo | repo | the repository's tracked markdown |
/multi-agent:route resolves in this session, invoke it as
/multi-agent:route all session=<this session's model alias> and keep the
roles object of the JSON it prints. Otherwise omit args.roles; the
workflow's built-in fallbacks apply.defaults mode: run
${CLAUDE_SKILL_DIR}/scripts/list-pointers.sh --json $ARGUMENTS and keep
the array it prints as pointers. Pass only an owner (<role> or
fanout) after --json; with none, pass nothing, never the mode name
defaults. An unknown owner exits 2 and names the valid ones.repo mode: run ${CLAUDE_SKILL_DIR}/scripts/list-targets.sh and keep
the array it prints as targets. It lists tracked markdown that states a
model, effort, workflow or subagent claim, grouped into areas, and leaves
out docs/upstream/, changelogs and .changes/ release fragments,
vendored trees and eval fixtures.bash "${CLAUDE_PLUGIN_ROOT}/lib/read-verification.sh" --plugin multi-agent --skill audit-defaults
and copy its line into the report
(levels).
Keep its level as verification.Workflow({ name: "multi-agent:drift-audit", args: { mode, pointers, targets, roles, maxConcurrent, asOf, verification } }).
mode is defaults or repo. verification is the step 4 level: under
light or off the workflow dispatches no skeptic, and every finding
comes back unverified, so no diff is proposed. asOf is today's date as YYYY-MM-DD, used
in the proposed as_of lines. maxConcurrent is an optional wave size,
clamped to 1-16, default 4. upstream is an optional list of extra source
URLs; in repo mode, leaving it out uses the workflow's built-in sources of
record. An error return means nothing was dispatched: missing-pointers
and missing-targets mean step 3 printed nothing usable; no-sources
means no pointer is a fetchable URL, so take the fallback.unreadSources lists pointers no
workflow stage can read, such as the bundled /workflow-authoring skill.
Load that skill with the Skill tool when it is in the skill listing and
check what it says about opts.model and opts.effort against the owners
that cite it; when it is not listed, record the source as unread rather
than recalling it.If the workflow is interrupted, relaunch it with the same args; which agents
return saved results is in
Resume after a pause.
defaults mode runs on the main thread:
${CLAUDE_SKILL_DIR}/scripts/list-pointers.sh $ARGUMENTS. The first
block is owner<TAB>key<TAB>value for every pointer*, basis_*,
claim_*, reason_*, as_of and recheck; the second is the current
value of every default. A value whose basis_<field> is judgment is
reported as judgment with its reason and needs no source. Done when you hold
the list of distinct sources to read./workflow-authoring
pointer as in step 6 above. Done when every source is marked read or unread.current (the cited section states the value or the
rule it follows from), drifted (name the value the source now supports),
unsupported (the section states neither), trigger fired (say what
happened) or unread. Done when every owner has a verdict.defaults.yaml you would make for every non-current
row, including the new as_of. For unsupported, keep the value and
propose basis_<field>: judgment with a reason, or a pointer_<field> and
claim_<field> that state it. Do not apply it. Done when the diff block,
or No changes proposed., is written.repo mode needs the workflow. Without it, say that workflows are unavailable
and stop; do not sweep the repository on the main thread.
Say first whether the workflow ran or the fallback did.
defaults mode: a table of owner, key, current value, verdict (current,
drifted, unsupported, trigger fired, refuted or unverified), evidence
(the pointer plus at most one short quoted sentence that decides it) and
proposed value. Then the result's judgment rows as owner, key, value and
reason, labeled judgment, not sourced. Then the proposed diff in one fenced
diff block, or No changes proposed. A row the skeptics refuted or left
unverified gets no diff line.
repo mode: confirmed findings as a table of file:line, kind, quote,
proposed disposition and evidence URL, then refuted and unverified findings by
file:line with the reason, then any skippedAreas by name.
Both modes: state how many sources were read and how many were not, and name
every label in nulls.
defaults.yaml, a consumer layer, any script, or any file a repo
finding names. Proposed diffs and dispositions are for a reviewed edit./multi-agent:route all Shows the resolved map after an accepted change lands.
current verdict needs the fetched text. A page that fails to load is
unread, never current.recheck trigger fetched for the worker and the fan-out guard as
the event to test, even when nothing about the older models changed.fanout.model when the evidence supports it, but never propose
turning the guard off.What SKILL.md sets; muted values are Claude Code's defaults
bashnpx 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./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./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.Other plugins' skills for the same job