By jero2rome
Fixed iterative loop plugin for Claude Code. Session-isolated, parallel-safe, multi-line prompt support. Based on the Ralph Wiggum technique.
Cancel active compound loop
Start a compound loop in current session
Get help with the compounder plugin
Initialize a new feature workflow with git worktree
Run a task with automatic iteration until completion
Use when the user wants to execute tasks autonomously, run compounder on a tasks.md file, start autonomous development, compound through a task list, or implement tasks iteratively. Guides autonomous task execution using compound loops.
Use when the user has an idea to brainstorm, wants to design a feature, needs help refining a concept, says "let's ideate", or describes a vague project needing structure. Guides structured brainstorming to produce a clear feature description ready for speckit.
Initialize a new feature workflow with git worktree. Use when the user wants to start a new feature, create an isolated development branch, says "init worktree", or needs to set up a feature branch for compounder workflow.
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.
"Play iterated games. All the returns in life, whether in wealth, relationships, or knowledge, come from compound interest." — Naval Ravikant
"The philosophers warn us not to be satisfied with mere learning, but to add practice and then training." — Epictetus
An iterative loop plugin for Claude Code that compounds your work across iterations.
Compounder runs Claude in a self-referential loop, feeding the same prompt back after each iteration. Each iteration sees the previous work in files, allowing Claude to:
Based on the Ralph Wiggum technique with critical bug fixes.
# Add as a marketplace
/plugin marketplace add jero2rome/compounder
# Install the plugin
/plugin install compounder@jero2rome-compounder
# Start a loop with max iterations and completion promise
/compounder:compound-loop "Build a REST API with tests" --max-iterations 20 --completion-promise "DONE"
# Claude works, iterates, and outputs <promise>DONE</promise> when complete
# Cancel if needed
/compounder:cancel-compound
| Command | Description |
|---|---|
/compounder:compound-loop | Start an iterative loop |
/compounder:cancel-compound | Cancel the active loop |
/compounder:help | Show help and examples |
| Option | Description |
|---|---|
--max-iterations <n> | Stop after N iterations (default: unlimited) |
--completion-promise "<text>" | Phrase that signals completion |
1. /compound-loop "Your task" --max-iterations 20 --completion-promise "DONE"
2. Claude works on the task
3. Claude tries to exit
4. Stop hook intercepts, feeds SAME PROMPT back
5. Claude sees previous work in files
6. Repeat until <promise>DONE</promise> or max iterations
| Issue | Ralph Wiggum | Compounder |
|---|---|---|
| Parallel sessions | Conflicts (shared state file) | Isolated by session_id |
| Multi-line prompts | Breaks (bash arg parsing) | Works (stdin/heredoc) |
| Path handling | Relative paths (fragile) | Absolute via CLAUDE_PROJECT_DIR |
"Compound interest is a very powerful concept. Compounding in your reputation, in your knowledge, in your skills."
Each loop iteration compounds on the previous. Small improvements accumulate into significant results.
"For as time passes we forget what we learned and end up doing the opposite."
The loop enforces deliberate practice - Claude must repeatedly confront the task until mastery.
"Tinkering and iterations are much more antifragile than blueprints and hard plans."
Iteration beats perfection. Let the loop discover solutions through trial and error.
Good for:
Not good for:
# View current iteration
grep '^iteration:' .claude/compounder-*.local.md
# View full state
head -10 .claude/compounder-*.local.md
MIT License - see LICENSE
npx claudepluginhub jero2rome/compounder --plugin compounderContinuous self-referential AI loops for interactive iterative development, implementing the Ralph Wiggum technique. Run Claude in a while-true loop with the same prompt until task completion.
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.
Interactive self-referential AI loops for iterative development. Claude works on the same task repeatedly, seeing its previous work, until completion.
Self-referential development loop plugin - iteratively improves on tasks until completion
Multi-model consensus engine integrating OpenAI Codex CLI, Gemini CLI, and Claude CLI for collaborative code review and problem-solving.
Ultra-compressed communication mode. Cuts ~75% of tokens while keeping full technical accuracy by speaking like a caveman.