← All projects
Project record1 mention
Originally shared on Hacker News

cc-pair

A CLI tool that pairs Claude Code and Codex coding agents so one authors a change and the other reviews it, iterating until the reviewer approves or a round limit (default 3) escalates to the human. Supports auto mode (one command starts author and reviewer) and manual mode, with agents communicating through numbered message files in a shared directory (~/.pair/<repo>-<hash>/) so the review thread is inspectable on disk.

Last shared
01 / The problem

What it addresses

A coding agent reviewing its own work tends to go easy on itself, so self-review misses issues that cross-model review can catch.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. cc-pair

    A CLI tool that pairs Claude Code and Codex coding agents so one authors a change and the other reviews it, iterating until the reviewer approves or a round limit (default 3) escalates to the human. Supports auto mode (one command starts author and reviewer) and manual mode, with agents communicating through numbered message files in a shared directory (~/.pair/<repo>-<hash>/) so the review thread is inspectable on disk.

    Problem: A coding agent reviewing its own work tends to go easy on itself, so self-review misses issues that cross-model review can catch.

    Posted by @blackicebird · Original source ↗

    Story title · @blackicebird · · Source ↗

    Show HN: Cc-pair – Claude Code and Codex review each other's work

    Submitted URL · @blackicebird · · Source ↗

    https://github.com/leonlee/cc-pair

    Source text · @blackicebird · · Source ↗

    cc-pair pairs the two agents I already use — Claude Code and Codex — so one authors a change and the other reviews it, and they iterate until the reviewer approves or the round limit (default 3) escalates to the human.

    Source text · @blackicebird · · Source ↗

    I kept noticing that when a coding agent reviews its own work, it tends to go easy on it.

    Source text · @blackicebird · · Source ↗

    They communicate through numbered message files in a shared directory (~/.pair/<repo>-<hash>/), so the whole review thread is inspectable on disk.

    Source text · @blackicebird · · Source ↗

    Install: npm install -g claude-codex-pair (Node 22+, macOS/Linux for auto mode; manual mode works on Windows). Both CLIs need to be installed and signed in.