By mintmcp
Autonomous dev loop plugin for Claude Code. Codex and Claude review code in a loop until it's clean.
npx claudepluginhub mintmcp/dev-loopAutonomous dev loop: plan → implement → codex review → claude review → fix → repeat
Most coding agents generate code in a single pass and ship it. This plugin runs a review loop instead: Codex and Claude take turns reviewing and fixing code until both agree there's nothing left to fix.
Each run can take 30+ minutes, but the output is dramatically better because the code has been through up to 8 independent review cycles before you ever see the PR.
Install via the Claude Code plugin marketplace:
/plugin marketplace add mintmcp/dev-loop
/plugin install dev-loop
Restart Claude Code after installing.
/dev-loop <work prompt>
/dev-loop max_iterations=2 <work prompt>
/dev-loop implement the spec in docs/feature.md
Default: 4 iterations (up to 8 total review cycles, 4 Codex + 4 Claude).
Codex (gpt-5.4) excels at detailed bug finding, edge cases, and security issues because it reviews in a read-only sandbox with high reasoning effort. Claude has more context about user intent, so it can reject Codex nits that don't matter and run 3 specialized review agents in parallel. Claude is also the one that fixes code in both passes, since it has full write access.
The loop writes state to .claude/dev-loop-state.json so it can survive context compaction. A human-readable log goes to .claude/dev-loop.log.md. Both are automatically gitignored.
If triggered from a Slack thread (with Slack MCP configured), the loop posts one-liner progress updates back to the thread after each phase. This is best-effort: if Slack MCP is unavailable, updates are silently skipped.
.
├── .claude-plugin/
│ └── marketplace.json
├── dev-loop/
│ ├── .claude-plugin/
│ │ └── plugin.json
│ ├── .mcp.json # Codex MCP server config
│ ├── agents/
│ │ ├── code-reviewer.md # Code review agent
│ │ ├── code-simplifier.md # Code simplification agent
│ │ └── silent-failure-hunter.md # Error handling auditor
│ ├── hooks/
│ │ └── hooks.json # Stop + PostToolUse hook config
│ ├── scripts/
│ │ ├── stop-check.sh # Prevents stopping mid-loop
│ │ └── phase-reminder.sh # Phase-specific reminders
│ └── skills/
│ └── dev-loop/
│ └── SKILL.md # Main skill definition
├── tests/
│ └── run.sh # Hook script tests
├── LICENSE
└── README.md
dev-loop/skills/dev-loop/SKILL.md for the full workflow definition../tests/run.sh
Tests validate the stop-check and phase-reminder hook scripts against various state scenarios.
Apache License 2.0. See LICENSE.
7-day visitors to each marketplace page
Matt Pocock's skills for real engineering, as an installable Claude Code plugin.
Behavioral guidelines to reduce common LLM coding mistakes, derived from Andrej Karpathy's observations
No description available.