Skip to content
Agentmart
Submit a tool

ultra-verify

This skill should be used when the user asks to 'ultra-verify', 'cross-verify', 'triple review', 'all AIs check', 'multi-AI verify', 'three-way check', or…

Skill by rocky2431

IndexedMIT★ 11
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/rocky2431-ultra-verify

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

This skill should be used when the user asks to 'ultra-verify', 'cross-verify', 'triple review', 'all AIs check', 'multi-AI verify', 'three-way check', or wants independent analysis from all three AI models (Claude + Gemini + Codex).

Use cases: agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/ultra-verify

What's inside

Skill name
ultra-verify
Description
This skill should be used when the user asks to 'ultra-verify', 'cross-verify', 'triple review', 'all AIs check', 'multi-AI verify', 'three-way check', or wants independent analysis from all three AI models (Claude + Gemini + Codex).
License
MIT
Instructions
142 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (7)

  • SKILL.md
  • evals.json · evals/
  • collab-protocol.md · references/
  • confidence-system.md · references/
  • cross-verify-modes.md · references/
  • orchestration-flow.md · references/
  • verify_wait.py · scripts/

SKILL.md (first lines)

# Ultra Verify - Three-Way AI Verification

Orchestrate Claude + Gemini + Codex for independent three-way analysis. Each AI works independently, then Claude synthesizes with a confidence score based on consensus.

## Prerequisites

- Gemini CLI installed: `npm install -g @google/gemini-cli` + authenticated
- Codex CLI installed: `npm install -g @openai/codex` + `codex login`
- Verify both: `gemini --version && codex --version`

## Usage

```
/ultra-verify decision <question>    # Architecture/design decision — three independent analyses
/ultra-verify diagnose <symptoms>    # Bug diagnosis — three sets of hypotheses
/ultra-verify audit <scope>          # Code audit — findings ranked by consensus
/ultra-verify estimate <task>        # Effort estimation — confidence from agreement
```

## Workflow Tracking (MANDATORY)

**On command start**, create tasks for each major step using `TaskCreate`:

| Step | Subject | activeForm |
|------|---------|------------|
| 1 | Session Setup + Claude Analysis | Writing Claude analysis... |
| 2 | Launch External AIs | Launching Gemini + Codex... |
| 3 | Wait for Completion | Waiting for AI outputs... |
| 4 | Collect + Synthesize | Synthesizing results... |

**Before each step**: `TaskUpdate` → `status: "in_progress"`
**After each step**: `TaskUpdate` → `status: "completed"`
**On context recovery**: `TaskList` → resume from last incomplete step

## Orchestration — STRICT SEQUENTIAL EXECUTION

**RULE: Each step REQUIRES the output of the previous step. Never skip ahead. Never start synthesis without wait script JSON.**

### Step 1: Session Setup + Claude Analysis

```bash
SESSION_ID="$(date +%Y%m%d-%H%M%S)-verify-<mode>"
SESSION_PATH=".ultra/collab/${SESSION_ID}"
mkdir -p "${SESSION_PATH}"
```

Write Claude's own analysis to `${SESSION_PATH}/claude-analysis.md` FIRST (before reading external AI output).

### Step 2: Launch External AIs (both `run_in_background: true`, `timeout: 600000`)

Launch BOTH commands in a **single message** with two parallel Bash calls. Both MUST use `run_in_background: true`.

**Gemini** (all modes):
```bash
gemini -p "<PROMPT>" --yolo > "${SESSION_PATH}/gemini-output.md" 2>"${SESSION_PATH}/gemini-error.log"
```

**Codex** (all modes — always use `codex exec`):
```bash
codex exec "<PROMPT>" -s read-only -o "${SESSION_PATH}/codex-output.md" 2>"${SESSION_PATH}/codex-error.log"
```

**CRITICAL PROHIBITION** (after launching background tasks):
1. Run `verify_wait.py` IMMEDIATELY in the **next message** — do NOT process background task notifications first
2. NEVER read gemini-output.md or codex-output.md directly — wait for the wait script
3. Ignore ALL background task completion/idle notifications between launch and wait script return
4. The ONLY information path from external AIs is: `verify_wait.py` JSON → then Read output files

Violation of these rules causes premature synthesis without external AI input.

### Step 3: BACKGROUND WAIT

**IMMEDIATELY** after Step 2 (in the very next message), run this as a **background** Bash command:

```bash
python3 ~/.claude/skills/ultra-verify/scripts/verify_wait.py "${SESSION_PATH}" --timeout 1200
```

Use `run_in_background: true` (no Bash 600s limit for background tasks). The script polls every 3s for up to 20 minutes.

Two exit conditions:
1. **Output ready**: output file non-empty (size > 0) and size unchanged between consecutive polls → `status: "complete"`
2. **Timeout**: reached 1200s limit → `status: "timeout"`

Always exit 0. Result expressed via JSON `status` field.

When the background task completes, read the JSON output and proceed to Step 4.

### Step 4: Collect + Synthesize (REQUIRES Step 3 JSON)

**Do NOT enter this step without the JSON output from Step 3.**

1. **Parse the wait script JSON** — extract `gemini.status` and `codex.status`
2. **Read output files** only for AIs with `"complete"` status
3. **Compute confidence** — see `references/confidence-system.md`
4. **Write synthesis** — see `references/collab-protocol.md` for template

If both AIs failed → Claude-only analysis with explicit warning.
If one AI failed → two-way synthesis, note missing perspective.

### Session Structure

```
.ultra/collab/<SESSION_ID>/
  ├── metadata.json
  ├── claude-analysis.md
  ├── gemini-output.md
  ├── codex-output.md
  └── synthesis.md
```

## Modes

- **decision** — Architecture/design decisions with three independent recommendations
- **diagnose** — Bug diagnosis with three sets of top-3 hypotheses, ranked by consensus
- **audit** — Code audit with findings graded by consensus count (3=critical, 2=high, 1=investigate)
- **estimate** — Effort estimation with confidence based on estimate convergence

## Confidence System

From rocky2431/ultra-builder-pro, MIT.

More from rocky2431/ultra-builder-pro

Signals

Stars
11
Forks
4
Open issues
0
Last commit (this folder)
Mar 9, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from rocky2431

Cite this page

ultra-verify skill. Agent Mart. https://agentmart.dev/skills/rocky2431-ultra-verify (last updated 2026-10-24)