/loopreviewlow riskadvancedsafety C · 65Forward Futurepre-dates current gate · under review

Claude ships, Codex reviews

Open a PR, run an independent Codex review, fix every blocking finding, and repeat until it's clean.

prompt
→ Claude
Run /clodex [task] think hard --max-iter 5 --threshold medium. Claude plans the task, implements it, opens a pull request, asks Codex for an adversarial review, fixes findings above the accepted severity, and repeats. Keep the branch, PR, findings, verdict, and iteration state resumable. Stop when Codex approves, only accepted findings remain, progress stalls, or the iteration cap is reached. Never describe an errored or exhausted run as approved. Finish with the PR, checks, verdict, and remaining findings.
claude-code · codex

Use this when

Use Clodex when Claude is building a meaningful code change and Codex should independently review each repair round.

How it runs

  1. Choose the task, thinking level, maximum iterations, and highest acceptable finding severity.
  2. Have Claude plan, implement, verify, and open the pull request through Clodex.
  3. Run the Codex adversarial review, fix blocking findings, push, and review again.
  4. Persist state across rounds and finish with the verdict, remaining findings, checks, and pull-request link.

Done when

The pull request reaches the configured review bar. Codex approves it or only explicitly accepted findings remain; errors, stalls, and exhausted limits are reported as such.

Why it works

Clodex separates the Claude builder from the Codex reviewer and turns review feedback into a bounded repair loop. Persisted state keeps the work resumable without treating an interruption as approval.

Implementation note

The source implementation uses Clodex with Codex as the adversarial reviewer. Treat the severity threshold as a ceiling for acceptable findings, not a minimum severity to inspect.

Source: Forward Future

More review loops

Summarize new PR review comments

/loopnew

Check your PR status every hour and summarize new review comments until you dismiss the loop.

prompt
→ Claude
/loop 1h check PR status and summarize new review comments
reviewlow risk

Monitor a target until complete

/goalnew

Watch a thread, run, or PR and stop when it reaches your specified time or completion condition.

prompt
→ Claude
/goal Monitor <target thread, run, or PR until <time or completion condition
reviewlow risk

The nested perfect loop

/loopnew

A loop wrapping a goal wrapping a review: every 30 minutes, drive all PR review comments to resolved via /review, 10 turns max per pass.

prompt
→ Claude
/loop 30m /goal all PR review comments resolved via /review, stop after 10 turns
reviewhigh risk