The nested perfect loop
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.
/loop 30m /goal all PR review comments resolved via /review, stop after 10 turns
claude-code
Implementation note
Demonstrates loop composition: the outer timer re-triggers a bounded goal. Kill the outer loop once the PR is approved.
More review loops
Summarize new PR review comments
Check your PR status every hour and summarize new review comments until you dismiss the loop.
/loop 1h check PR status and summarize new review comments
reviewlow risk
Monitor a target until complete
Watch a thread, run, or PR and stop when it reaches your specified time or completion condition.
/goal Monitor <target thread, run, or PR until <time or completion condition
reviewlow risk
Claude ships, Codex reviews
Open a PR, run an independent Codex review, fix every blocking finding, and repeat until it's clean.
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.
reviewlow risk