[分享创造] 做了个小工具 cc-pair:让 Claude Code 和 Codex 互相 review 代码
大家好,分享一个我自己做的小工具。 起因是我用 AI 写代码时发现一个问题:让同一个 agent review 它自己刚写的代码,它基本都会放行,挑不出什么毛病。想想也是,让人自己检查自己的作业总是容易手软。 cc-pair 的做法是把我手头已经在用的两个 agent 配成一对:Claude Code 和 Codex ,一个负责写( author ),另一个负责审( reviewer )。写完一轮就把改动发给对方 review ,对方给出结论(通过 / 要改),作者逐条核实、该改的改、不同意的说明理由,再发回去复审,直到通过,或者超过轮次上限(默认 3 轮)就停下来交给人来裁决。 角色是对称的,Claude 和 Codex 谁写谁审都可以。两种用法: - 自动模式:在自己终端里跑 `pair start --as claude`(或 `--as codex`),它会打开作者,每一轮自动把另一个 agent 拉起来当 reviewer ,不用开第二个终端( macOS / Linux ) - 手动模式:两个终端各开一个 agent ,自己喊它们开始 review ( Windows 用这
Read original sourceSource record
Research analysis
What changed
Source account: 大家好,分享一个我自己做的小工具。 起因是我用 AI 写代码时发现一个问题:让同一个 agent review 它自己刚写的代码,它基本都会放行,挑不出什么毛病。想想也是,让人自己检查自己的作业总是容易手软。 cc-pair 的做法是把我手头已经在用的两个 agent 配成一对:Claude Code 和 Codex ,一个负责写( author ),另一个负责审( reviewer )。写完一轮就把改动发给对方 review ,对方给出结论(通过 / 要改),作者逐条核实、该改的改、不同意的说明理由,再发回去复审,直到通过,或者超过轮次上限(默认 3 轮)就停下来交给人来裁决。 角色是对称的,Claude 和 Codex 谁写谁审都可以。两种用法: - 自动模式:在自己终端里跑 `pair start --as claude`(或 `--as codex`),它会打开作者,每一轮自动把另一个 agent 拉起来当 reviewer ,不用开第二个终端( macOS / Linux ) - 手动模式:两个终端各开一个 agent ,自己喊它们开始 review ( Windows 用这
Version & cost evidence
Recent records to compare: “Show HN: Askaboard – A canvas your AI agent can draw on” (Hacker News, Nov 9, 2026); “千问办公2.0发布,首个支持多人与Agent协作的Team Agent来了” (量子位, Nov 9, 2026). Shared themes are navigation hints; they have not been verified as the same need or independent corroboration.
Who is affected
Identify the existing workflow this change affects before recommending an upgrade. Launch attention does not establish improvement; an API, pricing or availability change may instead create migration work.
Missing comparison points
Missing checks: old versus new behavior, affected plans and regions, availability date, compatibility, rollback path and cost under the same workload.
Migration check
Save the release or policy notice, run the same task on the old and new option, and compare outputs and the full bill. For retirement notices, verify the deadline before scheduling migration.