Codex × Claude Code Debating

    1

    Get a second opinion on a design before you build it. Codex and Claude Code draft separate proposals, challenge assumptions, and leave you a written decision or a list of open questions and tests.

    $3

    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

    Codex × Claude Code Debating

    Example session with this skill installed

    We export weekly CSV reports to a local folder. A reader sometimes opens a half-written file. Can we fix that by writing the new report over last week’s file? Review the plan and tell us what to test.

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

    CONSENSUS after one review round

    Writing over last week's CSV can erase the last good copy as soon as the exporter opens it. A reader could see only the header, even if the export eventually succeeds.

    Decision. Write to a unique temporary file in the destination folder. Check for write and close errors, validate the CSV schema and compare its row count with the source snapshot. Publish it under the usual filename using an atomic replacement supported on the target filesystem. Readers should open that name once per read.

    Tests before rollout

    1. Slow the export and stop it halfway. Each successful read must match the complete old or new fixture.
    2. Keep the real reader open during replacement. If it blocks the update, verify the old CSV survives, then close it and retry.
    3. Simulate a full disk, a close error and a missing final row. Each must leave last week's CSV intact.
    4. Start two exports together and confirm only one writer can publish at a time.

    Codex and Claude approved the same design. The four tests still need to run on the target machine.

    Verify the reviewed version

    Save the text inside the block as UTF-8 without a BOM, using LF line endings and one final newline. Its SHA-256 is 7c0ce4b0466cd4c156a3ee2bfa6fe9ac9807a05098c19d894e20c60418001259.

    
    # Publishing weekly CSV reports
    
    **Decision.** Keep the report at one stable name. Opening that file for an in-place rewrite can expose an empty file or a prefix of this week's data and can destroy the last complete report if the writer stops.
    
    **Scope.** The question concerns readers seeing partially written reports. Assume one exporter, a trusted directory, one machine, and a local filesystem and replacement API with documented atomic replacement semantics on that machine. Verify those conditions before deployment. Check how the real reader and any directory watcher work. Readers must open only the published name once per read and consume that handle to EOF; directory watchers must ignore staging files. Readers may see the old version if their read overlaps publication. The first report becomes available at its first successful publication.
    
    **Publication.** Serialize exports; if overlapping periods are allowed later, define which period may supersede the published file. Create a unique temporary file exclusively in the destination directory. Write the new report there, checking for errors through flush and close. Read it back, check the required CSV schema and reconcile the data-row count against the same independent source snapshot used for export. These checks detect missing trailing rows in the example; they cannot establish the truth of every field. On success, use the platform's atomic replace operation for the fixed published name. Never unlink a valid destination or copy over it as a fallback. On write, validation or close failure, leave the old file intact and remove only the exporter's own staging file when safe. A reader on Windows can block replacement. Surface that error, keep the previous report available, and retry publication under the same single-writer/freshness rule. Reconcile and verify the state before retrying if the result of a publication is uncertain.
    
    **Tests before adoption.**
    
    1. Prepare distinct complete old/new fixtures. Slow the export and repeatedly open the published path; each successful read must exactly equal one whole fixture. Stop the writer mid-export and verify the old bytes survive.
    2. Hold the actual reader open across replacement. Check reads against the fixture for their version, record any sharing-denied error, and confirm that after closing a blocking handle and successfully publishing, a new open sees the whole new fixture.
    3. Inject disk-full and close errors. Also supply valid CSV missing its final complete row. Each case must fail before publication and preserve the previous report.
    4. Start two scheduled exports at once and verify only one can publish at a time. If ordering by reporting week matters, test the separate period-ordering rule before supporting concurrent or out-of-order jobs.
    
    **Costs and open requirements.** Budget temporary space for a full report and time for validation. Confirm separately whether old reports must be archived or whether publication must survive sudden power loss. Those requirements would add retention or platform-specific durable-write steps and recovery tests. The proposed visibility rule covers the documented local filesystem and reader contract only. The tests above are proposed and have not been run.
    

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

    About this skill

    Bring a design decision to Codex Desktop: a migration plan, a file export, or a choice between two implementations. Codex writes down its recommendation first. A Python helper then asks your signed-in Claude Code CLI for a second proposal using the task and selected context. Claude gets to form its own view before seeing the first recommendation.

    What you get

    • Two opening proposals and up to five rounds of critique. Each reviewer looks for assumptions, failure cases, and tests that could change the decision.
    • A local transcript in .agent-debates/<task-id>/ with the prompts, Codex’s written proposals and critiques, and Claude’s replies.
    • An agreed_design.md when both reviewers approve the same document. A SHA-256 fingerprint identifies the exact version they reviewed. If objections remain or approval cannot be verified, unresolved.md records what still needs an answer.

    Getting started

    Extract the ZIP and follow the English or Chinese README. On Windows, the package includes install.cmd. Open a trusted project in Codex Desktop and ask the skill to review a specific decision. The debate produces review files. Implementation and the tests it recommends are separate steps.

    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.

    The review allows up to five critique rounds and can end without agreement. The bridge asks the Claude CLI to disable built-in tools and disallow MCP tools for each review call. Codex still needs local shell access. A matching SHA-256 identifies the reviewed file. Run the proposed tests on your system.

    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
    AnthropicOpenAI
    Software
    Python 3.9+Authenticated Claude Code CLICodex Desktop

    The $5 one-time purchase covers the skill ZIP. Bring your own Codex and Claude access. Model usage is subject to your provider plans and limits.

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Environment Variables
    Network Access

    Allowed Hosts

    api.anthropic.com
    api.openai.com

    File Scopes

    .agent-debates/**

    Codex runs the Python bridge and saves prompts, replies, and verdicts under .agent-debates/. The bridge locates the CLI via PATH or CLAUDE_BIN and sends selected review text through Claude Code to its configured model service. Share only context you can disclose.

    Listed6 days ago
    Updated2 days ago

    What's inside

    Frequently Asked Questions

    You receive the skill instructions, Python bridge, Windows installer, English and Chinese setup guides, and offline verification tests. Run reviews through your own Codex and Claude access.

    The reviewers record their objections and the evidence or tests that could resolve them. After up to five rounds, open objections produce a NO CONSENSUS report that you can use to plan the next experiment.

    New in Agents & Orchestration