How this command is triggered — by the user, by Claude, or both
Slash command
/ralph-wiggum:ralph-loop PROMPT [--max-iterations N] [--completion-promise TEXT]This command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
# Ralph Loop Command Run this command to initialize the Ralph loop: Execute the above command using Bash, then work on the task. When you try to exit, the Ralph loop will feed the SAME PROMPT back to you for the next iteration. You'll see your previous work in files and git history, allowing you to iterate and improve. CRITICAL RULE: If a completion promise is set, you may ONLY output it when the statement is completely and unequivocally TRUE. Do not output false promises to escape the loop, even if you think you're stuck or should exit for other reasons. The loop is designed to contin...
Run this command to initialize the Ralph loop:
"${CLAUDE_PLUGIN_ROOT}/scripts/setup-ralph-loop.sh" $ARGUMENTS
Execute the above command using Bash, then work on the task. When you try to exit, the Ralph loop will feed the SAME PROMPT back to you for the next iteration. You'll see your previous work in files and git history, allowing you to iterate and improve.
CRITICAL RULE: If a completion promise is set, you may ONLY output it when the statement is completely and unequivocally TRUE. Do not output false promises to escape the loop, even if you think you're stuck or should exit for other reasons. The loop is designed to continue until genuine completion.
2plugins reuse this command
First indexed Jan 1, 2026
/ralph-loopStarts a Ralph Wiggum loop that repeatedly re-feeds a prompt to Claude for iterative task completion, with optional --max-iterations and --completion-promise flags.
/ralph-loopStarts an iterative improvement loop that repeatedly feeds the same prompt back to Claude, using git history to track progress until a completion promise is fulfilled.
/ralph-loopStarts an iterative development loop that repeatedly feeds the same prompt back to Claude, enabling continuous improvement across iterations. Supports optional --max-iterations and --completion-promise flags.
/ralph-loopStarts Ralph Wiggum loop in current session with required PROMPT and optional --max-iterations N, --completion-promise TEXT. Runs setup script and manages loop state with completion promise.
/ralph-loopInitializes an iterative development loop with Codex review gates, managing iterations, reviews, and progress logging via the rl CLI.
npx claudepluginhub tuannvm/plugins --plugin ralph-wiggum