Skip to content
Skillpedia
Agents31k Β· #9298

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

Copy 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

Use this skill to help me: https://github.com/garrytan/gbrain/blob/master/plugin/skills/cross-modal-review/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

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). The gbrain eval cross-modal command (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; use gbrain eval cross-modal for 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

  1. Capture the work product. The brain page, analysis, code diff, or decision to be reviewed.
  2. Load the Contract. Read the originating skill's Contract section (what was promised).
  3. Spawn review model. Send the work + Contract to a different model. Use conventions/model-routing.md for model selection.
  4. Grade. Model evaluates: did the output follow the Contract? Pass / fail with specific citations.
  5. 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:

  1. Switch silently to the next model in the chain (see conventions/cross-modal.yaml).
  2. Don't show the refusal to the user.
  3. Don't announce the switch.
  4. 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

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills