From ralph-loop
Explain the Ralph Loop plugin, how it works, and available skills. Use when the user asks for help with ralph loop, wants to understand the technique, or needs usage examples.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ralph-loop:ralph-loop-helpThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
The user asks what Ralph Loop is, how it works, or needs usage guidance.
The user asks what Ralph Loop is, how it works, or needs usage guidance.
Ralph Loop implements the Ralph Wiggum technique — an iterative development methodology based on continuous AI loops, pioneered by Geoffrey Huntley.
Core concept: the same prompt is fed to the agent repeatedly. The "self-referential" aspect comes from the agent seeing its own previous work in the files and git history, not from feeding output back as input.
Each iteration:
Tell the agent your task along with options:
Start a ralph loop: "Build a REST API for todos" --max-iterations 20 --completion-promise "COMPLETE"
Options:
--max-iterations N — max iterations before auto-stop--completion-promise "TEXT" — phrase to signal completionHow it works:
.cursor/ralph/scratchpad.md state fileAsk the agent to cancel the ralph loop. It will remove the state file and report the iteration count.
To signal completion, the agent outputs a <promise> tag:
<promise>TASK COMPLETE</promise>
The stop hook looks for this specific tag. Without it (or --max-iterations), Ralph runs indefinitely.
Good for:
Not good for:
Present the above information clearly to the user, tailored to their specific question.
npx claudepluginhub kdoroszewicz/cursor-plugins-claude --plugin ralph-loopStart a Ralph Loop for iterative self-referential development. Use when the user asks to run a ralph loop, start an iterative loop, or wants repeated autonomous iteration on a task until completion.
Set up and configure Geoffrey Huntley's original Ralph Wiggum autonomous coding loop in any directory with proper structure, prompts, and backpressure.
Transforms approved implementation plans into ralph loop autonomous execution infrastructure. Creates .ralph/ directory with prd.json, loop.py, CLAUDE.md, and supporting files for multi-step implementation.