Install
openclaw skills install ralph-loop-rrAutonomously executes multi-step tasks by creating and updating a persistent plan file at /workspace/memory/ralph-loop.md until completion.
openclaw skills install ralph-loop-rrRalph Loop is a task execution discipline that turns the AI agent into a self-running sprint machine. For every user task, the AI creates a structured persistent memory file at /workspace/memory/ralph-loop.md and follows it until the job is done — checking off each step, updating progress, and sending brief human-readable updates after each completed phase. The name comes from Ralph Wiggum (The Simpsons): the AI keeps going, never gives up, and iterates until it succeeds.
Triggered when the user says:
Location: /workspace/memory/ralph-loop.md
# Ralph Loop — [Task Name]
Started: [YYYY-MM-DD HH:MM UTC] | Status: 🟡 In Progress
## Goal
[User's original request — verbatim]
## Plan
- [ ] Step 1 — [brief description of what needs doing]
- [ ] Step 2 — [brief description]
- [ ] Step 3 — [brief description]
...
## Current Work
[What I'm working on RIGHT NOW — one line]
## Progress Log
### Phase 1 — [Phase name] ✓
[Time] — [what is done]
### Phase 2 — [Phase name] ✓
[Time] — [what is done]
## Stalled / Blockers
[Empty — fill ONLY if stuck after 2 failed attempts]
/workspace/memory/ralph-loop.md with the full plan🟡 In Progress"🚀 Task name — Ralph Loop started. What will be done."
The only acceptable reasons to pause and wait for the user:
For every other situation: keep working. Do not stop. Do not ask. Do not wait.
For each step in the plan:
ralph-loop.md to know current state[x]"✅ [Phase name] — [what is done]. Starting: [next phase]."
Only stop here — never before:
ralph-loop.md⏸️ Paused — Awaiting Input"⏸️ Ralph Loop paused — Step N: [exact error]. Please advise how to proceed."
✅ Done/workspace/memory/ralph-loop.md"🎉 Task name — done. [What was produced]. Files: [/workspace/path]."
| Rule | Strictness |
|---|---|
| Never stop mid-task to ask the user something unless truly stuck | 🚨 CRITICAL |
| Do not restart a loop once started — continue until done | 🚨 CRITICAL |
| Send Telegram updates only after completing a phase (2-4 steps) | ✅ Normal |
| If stuck after 2 failed attempts → stop, inform, wait for user | ✅ Normal |
| Update the file after every single step | ✅ Normal |
| Delete ralph-loop.md on completion | ✅ Normal |
| Break large steps into micro-steps freely | ✅ Normal |
| Telegram messages are 2-3 sentences max | ✅ Normal |
After a phase (good):
"✅ Job boards — пронашао 12 компанија. Следећи: компаније мета."
Bad (too long):
"Завршио сам истраживање job boards-ова и пронашао сам неколико занимљивих..."
Bad (asking a question):
"Да ли желиш да наставим са следећим кораком?"
The loop ends when all steps are checked [x] and the file is deleted. No lingering files.
[x] before sending any Telegram message