Explains the Ralph Loop iterative development methodology, how to start and cancel loops, and when to use them for AI-assisted coding.
Ships in cursor--ralph-loop. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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.
What SKILL.md sets; muted values are Claude Code's defaults
/cursor--ralph-loop:ralph-loop-helpfrom cursor--ralph-loop
npx claudepluginhub ilderaj/agent-plugin-marketplace --plugin cursor--ralph-loop3 skills in this plugin
/cancel-ralphCancel an active Ralph Loop. Use when the user wants to stop, cancel, or abort a running ralph loop./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.2 plugins ship this exact skill · first indexed Jul 18, 2026
Other plugins' skills for the same job