
Description
ralph-wiggum is Anthropic's official Claude Code plugin, an implementation of the Ralph Wiggum technique for iterative, self-referential development loops. Ralph is described as a bash loop that repeatedly feeds an agent a prompt until the work is done. This plugin does it inside a current session rather than with an external loop, using a Stop hook that blocks the normal exit. Each iteration sees the files and git history left by the previous one, so the agent improves its own work until a completion phrase is printed. Commands start a loop with a maximum number of iterations and an optional completion phrase, and cancel an active loop. The docs stress clear completion criteria, incremental goals, self-correction, and always setting a maximum iteration count as a safety net. The completion phrase uses exact matching, so it cannot cover several outcomes. The plugin is for tasks with testable goals, not one-off questions.…
Highlights
- Stop-hook loop inside the session
- Max-iteration safety net
- Completion phrase to stop
- Commands to start and cancel loops
Ratings & Reviews
No ratings yet
Be the first to rate Ralph Wiggum Plugin.
People also visit
Ralph Wiggum Plugin FAQ
What is the Ralph Wiggum plugin?
An official Anthropic plugin that runs an agent in a repeating loop on one task until it reaches a stated completion.
How does the loop stop?
When the agent prints the completion phrase, or when the maximum number of iterations is reached.
Why set a maximum?
The docs recommend it as a safety net against loops on impossible tasks.
What makes a good prompt?
Clear, testable completion criteria, incremental goals and a self-correction step, according to the docs.
Is it free?
The listing shows no price. It is published by Anthropic in its claude-code repository.
What are the best Ralph Wiggum Plugin alternatives?
Popular alternatives to Ralph Wiggum Plugin include Ralph for Claude Code, ralph-reviewed and ralph-wiggum. See all Ralph Wiggum Plugin alternatives




















