ralph-loop
Activate autonomous Ralph Wiggum loop mode for iterative task completion. Use when you have a well-defined task with clear completion criteria that benefits from persistent, autonomous execution.
npx skills add majiayu000/claude-skill-registry --skill ralph-loop-belumume-claude-skills --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Ralph Wiggum Loop Mode Named after the Simpsons character who "never stops despite being confused," this technique runs Claude Code in a loop where the prompt stays the same but the codebase accumulates changes. Each iteration reads previous work and continues until completion. ## When to Use Ralph Mode **Ideal for:** - Well-defined implementation tasks with clear completion criteria - Refactoring or migration work (e.g., React v16 to v19) - Test-driven development cycles (run until tests pass) - Batch processing or repetitive tasks - Overnight autonomous work sessions **Not ideal for:** - Tasks requiring design decisions or human judgment - Exploratory work without clear end states - Tasks where requirements may change mid-execution - First-time implementations where you need to learn the code ## Activation Protocol ### Step 1: Validate Task Suitability Before activating, confirm: - [ ] Task has clear, measurable completion criteria - [ ] Success can be verified programmatically (tests, build, specific file state) - [ ] The work is in a git-tracked directory - [ ] You understand what success looks like ### Step 2: Create State File Create `.claude/ralph-loop.local.md` with the f
- When to Use Ralph Mode
- Activation Protocol
- Step 1: Validate Task Suitability
- Step 2: Create State File
- Step 3: Create TODO.md (Recommended Completion Method)
- Step 4: Start the Loop
- Two Completion Methods
- Method 1: TODO.md Markers (Recommended)
- Method 2: Promise Tags (Legacy)
- Configuration Options
- During Execution
- Iteration Status
- Checkpoint Notifications
- Manual Intervention
claude Edit the state file Change active: true → active: false rm .claude/ralph-loop.local.md Re-create or edit the state file Set active: true mkdir -p .claude cat > .claude/ralph-loop.local.md << 'EOF' cat > TODO.md << 'EOF'
What does the ralph-loop skill do?
Activate autonomous Ralph Wiggum loop mode for iterative task completion. Use when you have a well-defined task with clear completion criteria that benefits from persistent, autonomous execution.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill ralph-loop-belumume-claude-skills --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
