/crossreview:crossreviewfrom crossreview
Fans code reviews out to multiple console code agents (Claude Code, Codex, Cursor Agent, etc.) that review in parallel and blind to each other, then the orchestrator verifies findings and decides what to fix.
Ships in crossreview. 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.
None: SKILL.md is the whole skill.
One brief is written, every reviewer gets that brief and nothing else, they all answer, and then the orchestrator alone decides: which findings are real, which matter, what to fix now and what not to fix. The reviewers advise; the last word is the orchestrator's: the subagent you hand the run to in step 3, or you. Their value is in the disagreement of different models, so pick reviewers from different vendors.
Three rules hold for the whole run:
<skill> below is the directory holding this SKILL.md; agents usually say where it is when they
load a skill (Claude Code's "Base directory", Coddy's "Skill directory"). If yours did not, take
the first of these that holds scripts/crossreview.py, and do not search the whole disk:
${CODDY_HOME:-~/.coddy}/skills/crossreview, then crossreview under ~/.claude/skills,
~/.codex/skills, ~/.cursor/skills, ~/.agents/skills, ~/.config/opencode/skills,
~/.config/devin/skills, ~/.gemini/antigravity-cli/skills, and under the workspace's .claude/skills, .agents/skills,
.cursor/skills, .opencode/skills, .coddy/skills.
The helper is python3 <skill>/scripts/crossreview.py (py -3 or python on Windows), standard
library only, the same on Linux, macOS and Windows; every subcommand has --help. Without Python,
see the last section.
Who you are. Every helper command that reads or writes a roster takes --host <you>:
claude (Claude Code), codex, coddy, cursor, opencode, devin, gemini, qwen, kimi,
antigravity,
or your own name. The rosters are yours, kept where you keep your settings: the global one in your
home folder (~/.claude/crossreview.json, ${CODDY_HOME:-~/.coddy}/crossreview.json,
${CODEX_HOME:-~/.codex}/..., ~/.cursor/...), the local one in your folder of the project
(.claude/crossreview.json, .coddy/..., .codex/..., .cursor/...). An agent not on the list
uses ~/.agents and .agents. Claude Code is recognised without the flag.
Requirements. A shell and permission to write files: in a read-only mode (plan, ask) say so and stop. Reviewers call their model APIs and write their own session files, so a sandbox that blocks the network or writes outside the workspace (Codex's default) has to let the helper's commands out, or every reviewer fails.
Never recurse. If CROSSREVIEW_DEPTH is set in your environment, you are a reviewer: answer
the brief directly and do not start another crossreview.
Reviewers named in the request ("crossreview with cursor auto and coddy on codex/gpt-5.6-sol")
are a one-off list: apply the Coddy rule below, pass each as --reviewer <spec> to the run and
leave the roster alone.
Otherwise run crossreview.py roster --host <you>: it takes your local roster of this project when
there is one, else your global one, and you act on its exit code:
crossreview.py init --host <you> --scope <the same> --import <path> --refresh --force to move
the entries to the current templates.crossreview.py trust ... line it printed. On a no, use --scope global from then on.Coddy models default to subagents when you are Coddy. Keep the helper's CLI detection and
model listing unchanged. After the user chooses models through Coddy, write each as
internal/coddy:<model>, not coddy:<model>, in init and one-off --reviewer specs. Run these
reviewers with spawn_agent, agent: "explore", and their selected model. Use the Coddy CLI only
when the user explicitly asks for it or when you are another host, which cannot start Coddy's
subagents. Do not rewrite an existing roster just by reading it.
Setup, also whenever the user invokes /crossreview:setup, even if a roster exists:
crossreview.py detect prints one line per installed reviewer CLI. Offer only those.crossreview.py models <agent> and offer the ids it prints
(multiple choice); when it prints none, ask for the id as free text. Each (agent, model) pair
is one reviewer. When you are Coddy, turn its selected models into internal/coddy:<model>
specs by default; selecting Coddy does not itself request a separate CLI process.crossreview.py init --host <you> --scope local|global <spec>... writes it (--force
over an existing one, --add to extend it, --import <file> to start from the reviewers
another agent already has). --min-reviewers N raises the quorum, --timeout S the time each
reviewer gets. A local roster written this way counts as approved. For example, inside Coddy:
crossreview.py init --host coddy --scope global internal/coddy:devin/swe-2 cursor:auto.crossreview.py probe --host <you> checks the CLI reviewers; it skips internal reviewers.
Check each internal reviewer of yours through a read-only subagent on its selected model:
ask it to call no tools and reply with exactly pong. In Coddy use spawn_agent with
agent: "explore". Collect every answer; a skipped entry is not a successful probe. Report
failures (not signed in, usage limit, unknown model, timeout) and offer to drop or fix the
entry. An internal reviewer belonging to another host remains untested, not passed.An internal reviewer is a subagent of a host agent on another model, written
internal/<host>:<model> (internal/claude:sonnet, internal/coddy:devin/swe-2). This is the
default for Coddy's own models inside Coddy, and an explicit choice elsewhere. Only the host it
names runs it, read-only; other hosts skip it.
Take the scope from the request: the uncommitted work by default, or a branch against its base, a commit range, the staged changes, whole files, a plan or a document.
crossreview.py brief --out <tmp>/brief.md --intent "<what the change is meant to do>" \
[--base main | --range A..B | --staged | --files F... | --doc PLAN.md] [--exclude PATHSPEC...]
--intent from the conversation: a reviewer judges a change by what it was meant to do.--tools read and give run a --cwd: a detached
worktree (git worktree add --detach), never the live checkout.--exclude. Past 150 KB split the review
by layer (backend, frontend, tests): small local models stall on long briefs.--notes-file adds your own notes for every reviewer alike: facts about the code, decisions you
already took in an earlier round. Write them yourself; never paste or paraphrase a reviewer's
answer and never say who raised what.Steps 1 and 2 were yours: the setup questions and the intent of the brief need the conversation.
Steps 4 to 6 are the orchestrator's, and whenever your host can start a subagent they run in one,
so the reviews, the checking of the code and the decisions stay out of your context. Do not run
crossreview.py run yourself in that case:
crossreview is the orchestrator. It is hidden, so it is not
among the agents you see listed, but spawn_agent accepts it: call it with
agent: "crossreview" in the foreground and a prompt naming the brief file, the roster file and
<skill>.general-purpose agent.
OpenCode: the task tool. Any other host whose subagents have a shell: the same. Start it in
the foreground with a prompt that says it is the crossreview orchestrator, that it reads
<skill>/SKILL.md and carries out steps 4 to 6, and that names the brief file, --host <you>,
and the roster file or the one-off --reviewer specs.The roster file is the path crossreview.py roster --host <you> printed; for one-off reviewers in
Coddy, write one with crossreview.py init --host coddy --path <tmp>/roster.json agent:model ....
The subagent's report is the final word: relay it to the user as it is, and you are done. Carry
out steps 4 to 6 yourself only when your host has no subagents, when the roster holds internal
reviewers of yours that your subagents could not start, or when you are that subagent.
crossreview.py run --host <you> --brief <tmp>/brief.md [--reviewer agent:model ...] [--scope global]
crossreview.py wait <run> --max 240
run prints every exact command, then starts them in the background. Repeat wait while it exits
3. Keep --max under your shell tool's time limit; the reviewers run detached, so a cut-off wait
loses nothing. Each reviewer has a time limit (45 minutes unless the roster says otherwise).
When the run has finished, look at every reviewer that did not answer:
crossreview.py retry <run> <name>, then wait again;--timeout, or recover the answer from its session with the
resume command of that CLI in references/agents.md;run marks the internal reviewers that belong to you as host: start one read-only subagent
per entry on its model while the CLIs run, with the brief file as its whole prompt, and write each
answer to the path the status names. In Coddy call spawn_agent with agent: "explore" and
model from the entry; do not substitute a Coddy CLI command for that subagent.
crossreview.py collect <run> prints every answer, and the error of every reviewer that failed.
path:line, follow the callers, reproduce it
with a test or a command when you can. Reviewers working from a diff take a removed line for
current code and miss guards elsewhere.## Verdict: approve, approve with changes or needs rework, and one sentence why. Yours.## Reviewers: who answered (agent, model, time), who did not and why, retries included.## Fix: by severity, each with path:line, the problem, the fix, who raised it, how you
verified it.## Not worth fixing, ## Rejected, ## Open: briefly, each with its reason or evidence.## Quorum: answered N of M. Under min_reviewers write insufficient quorum and call the
verdict advisory.Apply the fixes only if the user asked for that. A second round reviews the fixed change with a fresh brief, and its reviewers again see nothing of the first round's answers.
references/agents.md: every reviewer CLI, its template, how it is kept read-only, known
failures, and how to recover an answer from a reviewer that timed out.references/roster.md: the roster format, where each agent keeps it, the approvals of a
project's roster.references/brief.md: the brief format, for writing one by hand.sh <skill>/scripts/detect-agents.sh (powershell -ExecutionPolicy Bypass -File <skill>\scripts\detect-agents.ps1 on Windows) prints the same detection lines. Write the roster
by hand (references/roster.md) and the brief by hand (references/brief.md). For each reviewer
substitute the quoted paths of the brief and of its output file for {brief} and {out}, put
CROSSREVIEW_DEPTH=1 in front of the command ($env:CROSSREVIEW_DEPTH = '1'; in PowerShell) so
the reviewer knows not to start a crossreview of its own, and start it with your own background
shell tool in an empty directory, each under a time limit; wait for all of them, then continue at
step 5.
What SKILL.md sets; muted values are Claude Code's defaults
crossreview@rpa-skills is listed by evilfreelancer/rpa-skills — review the source before installing
npx claudepluginhub evilfreelancer/rpa-skills --plugin crossreviewOther plugins' skills for the same job