/ralph-loop PROMPT [--max-iterations N] [--completion-promise TEXT]--max-iterations N- optional
--completion-promise TEXT- optional
What it tells Claude to do
11 linesThe prompt this command injects, verbatim. Worth reading before you run it.
# Ralph Loop Command
Execute the setup script to initialize the Ralph loop:
```!
"${CLAUDE_PLUGIN_ROOT}/scripts/setup-ralph-loop.sh" $ARGUMENTS
```
Please 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.Shipped by 1 plugin
Installing any of these installs this command.
What this can do
Capabilities declared in this component's own frontmatter — not inferred.
Run shell commands
Declares Bash
~9 tokens of context used while enabled, before you invoke anything
All declared tools (1)
BashTrust
94/100 · Excellent1 factor scored below maximum
Reviews
Log in to leave a review.
No reviews yet — be the first.
Explore related
Other things in this space — across every part of the ecosystem, not just commands.
Commandssimilar to this one
All commands →modernize-brief
Generate a phased Modernization Brief — the approved plan that transformation agents will execute against
32.8K stars
clean_gone
Cleans up all git branches marked as [gone] (branches that have been deleted on the remote but still exist locally), including removing associated worktrees.
32.8K stars
hookify
Create hooks to prevent unwanted behaviors from conversation analysis or explicit instructions
32.8K stars