ralph-loop
9
总安装量
6
周安装量
#33020
全站排名
安装命令
npx skills add https://github.com/xfstudio/skills --skill ralph-loop
Agent 安装分布
cursor
6
trae
5
gemini-cli
5
antigravity
5
kiro-cli
5
Skill 文档
Ralph Loop
Autonomous development loop that continues working until all tasks are complete.
Workflow
When triggered, execute this loop:
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â RALPH LOOP â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ¤
â 1. Check TodoWrite for pending tasks â
â 2. If no pending tasks â output "COMPLETE" and exit â
â 3. Pick highest priority pending task â
â 4. Mark task as in_progress â
â 5. Execute the task â
â 6. Mark task as completed â
â 7. Go to step 1 â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Exit Condition
Output exactly COMPLETE (on its own line) when:
- All tasks in the todo list are marked as completed
- No more pending tasks remain
Execution Rules
- Task Priority: Process tasks in order (top to bottom)
- One at a Time: Only one task should be
in_progressat any moment - Immediate Update: Mark tasks completed immediately after finishing
- No Skipping: Complete each task fully before moving to the next
- Error Handling: If a task fails, log the error and continue to next task
Status Block
After each task completion, output a status block:
RALPH_STATUS:
completed: <task description>
remaining: <number of pending tasks>
EXIT_SIGNAL: <true if no more tasks, false otherwise>
Example
User: å
¨é¨å®æ
Claude: [Invokes ralph-loop skill]
Checking todo list...
- [x] Task 1 (completed)
- [-] Task 2 (in_progress) â Working on this
- [ ] Task 3 (pending)
RALPH_STATUS:
completed: Task 2
remaining: 1
EXIT_SIGNAL: false
[Continues to Task 3...]
RALPH_STATUS:
completed: Task 3
remaining: 0
EXIT_SIGNAL: true
COMPLETE