Skip to content
IndexDesign corpus

Ralph Wiggum Loop

Guide to the loop technique that feeds a coding agent the same prompt until a task is done

Aboutawesomeclaude.ai

This Awesome Claude page explains the Ralph Wiggum loop, a technique from Geoffrey Huntley in 2025. A shell loop feeds an agent the same prompt until the task is complete. The guide covers the ralph-loop plugin, the built-in loop, goal, and batch commands in Claude Code, prompt practices, templates, and examples.

For an agent

Use the technique for long, well-specified tasks with a clear test of done. Set a cost limit, because the loop runs until it stops itself.

Why it is here. It documents a widely copied pattern for autonomous agent runs.

Install command, framework, licence and component list.
Notable for
  • Origin and method
  • Plugin and built-in commands
  • Templates
Provenance

Verified 2026-10-09. HTTP 200. https://awesomeclaude.ai/ralph-wiggum (HTTP 200, page fetched 2026-10-09), depo.zip listing https://www.depo.zip/tools/j5749350msb8c8qxxae1b29jys835fj0

Related resourcesEssays, Guides & Courses