Work iteratively on tasks until they're truly complete - not just started, but done and verified.
Normal Claude: Does one pass, stops, says "you could also..."
With /iterate: Keeps going autonomously until the task is genuinely complete.
/plugin marketplace add nrempel/claude-plugins
/plugin install iterate@nrempel-plugins
claude --plugin-dir ~/Projects/claude-iterate
/iterate Add user authentication to the app
| Command | Description |
|---|---|
/iterate <task> | Start a new task |
/iterate | Continue existing task, or prompt for new one |
/iterate status | Show current goal and progress |
/iterate cancel | Stop and clean up current session |
To stop mid-task: Just say "stop", "done", or "that's enough".
> /iterate Add input validation to the signup form
[Creates todos]
- [ ] Read current signup form code
- [ ] Add email format validation
- [ ] Add password strength validation
- [ ] Add form error display
- [ ] Add tests for validation
[Works through each, verifying as it goes]
✓ Email validation added, tests pass
✓ Password validation added, tests pass
✓ Error display added, tests pass
## Done
Added input validation with 4 new tests, all passing.
This plugin survives context compaction. Here's how:
State file: On start, creates .claude/iterate/<branch>-<timestamp>.md containing:
Todos: Progress is tracked via TodoWrite, which persists across compaction.
Resume: If context compacts mid-task, just run /iterate again. Claude will:
Multiple sessions: Each session gets a unique timestamped file, so concurrent sessions on the same branch won't collide.
Cleanup: State file is automatically deleted when task completes.
Add to your .gitignore:
.claude/iterate/
| Ralph | iterate |
|---|---|
| External bash loop + hooks | Pure skill, no hooks |
String matching exit (<promise>DONE</promise>) | Real verification (tests pass) |
| Invisible progress | Visible todos |
| Same prompt every iteration | Focuses on specific remaining work |
| Context lost on compaction | State file persists goal |
MIT
Uses power tools
Uses Bash, Write, or Edit tools
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.
Deep research to eliminate assumptions before implementation
Create Claude Code plugins, skills, agents, and hooks
npx claudepluginhub nrempel/claude-plugins --plugin iterateloophaus — Control plane for coding agents
Implementation of the Ralph Wiggum technique - continuous self-referential AI loops for interactive iterative development. Run Claude in a while-true loop with the same prompt until task completion.
Self-referential development loop plugin - iteratively improves on tasks until completion
Interactive self-referential AI loops for iterative development. Claude works on the same task repeatedly, seeing its previous work, until completion.
連續自引用 AI 循環,用於互動式迭代開發。實現 Ralph Wiggum 技術,讓 Claude 在 while-true 循環中執行相同提示直到任務完成
Humanize - An iterative development plugin that uses Codex to review Claude's work. Creates a feedback loop where Claude implements plans and Codex independently reviews progress, ensuring quality through continuous refinement.