Multi-Agent Review
Run a panel of independent reviewers on a spec or plan before execution starts.
Two model tiers (fast + standard) review each of three topics in parallel.
When the tiers disagree, a single reasoning-tier juror adjudicates.
The verdict gates whether the next workflow step proceeds.
Concrete model IDs come from the plugin manifest (Step 3); the tier names below are variables, not model names.
When to invoke
| Command | Fire after | Proceeds to |
|---|
| spec is written and committed | |
| plan is written and committed | subagent-driven-development
|
Invocation syntax
/multi-agent-review [mode] [path?] [--fast]
mode: spec | plan (required)
path: explicit file path (optional — omit to use most-recent artifact)
--fast: fast tier only, skip standard tier and juror (cost-saving for fast iteration)
If the operator omits the mode, infer it from the artifact's path (
vs
) and confirm the inference before dispatching.
Coordinator steps
Step 1 — Locate the artifact
spec mode:
bash
ls -t docs/superpowers/specs/*.md | head -1
Use the path returned. If a
arg was provided, use that instead.
Also check for a matching
subdirectory:
bash
ls docs/design/ 2>/dev/null
If matching design mockups exist, read their filenames — pass them to the alignment reviewer as supplementary context.
plan mode:
bash
ls -t docs/superpowers/plans/*.md | grep -v tasks.json | head -1
Also find the linked spec: read the plan file, look for a
header line or
, and load that spec as supplementary context for the alignment reviewer.
Step 2 - Validate, then read the artifact
Pre-dispatch validation. Before spawning anything: the artifact file exists and is non-empty, and every spec, mockup, or companion path it references resolves on disk. A missing or empty artifact burns a six-agent panel on false positives; report it to the operator instead of dispatching.
Oversized artifacts. Above roughly 2,000 lines, stop and ask the operator: proceed with the full artifact, or narrow to a named section. Six reviews of a document too large to hold degrade silently; the question costs one turn.
Read the full artifact content verbatim. Never truncate or summarise any part of the artifact before passing it to agents — an agent that receives an abbreviated spec will flag missing sections as BLOCKERs, producing false positives that poison the verdict. If the file is large, read it in chunks but assemble the full text before building prompts.
Step 3 — Resolve model tiers, read companion files, read project rules
Model tier resolution:
Locate the plugin manifest (do NOT use a bare
.claude-plugin/plugin.json
relative path — that resolves against the user's project, not the plugin install). Try in order until one succeeds:
${CLAUDE_PLUGIN_ROOT}/.claude-plugin/plugin.json
- Claude Code
${CLAUDE_PLUGIN_ROOT}/.codex-plugin/plugin.json
- Codex if it sets this var
${CLAUDE_PLUGIN_ROOT}/.cursor-plugin/plugin.json
- Cursor
<dir of this SKILL.md>/../../.claude-plugin/plugin.json
- walk up two levels
<dir of this SKILL.md>/../../.codex-plugin/plugin.json
- same fallback for Codex
<dir of this SKILL.md>/../../.cursor-plugin/plugin.json
- same fallback for Cursor
- Hardcoded fallback:
{ "fast": "haiku", "standard": "sonnet", "reasoning": "opus" }
Read the
object from the first manifest that loads
and contains a key. A manifest that loads but has no
key does not stop the search - keep trying the next candidate, and use the hardcoded fallback only when the list is exhausted. (Without this rule, a manifest that merely exists resolves the tiers to nothing and Step 5 dispatches with undefined model IDs.)
Quick bash to try options 1-3:
bash
for m in .claude-plugin .codex-plugin .cursor-plugin; do
jq -e '.models' "$CLAUDE_PLUGIN_ROOT/$m/plugin.json" 2>/dev/null && break
done
Store
,
,
from
,
,
. Use these in Step 5 and Step 7 - never hardcode model names.
Read companion prompt files:
Read these four files from the
directory beside this SKILL.md:
agents/completeness-reviewer.md
agents/alignment-reviewer.md
agents/synthesis-agent.md
Each contains a fenced prompt template. Extract the content inside the outermost ``` fence.
Also check for a
file in the
project root (same directory as CLAUDE.md):
bash
cat project-rules.md 2>/dev/null || echo ""
If found, read it into
. This file is where projects configure their standing rules, safety constraints, and codebase-specific conventions.
If absent, fall back to the project's
(or
) rather than reviewing rules-blind, prefixed with this framing so reviewers do not treat working instructions as review criteria: "The following are the project's general working instructions, not purpose-built review rules. Apply only the ones that read as standing constraints on specs and plans; ignore instructions about tooling, workflow, or agent behavior." If neither file exists,
is the empty string.
Step 4 — Build the six agent prompts
For each of the three topic prompts (completeness, alignment, risk):
- Replace with the full artifact text.
- Replace with or .
- Replace with the content of (or empty string).
- For the alignment reviewer only — replace with:
- spec mode: list of mockup HTML filenames + their paths
- plan mode: the linked spec content
Step 5 — Dispatch six agents in parallel
Send all six in a single message with parallel Agent tool calls:
Agent(completeness-fast): model=FAST_TIER, prompt=completeness_prompt
Agent(completeness-standard): model=STANDARD_TIER, prompt=completeness_prompt
Agent(alignment-fast): model=FAST_TIER, prompt=alignment_prompt
Agent(alignment-standard): model=STANDARD_TIER, prompt=alignment_prompt
Agent(risk-fast): model=FAST_TIER, prompt=risk_prompt
Agent(risk-standard): model=STANDARD_TIER, prompt=risk_prompt
(Substitute
/
with the actual model IDs resolved in Step 3.)
Cross-vendor dispatch. A tier value prefixed
(for example
) means: dispatch that tier's three reviewers by running the named CLI with the built prompt, instead of the Agent tool. Same prompts, same output contract. This makes cross-model disagreement an independent second opinion rather than a same-vendor capability gap; a fast/standard pair from one vendor still catches real defects, but its disagreements partly measure model size, and the juror inherits that bias. Prefer a cross-vendor standard tier where a second vendor's CLI is available.
--fast escalation guard. Before honoring
, scan the artifact for high-risk markers: authentication, authorization, security, secrets, payment, billing, migration, data deletion, production infrastructure, or anything the project rules mark safety-critical. On a hit, refuse
, tell the operator which marker triggered the refusal, and run the full panel. The single-tier discount is never available for the work that needs the panel most.
If
was passed (and not refused): dispatch only the three
agents, then skip Steps 6 and 7 entirely and go to Step 8. With one model per topic there is no pair to compare and nothing to adjudicate, so
does not exist in this mode.
⚠
--fast safety note: is a single-tier review: no cross-model check and no juror. Do NOT use
on anything touching production-safety-critical or irreversible paths. Reserve it for lightweight non-safety artifacts (tooling, docs, UI copy).
After dispatching, track which agents returned valid reports. A valid report contains at least one line starting with
. Record which agents errored or timed out — this is used in Step 8's quorum check.
Step 6 — Compare pairs, identify contested findings
First — check for errored agents. If a report is missing or malformed (no
line), treat that agent as having returned
FINDINGS: ERROR — agent did not respond
. Proceed to the quorum check in Step 8 before comparing.
For each topic pair (haiku report vs sonnet report for that topic):
A finding is CONTESTED if ANY of the following:
- Same finding appears in both reports but at different severity levels
- A finding appears in one report but NOT in the other (match by title keywords or detail content)
- One model emitted but the other emitted findings
Build a
with this format for each contested item:
TOPIC: completeness | alignment | risk
HAIKU said: [severity] — <exact text> or "not raised"
SONNET said: [severity] — <exact text> or "not raised"
Step 7 — Invoke juror (ONLY if CONTESTED_LIST is non-empty)
If
is empty: skip directly to Step 8.
- Build the juror prompt from :
- Replace with the concatenated raw text of all six reports
- Replace with the contested list built in Step 6
- Dispatch a single juror agent: (resolved in Step 3)
- Collect response
Juror failure fallback: If the juror agent errors, times out, or returns a malformed response (no
line), do NOT proceed to Step 8. Instead: promote every contested finding to BLOCKER severity (conservative fallback) and present them to the operator as "JUROR FAILED — treating all contested findings as BLOCKER". This is fail-closed: a dead juror cannot let a contested BLOCKER silently degrade.
Step 8 — Quorum check + compile final verdict
Quorum check (do this FIRST):
Count valid reports (those that returned a
line, including
).
mode quorum: the panel is 3, not 6. Fewer than 2 valid reports = HALT (same message, with N/3); exactly 2 = add the panel-health WARNING; 3 = proceed normally.
Full-panel quorum:
if valid_reports < 3:
HALT — present to operator:
"⛔ REVIEW ABORTED — only N/6 agents returned valid reports.
Cannot produce a reliable verdict with fewer than 3 reviewers.
Options: (a) Re-run, (b) Check for API/rate-limit issues, (c) Override and proceed."
Do NOT invoke the decision gate.
if valid_reports < 6:
Add a panel-health WARNING to the verdict:
[WARNING] Partial panel — N/6 agents responded
detail: <N> of 6 reviewers failed to return a valid report; coverage gaps possible.
location: Agent dispatch
Then compile accepted findings:
mode compile rule: there are no pairs and no juror, so accept EVERY finding from every valid report, at the severity the emitting model assigned. This rule exists because the pair-agreement logic below would otherwise accept nothing in
mode, and an always-empty accepted_findings list silently produces a clean verdict on every run - the exact failure the panel-failure table forbids.
Full-panel compile:
accepted_findings = []
For each topic pair:
For each finding where BOTH models agreed (same title + same severity):
add to accepted_findings at agreed severity
If juror was invoked:
For each RULING in JUROR RULINGS:
add to accepted_findings
For each SYNTHESISED finding (if any):
add to accepted_findings
BLOCKERS = findings with severity BLOCKER
WARNINGS = findings with severity WARNING
OBS = findings with severity OBS
Cross-topic deduplication (before bucketing): the same defect flagged by two topics (matching location and overlapping description) is one finding, kept at the highest severity assigned, annotated with both topics. Without this, one gap double-counts in the verdict and reads as two problems to fix.
Step 9 — Decision gate
Alongside every human verdict, emit a fenced JSON block so downstream automation and the next skill can consume the gate result without parsing prose:
json
{"verdict": "BLOCKED | WARNINGS | CLEAN | HALTED",
"blockers": [], "warnings": [], "obs": [],
"panel_health": [], "iteration": 1}
Iteration cap. Track the iteration count — first invocation = 1, each
operator-requested re-run increments it. The cap is 3 iterations.
- Do NOT offer "fix + re-run" again.
- Present the current verdict with header:
"⛔ REVIEW EXHAUSTED — 3 iterations reached. Showing final findings."
- The operator's only choices are:
- (a) Override and proceed — invoke next skill despite remaining
blockers (log the override per the override-log rule below).
- (b) Abort — do not invoke the next skill; the artifact is not ready.
Do not loop indefinitely. After 3 rounds we have enough signal — keep
chasing blockers only burns cycles and surfaces stylistic noise.
If BLOCKERS exist:
Present blockers clearly:
⛔ REVIEW BLOCKED — N blocker(s) must be addressed before proceeding.
BLOCKERS:
1. [title] (topic: X, confidence: Y)
detail: ...
location: ...
Ask the operator:
Two options:
(a) Fix blockers in the artifact now, then I'll re-run the full review.
(b) Override — acknowledge the blockers and proceed anyway (I'll note the override).
Do NOT auto-proceed. Wait for operator response.
- If (a): after operator confirms fixes, re-run from Step 1 (full loop).
- If (b): write the override record to stdout AND append a to the artifact's most-recent commit:
bash
git notes append -m "MULTI-AGENT-REVIEW OVERRIDE $(date -u +%Y-%m-%dT%H:%M:%SZ): operator acknowledged N blockers: [titles]" HEAD
Then invoke next skill. The git note is durable and co-located with the artifact's commit history.
If WARNINGS exist (no blockers):
⚠ REVIEW PASSED WITH WARNINGS — N warning(s).
WARNINGS:
1. [title] (topic: X)
detail: ...
location: ...
Fix warnings before proceeding, or accept and continue?
Wait for operator response.
- Fix → re-run from Step 1 after operator confirms.
- Continue → invoke next skill.
If clean (no blockers, no warnings):
✅ Review passed — N findings (0 blockers, 0 warnings, M observations).
If OBS > 0, list them below the pass line.
Auto-invoke next skill:
- mode → invoke
- mode → invoke
subagent-driven-development
Panel failure semantics
These rules govern what happens when the panel does not complete cleanly:
| Failure | Behaviour |
|---|
| < 3 valid reports | HALT — abort, present to operator, do not produce verdict |
| 3–5 valid reports | Add panel-health WARNING, continue with partial coverage |
| 6 valid reports | Proceed normally |
| Juror error/timeout | Conservative fallback — promote all contested findings to BLOCKER, present as "JUROR FAILED" |
| All agents error | HALT — empty accepted_findings must never silently trigger clean verdict |
| mode | Single tier, nothing is contested: every finding from a valid report is accepted at its emitted severity; quorum is 2 of 3; the verdict carries a note that no cross-model adjudication ran |
Never allow an incomplete panel to produce a clean verdict. If any doubt, halt and present to operator.
Model assignments
Model IDs are resolved at runtime from the active plugin manifest's
field.
Default Claude Code values shown; Codex and other platforms override via their own plugin.json.
| Tier variable | CC default | Codex default | Cursor default | Role |
|---|
| | | | Fast reviewer (always used) |
| | | | Standard reviewer (skipped with ) |
| | | | Juror (not overridable: adjudication on a weak model defeats its purpose) |
A tier value prefixed
(e.g.
) dispatches that tier through the named external CLI per Step 5's cross-vendor rule. Prefer it where a second vendor's CLI is available.
What this skill does NOT do
- Does not repair artifacts — surfaces findings only; the operator makes changes
- Does not review code — that is
subagent-driven-development
's job
- Defaults to the most recent spec or plan under ; an explicit path argument overrides this
Companion files
agents/completeness-reviewer.md
- placeholders, missing criteria, undefined refs
agents/alignment-reviewer.md
- mockup/codebase consistency, standing rules
- - production safety, fail-closed paths
agents/synthesis-agent.md
- juror prompt, only dispatched on contested findings
assets/project-rules.example.md
- template to copy into your project as