codex-review

Featured

Get an independent cross-model code review from OpenAI Codex (a different vendor's model) on the current review scope: branch diff plus staged, unstaged, and untracked working tree changes. A different training distribution has non-overlapping blind spots, so Codex catches spec ambiguity, missing edge cases, and fake tests that Claude's self-review cannot see. Use before merging, after a tricky change, or for a debug second opinion. Triggers: 'codex review', 'second opinion', 'cross review', 'outside voice', '让 codex 审', '找外部意见', '二审'.

Code & Development 397 stars 27 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 92/100

Stars 20%
87
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# codex-review — independent second opinion from Codex Self-review shares the author's blind spots: the reviewer is the same model that wrote the code, working from the same assumptions. A different-vendor model (OpenAI Codex) has a different training distribution, so its blind spots do not overlap with Claude's. One side writes, the other side challenges — a cheap QA pass. This skill runs the Codex CLI as a **read-only** reviewer and presents its output **verbatim**. It never edits your code. ## When to use - Before merging an important diff (last gate). - After writing a spec / tests — ask Codex to find ambiguity and weak assertions. - A hard bug whose root cause is unclear (independent diagnosis). ## Step 0 — Preflight (binary + auth) ```bash command -v codex >/dev/null 2>&1 || { echo "[codex-review] Codex CLI not found. Install with: npm install -g @openai/codex (then 'codex login'). Skipping." exit 0 } ``` If this prints the skip message, tell the user Codex is not installed and stop. ## Step 1 — Resolve review scope ```bash ROOT=$(git rev-parse --show-toplevel 2>/dev/null) || { echo "[codex-review] not in a git repo"; exit 0; } cd "$ROOT" BASE=$(git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's|refs/remotes/||') if [ -z "$BASE" ]; then if git rev-parse --verify -q origin/main >/dev/null 2>&1; then BASE=origin/main elif git rev-parse --verify -q origin/master >/dev/null 2>&1; then BASE=origin/master elif git rev-parse --verify -q main >/de...

Details

Author
Ancienttwo
Repository
Ancienttwo/repo-harness
Created
4 months ago
Last Updated
yesterday
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category