Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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…

centminmodот centminmod★ 32 звезды на GitHub16 установок в других каталогах

Об этом скилле

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 @filepath syntax (DO NOT use Read tool)

    • Store as VERIFY_FILES array (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
  • Code Snippet: Prompt user to paste code directly

    • Store as VERIFY_CONTENT variable
    • Use when verifying AI-generated code or partial snippets
  • Plan/Text: Prompt user to paste plan/text directly

    • Store as VERIFY_CONTENT variable
    • Use for implementation plans, architectural decisions, documentation

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" or gemini "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
Полный SKILL.md на GitHub

Установить ai-cross-verifier в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Bash
Read
Write

Вложенные файлы

README.md

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), без исполняемых скриптов.

Похожие скиллы

Сравнить ai-cross-verifier с