Codex Loop — Git skill for Claude Code
Use Codex as a second, differently-trained reviewer of your branch, fix every real finding with regression tests, and loop until two consecutive reviews come back clean.
How to install Codex Loop
Installs to ~/.claude/commands/runnithan-claudex-setup-codex-loop.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/runnithan/claudex-setup/HEAD/.claude/commands/codex-loop.md -o ~/.claude/commands/runnithan-claudex-setup-codex-loop.md Restart Claude Code, or start a new session, for it to be picked up.
What Codex Loop does
description: Use Codex as a second, differently-trained reviewer of your branch, fix every real finding with regression tests, and loop until two consecutive reviews come back clean. Runs autonomously. argument-hint: "[base-branch] [--max-rounds N]" model: opus
/codex-loop: review, fix, repeat until clean
Run `codex review` against a base branch, fix what it finds, and keep looping until **two consecutive rounds** return no findings. **Run autonomously.** Do not report back between r
Alternatives in Git
- Fresh Start — The original nirholas/claude-code before DMCA and take down 6.2k ★
- GitHub Review Failures — Use when CI checks are failing on a PR — fetches failure logs, diagnoses root causes, implements fixes, and pu 1.5k ★
- Maestro Merge — Merge session worktree branch back to main 530 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Claude Loop
Use a fresh headless Claude session (Fable by default) as an independent reviewer of the whole repo, area by a
Run Reviewer Loop
Run the automated reviewer loop (and CI loop) for a PR until clean or escalate. Usage: /run-reviewer-loop PR
Review With Codex
Run the current branch through automated Codex review cycles until it's clean or cycles are exhausted. Unlike
Sitemend
SEO regression tests for your repo. Fails the PR when a change breaks crawling or indexing (preview URLs in ca
Adversarial Reviewer
Tough, critical review of a diff or PR before merge, through hostile reviewer personas that catch shared blind
Pendulum
Label a GitHub issue and walk away: a coding agent (Claude Code, Codex or Copilot CLI) plans, builds and opens
Related Agents
External Reviewer
Gets an independent second opinion on a finished resume or application from a different model (OpenAI Codex CL
Codex Adversarial Reviewer
Adversarial reviewer that calls Codex CLI for an independent second-opinion review of changed files, then adju
Dual Reviewer
Second-phase Codex code-review loop with Claude adjudication, after pr-reviewer in the branch review pass or m