# Cross-Model Review

> 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.

Cross-Model Review is a paid AI agent skill on Agensi by Rakgorak Rak, in Code Quality & Review. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $9 (one-time purchase)
- Creator: [Rakgorak Rak](https://www.agensi.io/creators/superai-rakkyxd)
- Category: [Code Quality & Review](https://www.agensi.io/skills/code-quality-review)
- Version: 1.0
- Last updated: 2026-11-25
- Security: scan passed (2026-11-25); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/cross-model-review
- Tags: code-review, security, ai-agents, git, typescript

## 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 `3` when the gate fails (`--fail-on critical`, `warning` or `never`), 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
1. Pick the reviewer from a different vendor than the author (pairing table included).
2. `node scripts/review.mjs prepare` writes the reviewer prompt with the diff.
3. Run the reviewer CLI headless in read-only mode and save its output.
4. `node scripts/review.mjs grade` prints a Markdown report and the gate result.
5. `node scripts/review.mjs fix-prompt` produces 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.

## Requires

- 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.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Cross-Model Review skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does 'Cross Model Review' catch errors that a standard AI chat prompt misses?

This skill forces a second, independent AI model to audit your code, identifying logical errors or architectural blind spots that the original authoring model might have missed due to its own training biases.

### Which AI models or agents are compatible with this review process?

It works with any two AI coding CLIs from different vendors. The skill ships a reviewer pairing table and tested read-only reviewer commands for Codex and Claude Code; other CLIs such as Antigravity, OpenCode, Cursor Agent or Copilot can be used once their read-only flags are confirmed with --help.

### What exactly is included?

One zero-dependency Node.js script (scripts/review.mjs) with three commands: prepare (diff collection, noise filtering and the adversarial reviewer prompt), grade (robust JSON extraction, normalization and the merge gate) and fix-prompt (verify-then-fix instructions for the author). Plus a SKILL.md with the full workflow and reviewer pairing table.

### What are the technical requirements for setting this up in my local development environment?

Node.js 18+, Git, and AI CLIs from two different vendors. Run the prepare command in your repository, run the reviewer CLI read-only on the generated prompt, then run grade on its output.

### Does this skill handle large repositories with many dependency changes or lock file updates?

The skill includes an automated noise-filtering layer that strips out lock files, minified code, and build artifacts, ensuring the reviewer model only spends its context window on meaningful logic changes.

### Can I customize the 'pass/fail' criteria for the merge gate?

Yes, the grading script allows you to configure severity levels (such as 'critical' or 'warning') to define exactly what criteria must be met for a code change to pass the gate.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
