Claude × Codex Collab: Plan Debate & Code Review

    1

    Make Claude Code and OpenAI Codex work as a team: Codex critiques the plan and reviews the code read-only, Claude builds and fixes, and you are only asked about what you want.

    $7

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Claude × Codex Collab: Plan Debate & Code Review

    Example session with this skill installed

    Add rate limiting to our Express API login endpoint. Discuss the plan with Codex first and get a Codex review before you say it's done.

    • Read your context and instructions
    • Compiled the claude codex collab

    Summary

    Example session (illustrative). Login rate limiting is added and tested. Codex challenged the plan in 2 rounds and its review caught 2 real issues, which were fixed before handing over.

    1. Question for you (asked once)

    Should a locked-out user see "Too many attempts, try again in 15 minutes", or a generic error?

    Recommended: the explicit message (better UX, no security loss since the limit is per IP + username).

    2. Plan debate with Codex

    #Codex pointSeverityClaude's answer
    1In-memory counter breaks with 2+ server instancescriticalAGREE: use the existing Redis
    2Limiting only by IP lets attackers rotate IPsimportantAGREE: key on IP and username
    3Use a sliding window instead of a fixed oneminorDISAGREE: fixed 15-minute window matches the requirement; noted
    4Lockout message wording[ASK-USER]Asked you (see above)

    Round 2: Codex replied "AGREE on 1, 2, 4; accept the reasoning on 3". Plan locked.

    3. Build

    • middleware/loginLimiter.js: Redis INCR + EXPIRE, keyed login:{ip}:{username}, 5 attempts per 15 minutes, returns HTTP 429 with Retry-After.
    • routes/auth.js: limiter applied to POST /login; counter reset on successful login.
    • test/loginLimiter.test.js: 6 tests (limit reached, window reset, success reset, separate users, Retry-After header, Redis down).

    4. Codex review

    FindingSeverityResult
    INCR and EXPIRE are separate calls: a crash between them leaves a key without expiry, locking the user foreverimportantFixed: MULTI transaction, plus a test
    When Redis is down, the middleware throws and login returns 500importantFixed: fail open with a warning log (agreed with Codex)
    Username should be lower-cased in the keyminorFixed

    Re-review: "No remaining issues."

    5. Next steps

    • All 6 tests pass. Consider adding an alert when the limiter fails open.
    • Decision made by Claude after debate: fixed window (Codex preferred sliding; both opinions are noted above).

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Two models, one better result

    One model reviewing its own work misses its own blind spots. This skill gives Claude Code a second, critical engineer: OpenAI Codex. They discuss with each other directly, so you are not stuck copy-pasting between two chat windows.

    How it works

    1. Understand the need. Claude collects everything unclear about your goals and asks you once, in one batch, with a recommendation.
    2. Plan debate. Claude writes a plan and Codex attacks it: numbered points marked critical / important / minor. Claude answers AGREE or DISAGREE with reasons, for at most 3 rounds. Anything that is really your preference is flagged [ASK-USER] and brought back to you.
    3. Build in parallel. Claude implements while Codex reviews finished chunks in the background (incremental review). Neither sits idle.
    4. Review debate. Codex reviews the diff against the agreed plan with file:line and severity. Claude verifies every finding itself, since Codex can be wrong too, then fixes the valid ones and explains the rejected ones.
    5. Honest report. What was built, where the two models disagreed and how it was settled, and what Codex caught.

    Who decides what

    • What you want (goals, scope, look and feel, tradeoffs): always asked to you.
    • How to build it (architecture, libraries, tests, security): settled by Claude and Codex, with evidence when they disagree.

    What's included

    • SKILL.md: the full collaboration workflow.
    • codex-chat.sh: multi-turn Codex discussions; Codex remembers the context.
    • codex-review.sh: one-shot review of uncommitted changes, a branch, or a commit.
    • codex-check.sh: setup check (installed, logged in, answers a test message).

    Safe by default

    • Codex runs in a read-only sandbox and never edits your files.
    • It uses your own Codex model and settings; override with CODEX_COLLAB_MODEL / CODEX_COLLAB_EFFORT.
    • Clear error hints for not logged in, unavailable model, and usage limits. Claude never claims a review happened when it failed.
    • Works on macOS, Linux and Windows (Git Bash), with or without the timeout command.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.

    Codex is read-only and cannot edit files. Discussions are capped at 3 rounds per phase. Every Codex call uses your own Codex plan's usage and needs internet access. Codex review quality depends on the model your Codex account has.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 6 days ago

    Accounts
    OpenAI
    Software
    GitOpenAI Codex CLI (logged in)Bash (macOS, Linux or Git Bash on Windows)

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Network Access
    Environment Variables

    Allowed Hosts

    openai.com
    Listed6 days ago

    What's inside

    Frequently Asked Questions

    Before building, Codex critiques Claude's plan as a separate model with different blind spots; after building, it reviews the diff against that plan. Claude verifies each finding before fixing it, so issues like race conditions, missing error handling or security gaps are caught before you merge.

    This skill requires a Bash-compatible shell environment and integrates directly with Git; it is designed to work with Claude as the primary lead developer and OpenAI Codex as the reviewer.

    A little, by design: a plan debate and a review add a few minutes per task. To keep it short, Codex runs in the background while Claude keeps working, discussions stop after at most 3 rounds, and trivial edits skip Codex entirely.

    SKILL.md (the collaboration workflow), three Bash scripts (codex-chat.sh for multi-turn discussions, codex-review.sh for one-shot reviews, codex-check.sh to verify your setup), and a README with install steps and settings.

    Codex operates in a read-only sandbox for safety; it can critique and debate code but cannot directly modify your source files, ensuring you or the lead agent maintain final control.

    While the system supports any language, it is most effective in structured repositories where it can use Git to track diffs and architectural changes over time.

    New in Agents & Orchestration