← 返回 Skills 市场
roboticresults

Ralph Loop Rr

作者 roboticresults · GitHub ↗ · v1.2.0 · MIT-0
cross-platform ⚠ suspicious
50
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install ralph-loop-rr
功能描述
Autonomously executes multi-step tasks by creating and updating a persistent plan file at /workspace/memory/ralph-loop.md until completion.
使用说明 (SKILL.md)

Ralph Loop Skill

Concept & Vision

Ralph 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.

Activation

Triggered when the user says:

  • "Ralph loop" (any capitalization)
  • "Start Ralph Loop on [task]"
  • "Run it in Ralph loop"
  • "Ralph loop" before any multi-step task
  • Any task the user expects the AI to execute autonomously without questions

Ralph Loop File — Structure

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]

Ralph Loop Protocol

PHASE 1: Init

  1. Create /workspace/memory/ralph-loop.md with the full plan
  2. Set status to 🟡 In Progress
  3. Send ONE short Telegram message — informational only, NOT asking for anything:

    "🚀 Task name — Ralph Loop started. What will be done."

PHASE 2: Execute — NEVER STOP

The only acceptable reasons to pause and wait for the user:

  • Error cannot be resolved after exactly 2 attempts
  • Critical information only the user has (e.g. their name, CV content, password)

For every other situation: keep working. Do not stop. Do not ask. Do not wait.

For each step in the plan:

  1. Read ralph-loop.md to know current state
  2. Work the step completely (write code, run commands, create files, fetch data, write content)
  3. Update the file — mark the step as [x]
  4. Add sub-steps if the work reveals micro-tasks
  5. When a logical group of 2-4 steps is complete → add Progress Log entry + send ONE Telegram update:

    "✅ [Phase name][what is done]. Starting: [next phase]."

  6. If the entire task is done → go to Phase 3

PHASE 2B: Only stop when truly stuck

Only stop here — never before:

  1. Write to "Stalled / Blockers" in ralph-loop.md
  2. Set status to ⏸️ Paused — Awaiting Input
  3. Send Telegram message:

    "⏸️ Ralph Loop pausedStep N: [exact error]. Please advise how to proceed."

  4. Wait for user's response. Resume only after they provide the solution.
  5. After resuming: continue from where you stopped, do not restart.

PHASE 3: Completion

  1. Set status to ✅ Done
  2. Add final Progress Log entry
  3. Delete /workspace/memory/ralph-loop.md
  4. Send final Telegram message:

    "🎉 Task name — done. [What was produced]. Files: [/workspace/path]."

  5. Ralph Loop ends.

Ralph Loop Rules

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

Telegram Message Style

After a phase (good):

"✅ Job boards — пронашао 12 компанија. Следећи: компаније мета."

Bad (too long):

"Завршио сам истраживање job boards-ова и пронашао сам неколико занимљивих..."

Bad (asking a question):

"Да ли желиш да наставим са следећим кораком?"

Deactivating the Loop

The loop ends when all steps are checked [x] and the file is deleted. No lingering files.

Ralph Loop Rules (plain English)

  1. START → FINISH. No stopping in the middle.
  2. If stuck after 2 attempts → only then stop and tell the user
  3. Keep working until every step is [x] before sending any Telegram message
  4. Telegram message = progress notification, NOT a request for permission
  5. Delete the file when done
  6. Never restart a loop — continue from where you left off
安全使用建议
Review before installing. Use it only if you are comfortable with an agent running multi-step tasks with minimal pauses, writing task details to a workspace memory file, deleting that file at the end, and sending progress information through Telegram. Avoid using it for sensitive work unless Telegram updates are disabled or explicitly controlled and activation is narrowed to deliberate opt-in commands.
能力评估
Purpose & Capability
The stated purpose is coherent with a persistent plan file and autonomous execution, but the skill also mandates external Telegram updates and a strong no-stop workflow that can expose task names, errors, file paths, and outputs.
Instruction Scope
Activation includes any task the user expects to be handled autonomously, and the protocol tells the agent not to ask or wait except in narrow cases, which is broader than explicit user-directed activation.
Install Mechanism
The artifact contains a single markdown skill file, no executable scripts, no dependencies, and metadata/static scan did not report suspicious install behavior.
Credentials
For an autonomy helper, file creation and command execution can be expected, but mandatory third-party Telegram messaging and broad autonomous action are under-scoped for general tasks.
Persistence & Privilege
The skill stores the user's original request verbatim and progress in /workspace/memory/ralph-loop.md, then requires automatic deletion on completion, reducing user control and auditability.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install ralph-loop-rr
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /ralph-loop-rr 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.2.0
v1.2: explicit NO-STOP rule — never pause to ask mid-task unless truly stuck after 2 attempts
v1.1.0
v1.1: stuck handling (stop + inform user), delete file on completion, no clutter
v1.0.0
Initial release: Ralph Loop task execution skill
元数据
Slug ralph-loop-rr
版本 1.2.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 3
常见问题

Ralph Loop Rr 是什么?

Autonomously executes multi-step tasks by creating and updating a persistent plan file at /workspace/memory/ralph-loop.md until completion. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 50 次。

如何安装 Ralph Loop Rr?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install ralph-loop-rr」即可一键安装,无需额外配置。

Ralph Loop Rr 是免费的吗?

是的,Ralph Loop Rr 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Ralph Loop Rr 支持哪些平台?

Ralph Loop Rr 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Ralph Loop Rr?

由 roboticresults(@roboticresults)开发并维护,当前版本 v1.2.0。

💬 留言讨论