cross-modal-review
Skill này làm gì
Skill này gửi công việc đã xong đến một mô hình AI khác để xem xét trước khi bạn chốt. Nếu một mô hình từ chối, nó chuyển sang mô hình tiếp theo trong chuỗi.
Khi nào nên dùng
- ✓Khi một thay đổi ảnh hưởng nhiều file hoặc có mã nhạy cảm về bảo mật.
- ✓Khi agent của bạn đang bị kẹt và bạn muốn một đánh giá mới về cách làm.
- ✓Khi bạn muốn một kiểm tra độc lập trước khi chốt công việc.
Liên kết skill
https://github.com/garrytan/gbrain/blob/master/plugin/skills/cross-modal-review/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Trước khi chốt thay đổi này, hãy lấy ý kiến thứ hai từ một mô hình AI khác về các rủi ro bảo mật.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent gửi công việc cho mô hình thứ hai cùng với những gì nhiệm vụ gốc đã hứa. Nó báo cáo những điểm hai mô hình đồng ý và bất đồng, còn quyết định cuối cùng thuộc về bạn.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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}%
Câu hỏi thường gặp
Mô hình thứ hai có đưa ra quyết định cuối cùng không?
Không. Bạn luôn là người quyết định cuối cùng, còn đánh giá chỉ là một khuyến nghị.
Nếu một mô hình từ chối đánh giá thì sao?
Skill lặng lẽ chuyển sang mô hình tiếp theo trong chuỗi.
Khác gì với lệnh eval?
Đây là ý kiến thứ hai đột xuất, còn lệnh eval là cổng kiểm tra chất lượng chính thức với nhiều mô hình.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 31k
- Vị trí xếp hạng
- #9298
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
gbrain
31kCho phép agent của bạn tìm trong kho tri thức dùng chung của công ty các thông tin về con người, dự án và quyết định, và lưu ghi chú bền vững vào đó.
brain-ingest-gate
31kKiểm tra nội dung mới với kho tri thức hiện có trước khi thêm vào, để tránh trùng lặp và xác định các thực thể được nêu tên trước.
brain-link-discipline
31kĐảm bảo agent của bạn kèm một liên kết hoạt động đến mỗi trang kho tri thức mà nó báo cáo, trong cùng một tin nhắn, để bạn mở được ngay.
brain-ops
31kCung cấp cho agent của bạn thói quen cốt lõi cho kho tri thức: kiểm tra ngữ cảnh có sẵn trước, lưu ghi chú rõ ràng kèm nguồn và liên kết các trang liên quan.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.