vedix-codex-cross-validator

vedix-codex-cross-validator is an agent for coding agents from danilkotelnikov/vedix. It costs 101 tokens per session (1,406 once invoked), scanned A, original, MIT.

A comparison agent that sends one software agent’s result to Codex for a second opinion. It returns whether the results agree and identifies important differences.

In plain words
What is it for?
Cross-checking ideation, hypotheses, code, writing, reviews, and search results in Claude Code workflows.
Why use it?
It helps catch disagreements between two agent outputs before the workflow continues. It does not perform the evaluation itself.

Agent

Part of the vedix plugin — 1 skill, 6 commands, 17 agents, 4 hooks, 10 MCP servers shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/danilkotelnikov/vedix/codex-cross-validator
Clone the repo
git clone --depth 1 https://github.com/danilkotelnikov/vedix

Or install vedix, the plugin that ships this one along with the rest of its 1 skill, 6 commands, 17 agents, 4 hooks, 10 MCP servers.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for vedix-codex-cross-validator

README.md
[![agentmods](https://agentmods.dev/badge/agents/danilkotelnikov/vedix/codex-cross-validator.svg)](https://agentmods.dev/agents/danilkotelnikov/vedix/codex-cross-validator)
Your own site
<a href="https://agentmods.dev/agents/danilkotelnikov/vedix/codex-cross-validator"><img src="https://agentmods.dev/badge/agents/danilkotelnikov/vedix/codex-cross-validator.svg" alt="Measured on agentmods" height="20"></a>
Per session 101 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,406 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00101 $0.01406
Opus 5 $0.00051 $0.00703
Sonnet 5 $0.00020 $0.00281
Haiku 4.5 $0.00010 $0.00141

Measured 3d ago against content hash c471bfc403b2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

vedix-codex-cross-validator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/vedix/agents/codex-cross-validator.md · 147 lines

How it starts

The opening of the file, as written. The whole thing — 147 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Codex Cross-Validator (Claude Code-exclusive)

You bridge to Codex via the codex_bridge_cli.py script. You do NOT do the analysis yourself — Codex does. Your job is to:

  1. Build a JSON spec describing the Claude output to validate.
  2. Pipe it to codex_bridge_cli.py cross-validate via Bash.
  3. Parse the verdict.
  4. If major_disagree, surface the discrepancy to the user via AskUserQuestion.
  5. Save the cross-validation result to the per-project palace.

Never run your own evaluation. The whole point is to get a second opinion from a different model family.

Inputs

  • <input name="task_type">ideation | hypothesis | code | writing | review | search
  • <input name="claude_output"> — the artifact Claude produced
  • <input name="task_inputs"> — JSON of the original inputs Claude was given
  • <input name="palace_path"><output_dir>/.palace
  • <input name="phase_name"> — for tagging in palace
  • <input name="timeout_seconds"> — default 300
  • <input name="cli_path"> — full path to mcp/scripts/codex_bridge_cli.py

Universal MemPalace contract

On entry:

mcp__mempalace__wake_up(root="<palace_path>", token_budget=1000)

On exit:

mcp__mempalace__mine(
  root="<palace_path>",
  content="Cross-validation of <phase_name>: <verdict>. Discrepancies: <list>.",
  tags=["vedix", "phase:<phase_name>", "agent:codex-cross-validator", "verdict:<verdict>"]
)

Steps

  1. Detect host first:

    python "<cli_path>" detect-host
    

    If output is not claude_code, return immediately with {"verdict": "skipped", "reason": "host_not_claude_code"}. This agent is CC-exclusive.

  2. Build the spec as JSON:

    {
      "task_type": "<task_type>",
      "claude_output": "<claude_output>",
      "task_inputs": <task_inputs>
    }
    
  3. Pipe to the CLI:

    echo '<spec_json>' | python "<cli_path>" cross-validate \
      --timeout <timeout_seconds> --effort high
    

    The CLI exits with:

    • 0 → agree
    • 1 → minor_disagree
    • 2 → major_disagree
    • 3 → codex_error / unavailable

Read the full file on GitHub · 147 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 147 lines · 101 tokens per session scan A c471bfc403b2

Subscribe to this mod's changes

vedix-codex-cross-validator is an agent published in the GitHub repository danilkotelnikov/vedix (3 stars, last pushed 3mo ago), licensed MIT. It adds 101 tokens to every session and 1,406 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

hlasm-assembler-specialist

IBM High-Level Assembler (HLASM) specialist for z/OS. Use when the task requires writing or reviewing HLASM modules, macros, exits, or performance-critical mainframe code paths. For example: authoring a user SVC, reviewing a system exit, writing a macro for a shared copybook convention, or diagnosing an S0Cx abend…

josstei/maestro-orchestrate · 306 tokens

cloud_architect

Cloud architecture specialist for AWS, GCP, and Azure topology design, IaC patterns, multi-region resilience, and cost/security trade-offs. Use when the task requires designing a cloud deployment, reviewing IaC for best practices, or evaluating multi-region/DR strategies. For example: choosing between ECS and EKS…

josstei/maestro-orchestrate · 83 tokens

wtfp-research-synthesizer

Investigate the literature needed to plan and write a specific section well. The output is an evidence-traceable synthesis of foundational and recent work, standard approaches, genuine gaps, positioning options, and concrete writing guidance—not a search-result dump.

akougkas/wtf-p · 57 tokens

AGENTS

Each file implements an AgentAdapter that reads local AI coding agent data.

eat-pray-ai/wingman · 0 tokens

conversation-analyzer

Use this agent when analyzing conversation transcripts to find behaviors worth preventing with hooks. Triggered by /egc-hookify without arguments.

Jamkris/everything-gemini-code · 30 tokens

code-generator

Role: Senior Software Engineer (Implementation Specialist) Output: Clean, compilable/runnable code blocks.

bl1nk-bot/bl1nk-agents-manager · 26 tokens