claudex-loop: Adversarial Plan Hardening for Claude Code and OpenAI Codex

Repositorychaseai-yt/claudex-loopTool

claudex-loop is a Claude Code skill and plugin that hardens development plans before any code is written. By placing Claude and OpenAI Codex into an adversarial cycle, competing models inspect and challenge specifications to prevent architectural flaws.

Key points

  1. Four distinct phases: Reconnaissance, developer interrogation, adversarial review by Codex in a sandbox, and cross-model build and inspection.
  2. Strict separation of concerns: The model responsible for drafting plans or writing code never reviews its own output.
  3. Human-in-the-loop checkpoints: Developers intervene at four specific gates (confirming assumptions, answering questions, signing off on the converged plan, approving diffs).
  4. Early defect mitigation: Detects unbuildable subsystems and data corruption risks before implementation begins.

Why it matters

Single-model workflows often suffer from blind spots, as an LLM cannot reliably critique its own logic. Introducing a rival model from another provider eliminates this echo chamber and uncovers critical architectural issues earlier.

Analysis

claudex-loop is aimed at software engineers and technical leads who use autonomous coding agents for larger features. It combines Anthropic's Claude Code environment with OpenAI Codex serving as a read-only reviewer. Maturity is evidenced by over 1,600 GitHub stars and continuous updates through September 2026, though a minor license discrepancy remains between the repository metadata (NOASSERTION) and the README badge (MIT).

Found in

Summary generated by AI (Gemini 3.8 Flash, 27 September 2026). It may contain errors – the original source is authoritative.

Similar in content, found by the AI search.

  • Repository:promptadvisers/claudex

    claudex: Autonomous Claude and Codex review loop for software planning

    claudex links Claude Code and Codex into an automated terminal loop. Claude creates development plans from short prompts, while Codex reviews them across multiple rounds covering architecture, security, and operations before Claude revises.

    119starsShell

    AI & LLMs· Tool

  • Repository:EveryInc/compound-engineering-plugin

    Compound Engineering: 33-Skill Plugin for AI Coding Agents

    Compound Engineering is an open-source plugin for AI coding agents designed to structure development workflows and systematically preserve learned context. It runs on 14 platforms, including Claude Code, Cursor, and Codex.

    24.9kstarsTypeScript

    AI & LLMs· Tool

  • Repository:DannyMac180/fable-advisor

    Fable Advisor: Multi-Model Orchestration for Claude Code

    Fable Advisor is a Claude Code plugin implementing an architect pattern where Fable 5.1 handles planning, specifications, and reviews, while GPT-5.6 Luna and Sol generate the actual code.

    1kstars

    AI & LLMs· Tool

  • Link:Matt Shumer

    The Gauntlet Loop: The Prompting Method Behind Claude of Duty

    Matt Shumer explains the 'Gauntlet Loop', the prompting technique used to build a 55,000-line 3D game using Claude Opus 5 inside Claude Code from a single prompt. The method delegates decomposition to a lead agent and pairs independent builders with isolated critics that evaluate outputs against an ambitious reference standard.

    AI & LLMs· Tutorial

  • Repository:obra/superpowers

    Superpowers: An Agentic Skills Framework and SDLC Methodology for Coding Agents

    Superpowers is an open-source development methodology and skills framework for AI coding agents. Instead of immediately writing code, agents clarify specifications, draft test-driven implementation plans, and execute tasks autonomously through subagents.

    285.9kstarsShell

    AI & LLMs· Tool

Let's talk about your project

Locations

  • Mattersburg
    Johann Nepomuk Bergerstraße 7/2/14
    7210 Mattersburg, Austria
  • Vienna
    Ungargasse 64-66/3/404
    1030 Wien, Austria

Parts of this content were created with the assistance of AI.