Ralph Wiggum Loop

Multi-step autonomous plan execution with bounded iteration (max 10), state persistence, dependency checking, error retry with exponential backoff, and human escalation on failure. The "Ralph Wiggum loop" enables AI agents to execute complex multi-step plans autonomously while maintaining safety bounds and progress tracking. Includes MCP action invocation, step dependency validation, graceful error recovery, and comprehensive audit logging. Use when: (1) implementing autonomous multi-step task execution, (2) building plan execution engines with retry logic, (3) creating bounded loops with state persistence, (4) handling step dependencies in workflows, (5) implementing human escalation patterns for blocked tasks.

majiayu000 Updated 567 repo stars

File contents

majiayu000/claude-skill-registry-data/tree/main/agent/ralph-wiggum-loop commit a52dc3799f

Frequently asked questions

npx skillmds@latest add majiayu000/ralph-wiggum-loop