By distance-achieved-solutions
Plan and code review pipeline using Codex CLI as a critic-only reviewer with converging rewrite loops.
One-shot pipeline — plan loop (no mid-gate) → implement loop → final-diff gate. Usage: /codex-build "<task>" [--rounds N] [--codex-model M]
Review a git diff using Codex CLI. Returns structured critique. Usage: /codex-code-review [<scope>]
Implement a plan, loop with Codex code review until clean, gate with user on diff. Usage: /codex-implement <plan-path> [--rounds N] [--codex-model M] [--dry-run]
Review a plan file using Codex CLI. Returns structured critique. Usage: /codex-plan-review <plan-path>
Draft a plan with neo+Linus, loop with Codex review until clean, gate with user. Usage: /codex-plan "<task>" [--rounds N] [--codex-model M] [--dry-run] [--resume <slug>]
A Claude Code plugin that uses Codex CLI as a critic-only reviewer for plans and code, looping write → review → rewrite until convergence or a user-set round cap.
| Command | What it does |
|---|---|
/codex-plan-review <plan-path> | One-shot Codex review of a plan file. Returns structured critique. |
/codex-code-review [<scope>] | One-shot Codex review of a git diff (default: branch vs origin/main). |
/codex-plan "<task>" | Drafts a plan with neo+Linus, loops with Codex review until clean, gates with user. Saves to docs/plans/. |
/codex-implement <plan-path> | Implements a converged plan, loops with Codex code review, gates on the final diff. |
/codex-build "<task>" | One-shot omnibus: plan loop (no mid-gate) → implement loop → final-diff gate. |
Codex never writes files in this system. It emits structured critique only. Claude (with help from neo:neo, Linus, and CompliantImplementer subagents) does all writing.
npm i -g @openai/codex-cli then codex logingit, jq, bash on PATHneo:neo plugin, Linus and CompliantImplementer agents in ~/.claude/agents/# From a private git URL (recommended for internal teams):
/plugin install <git-url-of-this-repo>
# Verify
ls ~/.claude/plugins/cache/*/codex-loop/*/ # should show .claude-plugin/, commands/, lib/, etc.
After install, run any looper once — it will seed ~/.claude/codex-loop/config.json from the bundled default.
Edit ~/.claude/codex-loop/config.json:
{
"default_rounds": 4,
"codex_model": null,
"plans_subdir": "docs/plans",
"max_codex_tokens": 200000,
"codex_exec_timeout_seconds": 300
}
Or override per-invocation: --rounds 6, --codex-model gpt-5.
If Codex still emits NEEDS_CHANGES after the cap, the looper stops integrating, prints the final critique, and surfaces to you. Your options: approve as-is, request more rounds, hand-edit, or abandon.
The looper checkpoints state to ~/.claude/codex-loop/state/<slug>.json after every round. Re-running /codex-plan "<same-task>" (or with --resume <slug>) detects the state and offers to resume.
cd <plugin-cache-path>
bash scripts/test-parser.sh
Expected: all tests pass.
See docs/superpowers/specs/2026-05-06-codex-loop-design.md in the source repo for the full design.
MIT
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub distance-achieved-solutions/codex-loop --plugin codex-loopComprehensive UI/UX design plugin for mobile (iOS, Android, React Native) and web applications with design systems, accessibility, and modern patterns
Standalone image generation plugin using Nano Banana MCP server. Generates and edits images, icons, diagrams, patterns, and visual assets via Gemini image models. No Gemini CLI dependency required.
Multi-model consensus engine integrating OpenAI Codex CLI, Gemini CLI, and Claude CLI for collaborative code review and problem-solving.
Write feature specs, plan roadmaps, and synthesize user research faster. Keep stakeholders updated and stay ahead of the competitive landscape.
Unified status line for Claude Code with multi-CLI (Claude, Codex, Gemini, z.ai) usage monitoring, context, rate limits, and cost tracking