---
name: ralph-loop
description: "Start Ralph Loop in current session. Use when the user asks to run a ralph loop, start an iterative loop, or wants repeated autonomous iteration on a task until completion."
---

# Ralph Loop Command

Execute the setup script to initialize the Ralph loop:

```!
".claude/hooks/ralph-loop/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.
