Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

codex-pair — Two AIs review each other so you don't have to

License: MIT Built with Claude Code Status: experimental

English | 中文

You asked Claude to fix the bug. Claude said done. You ship it. An hour later you find out it's still broken — and you couldn't have known, because you can't read the code.

This skill makes that scenario impossible.

✨ How it feels

You touch the keyboard twice — Claude and Codex do the rest

🧭 The pipeline

flowchart TD
    A([🟦 1·Architecture]) --> B([🟦 2·Plan + Interface contract])
    B --> C([🟧 3·Codex reviews])
    C --> D{4·Consensus?<br/>max 3 rounds}
    D -->|Agreed| E([🟧 5·Codex implements])
    D -->|Deadlock| Y[👤 You break the tie]
    Y --> E
    E --> F([🟧 6·Code-level tests])
    F --> G([🟦 7·Behavior verification])
    G -->|Code bug| E
    G -->|Plan gap| B
    G -->|Works| H([🟦 8·Commit])

    style A fill:#dbeafe,stroke:#1e40af,color:#000
    style B fill:#dbeafe,stroke:#1e40af,color:#000
    style G fill:#dbeafe,stroke:#1e40af,color:#000
    style H fill:#dcfce7,stroke:#15803d,color:#000
    style C fill:#fed7aa,stroke:#c2410c,color:#000
    style E fill:#fed7aa,stroke:#c2410c,color:#000
    style F fill:#fed7aa,stroke:#c2410c,color:#000
    style Y fill:#fef3c7,stroke:#b45309,color:#000
Loading

🟦 Claude · 🟧 Codex · 👤 You (only on real deadlocks)

🚀 Install

git clone https://github.com/birdindasky/codex-pair ~/codex-pair-src
cp -r ~/codex-pair-src/skills/codex-pair ~/.claude/skills/

Open Claude Code, type /, look for codex-pair.

Needs: Claude Code + openai/codex-plugin-cc plugin. Run /codex:setup once if Codex isn't set up yet.

🎬 Trigger phrases

In any Claude Code conversation, say one of:

  • codex pair this
  • two-AI mode
  • use codex on this

Mid-pipeline overrides: skip codex (cancel) · skip review (bypass review) · run them in parallel (switch to worktree mode).

⚖️ Tradeoffs

Costs roughly 2× tokens of solo Claude · slower than solo (consensus loop adds time) · won't save you from wrong requirements at step 1. For typo fixes or one-line tweaks, just ask Claude directly. This pipeline is for projects.

📂 Files

Inspired by Matt Pocock's skills repo. Pipeline design is this project's own.


Built by @birdindasky · For everyone who codes by vibes.

⭐ Star if this saves you from one silent AI bug.

About

Two AIs review each other's code so you don't have to. Claude + Codex pair-programming · 中英 README

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors