# Codex Review Loop

> Iterative codex review-and-fix loop

- Skill: `yamadashy/codex-review-loop` (Agent Skill)
- Install (CLI): `npx skillmds@latest add yamadashy/codex-review-loop`
- Raw SKILL.md: https://api.skillmd.com/api/skills/yamadashy/codex-review-loop/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: yamadashy (https://skillmd.com/u/yamadashy)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/yamadashy/codex-review-loop

---


Repeat the following cycle on the current branch's changes against `main` (max 3 iterations):

1. **Review** — Spawn codex reviewer agent
2. **Triage** — Review agent findings and keep only what you also deem noteworthy. Classify each as **Fix** (clear defects, must fix) or **Skip** (style, nitpicks, scope creep). Show a brief table before changing anything.
3. **Fix** only the "Fix" items. Keep changes minimal.
4. **Verify** with `npm run lint` and `npm run test`. Fix any regressions and repeat this step until all checks pass before continuing.
5. **Re-review** only the newly changed lines. Do not re-raise skipped items.

Stop when no "Fix" items remain or 3 iterations are reached. Print a summary of what was fixed and what was skipped.

