codex-loop
Fix Elixir/Phoenix code until Codex CLI review comes back clean — bounded review, fix, verify loop before opening a PR. Use when codex is installed and you want an external cross-model critic on your changes before pushing.
npx skills add oliver-kriska/claude-elixir-phoenix --skill codex-loop --agent codex
Same command for any agent — swap --agent for claude-code, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Codex Loop (fix until clean) Critic→Refiner loop with the Codex CLI as external critic: review → fix approved findings → verify → re-review, until codex is clean or rounds run out. Codex reviews; Claude fixes. Complements `/phx:review` (Claude panel) — run either or both before a PR. ## Usage ``` /phx:codex-loop # diff vs default branch, interactive /phx:codex-loop --uncommitted # staged + unstaged + untracked /phx:codex-loop --base develop # explicit base branch /phx:codex-loop --auto # auto-approve P0/P1/P2, skip P3 /phx:codex-loop --max-rounds 2 # default 3 ``` ## Iron Laws 1. **BOUNDED rounds — never exceed --max-rounds (default 3)** — each round costs codex quota; report remaining findings instead of looping on 2. **Verify BEFORE re-review** — `mix compile --warnings-as-errors` + tests must pass before burning a codex round on broken code 3. **NEVER commit or push** — leave git to the user 4. **Codex findings get Iron Law scrutiny** — decline suggestions that violate an Iron Law, with explanation in the round report 5. **Skipped findings are reported, never dropped** — every finding ends as fixed, declined (with reason), or deferred-by-user 6. **Missing CLI stops the skill w
- Usage
- Iron Laws
- Workflow
- Step 1: Preflight
- Step 2: Detect Diff Mode
- Step 3: Round Loop (max --max-rounds, default 3)
- Step 4: Final Report
- Integration
- References
codex exec review --base {branch} --ephemeral \
mix format {changed_files} && \
mix compile --warnings-as-errors && mix test {affected_tests}What does the codex-loop skill do?
Fix Elixir/Phoenix code until Codex CLI review comes back clean — bounded review, fix, verify loop before opening a PR. Use when codex is installed and you want an external cross-model critic on your changes before pushing.
How do I install it?
Run `npx skills add oliver-kriska/claude-elixir-phoenix --skill codex-loop --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From oliver-kriska/claude-elixir-phoenix, a repository with 515 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
