cross-modal-review
What it does
This skill sends finished work to a different AI model for review before you commit to it. If one model refuses, it switches to the next one in line.
When to use it
- βWhen a change touches many files or includes security-sensitive code.
- βWhen your agent is stuck and you want a fresh review of its approach.
- βWhen you want an independent check of work before you finalize it.
Skill link
https://github.com/garrytan/gbrain/blob/master/plugin/skills/cross-modal-review/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βBefore we finalize this change, get a second opinion from another AI model on the security risks.β
5 new skills a week. 1 minute to read.
How it works
The agent passes the work to a second model along with what the original task promised. It reports where the two models agree and disagree, and you make the final decision.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Cross-Modal Review
Convention: see conventions/cross-modal.yaml for the review pairs and refusal routing chain.
Relationship to
gbrain eval cross-modal: This skill is the manual mid-flow gate (one model reviews work product before commit, with refusal routing). Thegbrain eval cross-modalcommand (v0.27.x) is a sibling surface: 3 different-provider frontier models score-and-iterate on a documented dimension list before tests cement behavior. Use this skill for ad-hoc second opinions; usegbrain eval cross-modalfor the skillify Phase 3 quality gate. The two are complementary, not redundant.
Contract
This skill guarantees:
- Work product is reviewed by a different model before finalizing.
- The review is graded against the originating skill's Contract section (what was promised), not vibes.
- Agreement and disagreement are reported transparently.
- Refusal from one model triggers a silent switch to the next in chain.
- The user always makes the final decision (user sovereignty).
When to invoke (v0.25.1 gating)
Invoke this skill when:
- Significant code changes β any commit touching 5+ files or 100+ lines. Architecture decisions, refactors, API changes.
- Security-sensitive changes β auth flows, brain-write trust boundaries, webhook transforms, cross-skill data passing.
- Stuck or churning β 2+ iterations on the same problem without progress.
- Pre-bulk-operation β before running batch enrichment, migrations, or bulk writes (see conventions/test-before-bulk.md).
- Skill creation / modification β new or rewritten skills that affect operational behavior.
- Brain-page quality concerns β when brain writes need validation against the originating skill's Contract.
Do NOT invoke for:
- Simple memory writes or brain-page updates
- Single-file typo fixes
- Routine cron output or heartbeat operations
- Git commit / push of already-reviewed work
Phases
- Capture the work product. The brain page, analysis, code diff, or decision to be reviewed.
- Load the Contract. Read the originating skill's Contract section (what was promised).
- Spawn review model. Send the work + Contract to a different model. Use conventions/model-routing.md for model selection.
- Grade. Model evaluates: did the output follow the Contract? Pass / fail with specific citations.
- Report. Present agreement / disagreement to the user. Never auto-apply the reviewer's suggestions.
Code-review handoff (v0.25.1 extension)
For diff review specifically, gstack ships a /codex skill that wraps
the OpenAI Codex CLI. Two modes:
Codex Review
Independent diff review from a different AI system. The user invokes
/codex review (gstack-shipped); cross-modal-review's job is to
RECOGNIZE when this is the right tool and recommend it explicitly.
When to recommend /codex review:
- After a substantive diff lands and before merge
- When the user wants a second opinion that's NOT another Claude
Output framing (when cross-modal-review surfaces Codex output):
CODEX REVIEW (independent second opinion):
ββββββββββββββββββββββββββββββββββββββββββ
<full codex output, verbatim>
ββββββββββββββββββββββββββββββββββββββββββ
CROSS-MODEL ANALYSIS:
Both found: [overlapping findings]
Only Codex: [findings unique to Codex]
Only Claude: [findings unique to my analysis]
Agreement: X% (N/M findings overlap)
User decides what to act on. Cross-model agreement is signal, not permission.
Adversarial Challenge
Same shape, different prompt. Used on security-sensitive changes: the reviewer is asked to find injection vectors, race conditions, auth bypasses, data leaks, privilege escalation paths.
Output adds an exploitability rating (CRITICAL / HIGH / MEDIUM / LOW) and recommended mitigations.
Refusal routing
If the primary review model refuses:
- Switch silently to the next model in the chain (see
conventions/cross-modal.yaml). - Don't show the refusal to the user.
- Don't announce the switch.
- If ALL models in the chain refuse, escalate to the user.
Output format
Standard review
Cross-Modal Review
==================
Reviewer: {model name}
Contract: {originating skill}
Verdict: PASS | ISSUES FOUND
Findings:
- {finding with evidence}
Agreement with primary: {X}%
FAQ
Does the second model make the final call?
No. You always make the final decision, and the review is a recommendation.
What if one model refuses to review?
The skill quietly moves to the next model in its chain.
How is this different from the eval command?
This is an ad hoc second opinion, while the eval command is a formal quality gate with several models.
Details
Original description by the author
Quality gate via second model. Spawn a different AI model to review work before committing. Includes refusal routing: if one model refuses, switch silently to the next. Extended in v0.25.1 with structured review-mode gating (when to invoke vs not) and a Codex code-review handoff for the diff-review case.
repo: garrytan/gbrain
Popularity
- GitHub stars
- 31k
- Ranking position
- #9298
- License
- MIT
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
gbrain
31kLets your agent search a shared company knowledge brain for facts about people, projects and decisions, and save durable notes to it.
brain-ingest-gate
31kChecks new content against an existing knowledge brain before it is added, to avoid duplicates and resolve named entities first.
brain-link-discipline
31kMakes sure your agent includes a working link to each brain page it reports, in the same message, so you can open it right away.
brain-ops
31kGives your agent the core routine for a knowledge brain: check existing context first, save explicit notes with their source, and link related pages.
Similar skills
add-model-provider
394kLets your agent connect a new AI model provider to OpenClaw using safe setup commands, keep API keys out of plain text, and run a live test.
acp-router
394kHelps your agent send a task to a coding assistant such as Claude Code or Cursor through OpenClaw, so the work runs in that tool.
browser-automation
394kTeaches your agent to control web pages step by step, including logins, tabs, and recovery when a page stops responding.