- Home
- Skills
- Code Quality & Review
- Cross-Model Review
Works with the AI Agents you already use
Cross-Model Review
by Rakgorak Rak
A different AI model adversarially reviews your AI's code: structured verdict, severity-ranked findings, a pass/fail merge gate and a verify-before-fix prompt.
$9
Cross-Model Review
Example session with this skill installed
Have Codex review what you just wrote before I commit.
- Read your context and instructions
- Compiled the cross-model review
You wrote this change with Claude, so the reviewer is Codex (a different vendor), run read-only.
Reviewer prompt written to .cross-review/prompt.md
Files: 3 reviewed, 1 skipped. Size: 9,412 chars.
(skipped: package-lock.json)
Cross-model review: changes requested (score 62/100)
The upload handler works for normal files, but the filename is used unchecked in a filesystem path.
Critical: 1 · Warnings: 1 · Suggestions: 1 · Gate (critical): FAIL
- [CRITICAL] Path traversal in upload filename
src/upload.ts:41
path.join(UPLOAD_DIR, req.body.name)withname = "../../.env"writes outside the upload folder.
Suggested fix:const safe = path.basename(req.body.name); if (!safe || safe.startsWith(".")) throw new BadRequest(); - [WARNING] Missing size limit
src/upload.ts:18
A 2 GB body is buffered fully in memory, so one request can exhaust RAM. - [SUGGESTION] Reuse the existing MIME allow-list
src/upload.ts:25
What I did with it
- #1: confirmed real. I fixed it with
path.basenameand a guard, and added a test that sends../../.env. - #2: confirmed real. I added
limit: "20mb"to the body parser. - #3: applied.
Re-review: approved (score 91/100), gate PASS. npm test: 48 passed, 0 failed.
Next step: safe to commit.
Connects securely to your tools. The creator never sees your data.
About this skill
A model reviewing its own code shares its own blind spots. Cross-Model Review sends your change to a different vendor's model (Codex reviews Claude, Claude reviews Codex) with an adversarial reviewer prompt, then turns its answer into something you can act on.
What it does
- Smart diff collection: working tree, staged changes, or a whole branch (
--base main). Lock files, minified bundles and build output are filtered out; untracked new files are included; size is capped. - Adversarial reviewer prompt: critical / warning / suggestion tiers. Every serious finding must name the input or state that triggers it, which cuts false positives and vague advice.
- Robust grading: extracts JSON even when the model wraps it in prose or code fences, normalizes bad severities and scores, and refuses an "approved" verdict that lists a critical issue.
- Merge gate: exit code
3when the gate fails (--fail-on critical,warningornever), usable before commit, before merge, or in CI. - Verify-then-fix: generates a fix prompt that makes the author agent confirm each finding is real before changing code, and explain any it rejects.
- Loop guard: at most two review rounds, so the models don't ping-pong.
How it works
- Pick the reviewer from a different vendor than the author (pairing table included).
node scripts/review.mjs preparewrites the reviewer prompt with the diff.- Run the reviewer CLI headless in read-only mode and save its output.
node scripts/review.mjs gradeprints a Markdown report and the gate result.node scripts/review.mjs fix-promptproduces the verify-then-fix instructions for the author.
Frameworks & tools
A single zero-dependency Node.js 18+ script plus Git. Read-only reviewer commands are provided for Codex and Claude Code.
Why this beats prompting it yourself
Asking the same model to "review your work" rarely finds its own mistakes, and free-form reviews are hard to gate on. This skill guarantees an independent model, a strict schema and a deterministic pass/fail decision.
Security
review.mjs runs only read-only Git commands (git diff, git ls-files) without a shell, makes no network calls and writes only to .cross-review/. The reviewer CLI always runs read-only. Your diff goes to the reviewer vendor you already use.
Known limitations
Needs AI CLIs from two different vendors. Very large diffs are truncated (default 120,000 characters). Reviewers can still be wrong, which is why findings are verified before fixing.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 9 days ago
- Software
Git
Node.js 18+
Needs AI coding CLIs from two different vendors, installed and signed in (for example Claude Code + Codex). The reviewer always runs read-only.
Permissions
File Scopes
review.mjs runs only read-only git commands (git diff, git ls-files) without a shell and writes only to .cross-review/. Network Access: the diff is sent to the reviewer CLI's vendor (the user's own installed and signed-in CLI), which always runs in read-only mode. The script itself makes no network calls.
What's inside
Frequently Asked Questions
New in Code Quality & Review
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Code Quality & Review.