cross-review
Skill1 starsChanged 2 months agoMITView on GitHub
Get a finished code change reviewed by a model from another vendor (GLM 5.3 through opencode, else GLM 5.3 on the Mistral API through Vibe, else Codex), headless and read-only, running in the background while you do the slow remaining steps. Use when you have committed a change that is ready to ship and the repo expects review before a PR is marked ready or merged; also for a follow-up review of fixes, which covers only the commits since the last review. Decides whether a review is worth running, when to launch it, and how to act on findings.
- Reads credentials
9 other projects use a version of this.
Adopted by
Most recently taken up by
- ruodou233/cross-reviewtheir own version, first seen Sep 29, 2026
- eiway112/Cross-Reviewtheir own version, first seen Sep 28, 2026
- vardan6/tracklinetheir own version, first seen Sep 8, 2026
- ytil/skillstheir own version, first seen Aug 22, 2026
- sohei56/maul-teamtheir own version, first seen Aug 8, 2026
- corticalstack/flowtheir own version, first seen Jun 10, 2026
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- MiaoDX/intuitive-flow★ 48same name
- sohei56/maul-team★ 17same name
- ruodou233/cross-review★ 14same name
- vardan6/trackline★ 2same name
- corticalstack/flow★ 1same name
- eiway112/Cross-Review★ 1same name
- hirokisakabe/issuekit★ 1same name
- Ivantseng123/skills★ 1same name
- ytil/skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository14 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- claude-remote-control-serverSkill
- fastcontextSkill
- gh-stackSkill
- herdrSkill
- merge-queueSkill
- needs-youSkill
- orchestrate-sessionsSkill
- quotaSkill
- scarce-resourceSkill
- test-auditSkill
- unnarrateSkill
- unslopSkill
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 8 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
8
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 21
Always review, however small, a change that touches concurrency, persistence or migrations, secrets or auth, parsing of untrusted input, …
- Distinctive: line 38
Write the brief to a file (not in the repo) in 5–15 lines: the issue or task text, the constraints that apply, and what you claim the …
- Very specific: line 41
Run it in the background (Bash run_in_background: true):
- Very specific: line 47
Default range: merge-base with origin/HEAD to HEAD.
- Distinctive: line 54
Do not mark the PR ready, merge, or report the work as done until the notification has arrived and you have acted on it.
- Distinctive: line 62
Check it against the current code first (you may have committed since the reviewed SHA, which the summary prints).
- Distinctive: line 68
Put one line in the PR body: reviewer, number of findings, what you fixed, what you rejected and why.
- Distinctive: line 97
Commit first; a WIP commit is fine.
- Very specific: line 123
Run directories live in ~/.cache/cross-review (CROSS_REVIEW_DIR) and are pruned after 14 days.
- Distinctive: line 128
No review of uncommitted work or of a PR you haven't checked out.
- Distinctive: line 129
No inline PR comments; the output is a summary for you to act on.
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Cross-vendor review
scripts/cross-review (on PATH as cross-review) freezes HEAD in a
throwaway worktree, sends the diff with the task brief to a reviewer from
another vendor, checks the JSON it returns, and prints ranked findings.
Because it reviews the frozen copy, you can keep working while it runs.
1. Decide whether to review
Review once per change, not per commit. Skip the review when the change is only:
- docs, comments, copy or formatting;
- generated files, or a dependency bump whose CI lane proves it;
- under ~15 changed lines of plain logic, with a test that shows it works.
Always review, however small, a change that touches concurrency, persistence or migrations, secrets or auth, parsing of untrusted input, process spawning, trust boundaries or invariants the repo documents, or that deletes or weakens a validation or a test assertion.
Above ~800 changed lines, review per commit range (--since) or split the
change first.
2. Launch at the right moment
Launch when the code is complete, committed, and the fast local tests pass, and before the slow steps that follow: pushing and waiting for CI, remote or device test lanes, e2e checks, benchmarks, the PR body, docs. The review takes 5–20 minutes; those steps fill that time, so the review costs you nothing extra. Launching at the very end doubles your wall time; launching before tests pass wastes the review on code that is about to change.
- Write the brief to a file (not in the repo) in 5–15 lines: the issue or task text, the constraints that apply, and what you claim the change does and how you verified it. Never paste your transcript.
Run it in the background (Bash
run_in_background: true):cross-review --brief /path/to/brief.mdDefault range: merge-base with
origin/HEADto HEAD.--base REFchanges it.--effort low|medium|highsets the reasoning effort of all three reviewers (Vibe runsmediumashigh, the level belowhighthat GLM on the Mistral API accepts beinglow). Uselowunder ~100 lines,highfor the risk areas above.- Carry on with the slow steps. Don't wait, poll or sleep: the harness notifies you when it exits.
- Do not mark the PR ready, merge, or report the work as done until the notification has arrived and you have acted on it. On repos where pushing to a ready PR restarts expensive CI, apply the fixes before marking ready.
3. Act on the result
Exit 0 prints the verdict and findings, most severe first. For each finding:
- Check it against the current code first (you may have committed since the reviewed SHA, which the summary prints). A finding you can't reproduce by reading the code is rejected, with the reason.
- Fix P0 and P1 findings, one at a time, testing each.
- Fix P2 and P3 when the fix is small and certain; otherwise note them in the PR body or open a follow-up issue.
- Put one line in the PR body: reviewer, number of findings, what you fixed, what you rejected and why.
Review the fixes again only when a fix is itself non-trivial (over ~30
lines, or in a risk area). Rerun cross-review with a brief that replies to
each finding: fixed, or rejected and why. The script finds the last completed
review of the branch, even across a rebase, and sends only the commits since
then, with the earlier findings; a HEAD already reviewed returns that review.
With --vendor, only reviews by that vendor and model count.
One follow-up round; never loop.
Gotchas
- Exit 2 is not a pass. Empty or invalid output, or a crash, means
nobody reviewed the change. Say so in the PR; don't report it as clean.
With
--vendor autothe script already tried each reviewer that had headroom, and asked each once to fix an invalid answer. - Exit 4 means the reviewer hit
--timeout(default 30 minutes); the script stops it rather than starting the next reviewer from scratch, and prints its work so far: what it read or ran, and what it said. Continue when that work is closing in on specific risks in the diff:cross-review --continue RUN_DIR [--timeout SECONDS]resumes the same session on the same frozen copy, and can be repeated. When it is re-reading files, crawling code the diff doesn't touch, or said nothing useful, don't continue: report the review as incomplete, or rerun with another--vendor. Either way, exit 4 is not a pass. - Exit 3 means no quota left on any reviewer. Report it and ship without the review only if the repo allows that.
- Uncommitted changes abort the run, because the review pins HEAD. Commit first; a WIP commit is fine.
- The vendor order is deliberate. GLM on the Z.ai plan first, because
its 5-hour window has no weekly cap and idle headroom is lost; then GLM 5.3
on the Mistral API through Vibe, whose monthly plan credits also expire
unused; Codex last, because its weekly cap is the scarcest. Vibe is skipped
at 95% of its monthly credits; when
quotahas no Mistral line, a spent Vibe plan shows up as a failed run and Codex takes over. Don't override the order with--vendor codexto get a "better" review. - Never review with Vibe's default model (
mistral-medium-3.5). The script gives Vibe a privateVIBE_HOMEthat pinszai-glm-5-3, with the Vibe plan key from~/.vibe/.env(orVIBE_MISTRAL_API_KEY), never an exportedMISTRAL_API_KEY; don't runvibefor a review outside the script. - Don't widen the rubric. Asking for style, design or test-coverage
comments, or for a full fix per finding, raises false positives
(
reference/sources.md). - A follow-up under 300 changed lines defaults to
--effort low, because the reviewer's reading, not the diff, is what costs. Effort is the only control; nothing limits the reviewer's turns. Pass--effort medium|highwhen the new commits touch a risk area or code the earlier review never opened. The summary's first line prints the effort used. Pass--fullonly when the new commits change what the earlier ones mean (a redesign, a reverted approach);--since SHAsets the start by hand. - Findings whose lines fall outside the diff's hunks are dropped into
findings.jsonunderdropped_outside_diff; read them only if one names a real break. - Run directories live in
~/.cache/cross-review(CROSS_REVIEW_DIR) and are pruned after 14 days. Each holds the prompt, raw events and stderr.
Not possible
- No review of uncommitted work or of a PR you haven't checked out.
- No inline PR comments; the output is a summary for you to act on.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

