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 Comments — Use when a PR has unresolved review comments that need responses -- evaluates each comment, implements valid f 1.5k ★
- Fix GitHub Issue — by jeremymailen - Analyzes and fixes GitHub issues using a structured approach with GitHub CLI for issue detai 708 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
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
Review Diff
Read-only bug-finding review of the local working diff or a commit range via pr-reviewer.
Claudebase
Back up, restore, and sync your Claude Code config (settings, skills, agents, hooks, rules, memory, MCP) to a
Converge
Run an unattended review→fix→re-review loop on the current branch until the reviewer has no findings at or abo
Remote Custom Loop
A reviewer you define, on a pull request — branch, split commits, push, PR, trigger it, fix findings, until it
Related Agents
Dual Reviewer
Second-phase Codex code-review loop with Claude adjudication, after pr-reviewer in the branch review pass or m
Automated Reviewer Loop
Run the automated reviewer loop (and CI loop) for a PR. Use when the user wants to run the reviewer loop on a
Codex Adversarial Reviewer
Adversarial reviewer that calls Codex CLI for an independent second-opinion review of changed files, then adju