cross-review
Skill1 starsChanged 33 days agoMITView on GitHub
Explicit-use only — invoke when the user explicitly names this skill, or when an active explicitly invoked workflow calls it. Read-only review by the other model family (Codex when Claude wrote the work, Claude when Codex did) of a committed change or a draft document, plus triage of hosted review findings: scope and materiality, dispositions kept in a review ledger, related-instance searches, convergence and verified convention learning. Returns the reviewed SHA or digest, coverage, dispositions, unresolved blockers and where the evidence is.
27 other projects use a version of this.
Adopted by
Most recently taken up by
- srsatt/agent-skillstheir own version, first seen Nov 29, 2026
- broomva/skillstheir own version, first seen Nov 26, 2026
- Robo-Co-op/robobuilder-standardtheir own version, first seen Nov 16, 2026
- timursafiullin/aodtheir own version, first seen Nov 15, 2026
- isanchez-aguilar/relayrace-aitheir own version, first seen Nov 8, 2026
- ytil/skillstheir own version, first seen Nov 1, 2026
Used with
Projects with it also use handoff and tdd.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MicrosoftSkillhandoff
Compact the current conversation into a handoff document for another agent to pick up.
Also in 4 projects that use this
GoogleSkilltdd
Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.
Also in 3 projects that use this
Other versions27 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 27
- MiaoDX/intuitive-flow★ 48same name
- webpro/skills★ 18same name
- sohei56/maul-team★ 17same name
- ruodou233/cross-review★ 14same name
- sentimony/skills★ 8same name
- broomva/skills★ 7same name
- coder-xieshijie/dev-skills★ 6same name
- qwwiwi/agentos-skills-public★ 4same name
- Robo-Co-op/robobuilder-standard★ 3same name
- ShlomiPorush/agent-skills★ 2same name
17 more not listed
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 repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- skills/cross-review/references/claude.mdCLAUDE.md
- arch-reviewSkill
- devSkill
- discoverySkill
- githubSkill
- learnSkill
- linearSkill
- product-researchSkill
- spec-writerSkill
- teamSkill
- verify-changeSkill
The file
Files
Cross-review
One review procedure for a change, a hosted review's findings, or a decision document. The reviewer is the model family that did not write the work: Codex when you run on Claude Code, Claude when you run on Codex.
Explicit use only. It reviews and returns a result. It never edits the reviewed work, commits, posts, replies to or resolves threads, pushes or merges, and it starts no other reviewers. The caller (dev, discovery, or the user) applies fixes and does every service write. Its rules end when it returns the result.
Step 1: Select the review mode and version
Identify the caller’s requested scope and choose one mode below. Establish its input and version identity before reviewing; do not count hosted triage as a new model pass.
| Mode | Input | Reviewed version |
| Change | worktree, base ref, committed changes | head SHA from the script's header line |
| Document | one draft file, committed or not | sha256 content digest from the header line |
| Hosted triage | findings the caller fetched (via github) with source URLs, and the PR head | the head SHA the findings were read on |
Hosted triage assesses findings another reviewer already made; it runs no model and never claims a cross-model pass happened. A change still needs change mode for a cross-model result.
Step 2: Load the ledger and prepare the request
Read references/review-continuity.md first: its ledger, related-instance search and convention rules apply in every mode. Then read the reference for the reviewer in play, which holds how the script runs it and its gotchas: references/codex.md or references/claude.md for change and document modes, references/coderabbit.md for CodeRabbit findings in hosted triage mode and what a throttled CodeRabbit review means for a gate.
- Load the ledger for this repository and branch, the same key before and after the PR exists (for a document, its path). Missing means a first pass.
- Write the prompt file (change/document modes only) in scratch space: the caller's scope verbatim as OUT OF SCOPE / IN SCOPE (a Scope Brief when one exists), then "Report only blocking findings: correctness, security, data loss, or a story in
specs/stories.md(or a stated requirement, when there is no change folder) the work doesn't meet. Rank them, give file and line, and say why each blocks. Give each its evidence: the file:line it rests on, the failure traced step by step, or a command you ran with its output. Report nothing else." Add the ledger text, including open findings and the evidence and fix SHAs behind earlier dispositions: a scratch-file path alone is not readable by every reviewer. For a document, add what decision it supports and what would change it.
Step 3: Run the reviewer or enter hosted triage
For hosted triage, use the supplied findings and pinned head directly; skip prompt preparation and reviewer execution. For change/document mode:
Run the reviewer (change and document modes) as a long command, logging to scratch space. <skill-dir> is this skill's real directory:
- change:
bash <skill-dir>/scripts/cross-review.sh <codex|claude> <worktree> <base-ref> <prompt-file> > <log> 2>&1 - document:
bash <skill-dir>/scripts/cross-review.sh <codex|claude> --document <file> <prompt-file> > <log> 2>&1
The last line is STATUS=COMPLETED or STATUS=ERROR; a log without one is still running. Never poll it and never put a timeout on it: a real review takes many minutes and prints nothing until it finishes. Wait the way the host does (the host adapters reference in dev). In change mode, the script reviews committed changes only, so an uncommitted fix is never reviewed; it refuses a worktree with uncommitted or untracked files, since the reviewer would read them as part of the head SHA, and reports STATUS=ERROR if the worktree changes while it runs.
Step 4: Triage and update dispositions
Triage each finding against the scope and reviewed version: the pinned head for change/hosted triage, or the reviewed snapshot for a document. An uncommitted fix or a later document edit is not evidence for that version. Blocking and in scope: open, for the caller to fix. Out of scope: recorded with the exclusion that covers it. Wrong premise or immaterial: rejected with evidence. Record each finding's evidence level, exactly one of cited (the file:line the finding rests on), traced (the failure followed step by step) or ran (a command and its output). Every finding records at least cited: the reviewer gives file and line, and triage locates a hosted finding's line. A finding whose line shows only where the alleged defect is, not what the finding asserts, or whose evidence otherwise doesn't show a premise it asserts (a cited line that doesn't show the bad input reaching it), rests on argument alone: the argument-only mark, not the level, records that the location isn't support. Before accepting such a finding for a fix pass, run the check that would settle it when the caller is already permitted to run it (a test, a grep, a validator), and record its result as the finding's evidence at level ran. A finding no permitted check can settle is triaged on its argument, keeps the level of the evidence it has, and is marked argument-only. Never reject a finding for lacking a run: document-mode findings and defects provable by reading stand at cited or traced. The Claude reviewer has no shell, so its strongest level is traced. Then run the related-instance search for each accepted defect. Record everything in the ledger.
Step 5: Return the result and convergence state
Return the result (below). The caller fixes the open findings in one batch, commits them (for a change) or edits the draft (for a document), and asks again for the next pass, with the ledger.
Convergence. A pass converges when its triage and the ledger leave no unresolved blocker. A repeated settled finding without new evidence is recorded but doesn't block; a quiet pass never erases an earlier open finding. After three passes with blockers left, return them for the user; don't start a fourth. The limit is per review round. A round runs from its first pass until it converges, and its fix batches stay inside it: a pass after a fix batch is the round's next pass, not a new round. A new round starts only after the previous one converged (a later delta review after re-evaluation or a hosted fix batch) or when the user authorizes one. The pass count lives in the ledger and carries across invocations: resuming a round continues its count, it doesn't restart it. Only the user can authorize another round after the limit; record that authorization in the ledger, and the new round gets up to three passes of its own. A fix that changes reviewed behaviour needs review of the delta and whatever depends on it.
Unavailable. On STATUS=ERROR, fix a setup error the script names and rerun; otherwise record the review as unavailable with its reason. A cross-model reviewer that can't run or is rate-limited is unmet coverage, never a pass, and a required review that is unmet blocks autonomous merge. A throttled CodeRabbit review is the one exception, and only as references/coderabbit.md defines it.
Result
Return exactly these five fields, plus the findings:
- Reviewed: the SHA (change, hosted triage) or
sha256:<digest>(document), plus for a change the merge base from the script'smerge_base=(dev's completion reuses a review only on the same base). - Coverage: reviewer, mode, passes run, and what was reviewed; or
unavailable: <reason>. - Dispositions: each finding's ID, disposition and evidence level (
cited,tracedorran, with an argument-only mark where it applies), with evidence. - Unresolved blockers: open in-scope blockers, or none.
- Evidence: the ledger location and the final pass’s log; for hosted triage, the supplied review/comment locations and an explicit statement that no new model pass ran.
A converged change review is summarized for the caller's record as Cross-review: <reviewer>, <passes> pass(es), converged at <short-sha>.
Gotchas
Reviewer-specific gotchas live in that reviewer's reference.
- A document's digest names a snapshot. Edits made after the review started are not covered; review the new digest. Keep the review record (summary, reviewer, the converged digest) in the ledger and the caller's report, never in the reviewed file: writing it there changes the digest it names.
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.

