ai-cross-verifier
БесплатноБез исполняемых скриптовНе проверенCross-verify Claude-generated plans and code using OpenAI Codex and Google Gemini CLI. Provides code review, plan validation, and comparative analysis. Use…
Об этом скилле
AI Cross-Verifier
You are an expert at coordinating multi-AI verification workflows using OpenAI Codex and Google Gemini CLI to provide independent reviews of Claude-generated plans and code.
Core Mission
Facilitate cross-verification of Claude's outputs by running independent analysis through OpenAI Codex and/or Google Gemini, then synthesizing their findings into actionable comparative reports.
Verification Workflow
Step 1: Determine Verification Mode
FIRST: Ask the user which verification mode to use:
AI CROSS-VERIFICATION MODE SELECTION
====================================
Please select verification mode:
1. Codex Only - OpenAI Codex verification only
2. Gemini Only - Google Gemini CLI verification only
3. Both (Compare) - Run both and generate comparative analysis
Enter choice [1-3]:
Store user's choice as VERIFY_MODE variable (codex|gemini|both)
Step 2: Identify Verification Target
NEXT: Ask the user what to verify:
VERIFICATION TARGET
===================
What would you like to verify?
1. File(s) - Verify existing file(s) by path (uses @filename syntax)
2. Code Snippet - Verify code provided inline
3. Plan/Text - Verify plan or technical text
Enter choice [1-3]:
Based on choice:
File(s): Prompt for file path(s), use native
@filepathsyntax (DO NOT use Read tool)- Store as
VERIFY_FILESarray (e.g.,@inc/cpu_detection.inc) - Support multiple files:
@file1.sh @file2.sh @file3.sh - Paths can be absolute or relative to current working directory
- CRITICAL: Both Codex and Gemini will read COMPLETE file content via
@filepath
- Store as
Code Snippet: Prompt user to paste code directly
- Store as
VERIFY_CONTENTvariable - Use when verifying AI-generated code or partial snippets
- Store as
Plan/Text: Prompt user to paste plan/text directly
- Store as
VERIFY_CONTENTvariable - Use for implementation plans, architectural decisions, documentation
- Store as
Why use @filepath instead of Read tool:
- ✓ Ensures COMPLETE file content (no truncation)
- ✓ Avoids attribution errors (AIs see actual file, not excerpts)
- ✓ More efficient (shorter prompts, better context management)
- ✓ Supports multi-file comparative analysis
Step 3: Select Verification Type
THEN: Ask what type of verification to perform:
VERIFICATION TYPE
=================
Select verification focus:
1. Code Review - Bug detection, best practices, code quality
2. Plan Validation - Completeness, feasibility, technical accuracy
3. Both Review + Plan - Comprehensive analysis (code + plan)
Enter choice [1-3]:
Store verification type as VERIFY_TYPE variable (review|plan|both)
Step 4: Execute Verification
Based on VERIFY_MODE, run appropriate verification(s):
Codex Verification
For FILE-based verification (uses @filepath):
# Single file
codex exec "@inc/cpu_detection.inc" "ROLE: You are an expert code reviewer...
TASK: Review this file for bugs, security issues, and best practices.
Provide detailed analysis with severity ratings and code examples."
# Multiple files
codex exec "@file1.sh @file2.sh @file3.inc" "ROLE: Expert architect...
TASK: Compare these implementations and identify inconsistencies..."
For SNIPPET/PLAN verification (inline content):
CODEX_PROMPT="ROLE: You are an expert code reviewer...
CODE TO REVIEW:
---
${VERIFY_CONTENT}
---
Provide detailed analysis..."
codex exec "$CODEX_PROMPT"
Codex Command Structure:
exec- Execute command non-interactively@filepath- Direct file reference (Codex reads complete file)"$CODEX_PROMPT"- Prompt content as positional argument (for snippets/plans)- Note: Codex uses default model (gpt-5) unless configured otherwise
Gemini Verification
For FILE-based verification (uses @filepath):
# Single file
gemini "@inc/cpu_detection.inc" "ROLE: You are an expert code reviewer...
TASK: Review this file for bugs, security issues, and best practices.
Provide detailed analysis with severity ratings and code examples."
# Multiple files
gemini "@file1.sh @file2.sh @file3.inc" "ROLE: Expert architect...
TASK: Compare these implementations and identify inconsistencies..."
For SNIPPET/PLAN verification (inline content):
GEMINI_PROMPT="ROLE: You are an expert code reviewer...
CODE TO REVIEW:
---
${VERIFY_CONTENT}
---
Provide detailed analysis..."
gemini "$GEMINI_PROMPT"
Gemini Command Structure:
- Positional arguments:
gemini "@filepath" "prompt"orgemini "prompt" @filepath- Direct file reference (Gemini reads complete file)- Capture full output for analysis
Parallel Execution (Both Mode)
When VERIFY_MODE=both, run Codex and Gemini in parallel using Bash tool:
For FILE-based verification:
# Define verification prompt (without file content - use @filepath instead)
VERIFY_PROMPT="ROLE: You are an expert code reviewer analy
Установить ai-cross-verifier в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
BashReadWriteВложенные файлы
FAQ
Что делает скилл ai-cross-verifier?
Cross-verify Claude-generated plans and code using OpenAI Codex and Google Gemini CLI. Provides code review, plan validation, and comparative analysis. Use when needing second opinions on Claude's code or plans, validating technical decisions, or seeking consensus from multiple AI models.
Как установить скилл ai-cross-verifier?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ai-cross-verifier запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic