Ralph 技能排查
- 作者仓库星标 1
- 作者仓库 Ralph-Anti-loop-Bundle-Skill
Ralph Router — Automatic level selection
Before you act, pick the right level. Never start a task without loading the correct skill.
Decision tree
I receive a task.
│
├─ How many steps do I expect?
│ │
│ ├─ 1–3 steps / single operation / lookup / quick edit
│ │ └─ → Load ralph-small
│ │ Path: /home/ubuntu/.openclaw/skills/ralph-small/SKILL.md
│ │
│ ├─ 4–10 steps / sequential workflow / moderate dependencies
│ │ └─ → Load ralph-medium
│ │ Path: /home/ubuntu/.openclaw/skills/ralph-medium/SKILL.md
│ │
│ └─ 10+ steps / debugging / refactor / architecture / high complexity
│ └─ → Load ralph-huge
│ Path: /home/ubuntu/.openclaw/skills/ralph-huge/SKILL.md
│
├─ Unsure about complexity?
│ └─ → Err on the side of more discipline. Prefer ralph-medium on a simple task
│ over ralph-small on a task that turns out complex.
│
└─ Already using ralph-small or ralph-medium and exhausted attempts?
└─ → Escalate to the next level immediately.
Do not wait. Do not retry the same tier. Escalate.
Automatic escalation rule
ralph-small → 2 failed attempts → ralph-medium
ralph-medium → 3 failed attempts → ralph-huge
ralph-huge → 4 failed attempts → Circuit breaker + wait for user
There is no escalation beyond ralph-huge. After four failed unique attempts, stop, emit the diagnostic, and wait for human input.
After success (self-improvement)
When the task was run under ralph-small, ralph-medium, or ralph-huge and you have verified success (evidence in the same turn):
- Follow the Closure: self-improvement section at the end of whichever Ralph level you used — it links to
self-improvementand.learnings/without blocking the user reply. - Skill path (OpenClaw):
/home/ubuntu/.openclaw/skills/self-improvement/SKILL.md
This is optional but high-value for recurring patterns, non-obvious fixes, and tool/gateway gotchas.
Note for the agent
Never tell the user “I’m using ralph-[level]” — that is internal operations detail. Select, load, act. The user wants outcomes, not narration of your selection process.
- 流狐分类
- 通用
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 92 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @00Blacksheep00 · v1.0 · 未声明 license
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 即装即用
- 是否需要外部 API Key
- 未发现要求
- 检测到的系统要求
- Linux
- 底层运行要求
- 未声明
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- 检测到的网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
作者没有在当前 SKILL.md 中定义固定输出样例。 Decision tree
There is no escalation beyond ralph-huge. After four failed unique attempts, stop, emit the diagnostic, and wait for human input.
When the task was run under ralph-small, ralph-medium, or ralph-huge and you have verified success (evidence in the same turn): Follow the Closure: self-improvement section at the end of whichever Ralph level you used — it links to self-improvement and…
Never tell the user “I’m using ralph-[level]” — that is internal operations detail. Select, load, act. The user wants outcomes, not narration of your selection process.
# Ralph Router — Automatic level selection
> Before you act, pick the right level. Never start a task without loading the correct skill.
---
## Decision tree
```
I receive a task.
│
├─ How many steps do I expect?
│ │
│ ├─ 1–3 steps / single operation / lookup / quick edit
│ │ └─ → Load ralph-small
│ │ Path: /home/ubuntu/.openclaw/skills/ralph-small/SKILL.md
│ │
│ ├─ 4–10 steps / sequential workflow / moderate dependencies
│ │ └─ → Load ralph-medium
│ │ Path: /home/ubuntu/.openclaw/skills/ralph-medium/SKILL.md
│ │
│ └─ 10+ steps / debugging / refactor / architecture / high complexity
│ └─ → Load ralph-huge
│ Path: /home/ubuntu/.openclaw/skills/ralph-huge/SKILL.md
│
├─ Unsure about complexity?
│ └─ → Err on the side of more discipline. Prefer ralph-medium on a simple task
│ over ralph-small on a task that turns out complex.
│
└─ Already using ralph-small or ralph-medium and exhausted attempts?
└─ → Escalate to the next level immediately.
Do not wait. Do not retry the same tier. Escalate.
```
---
## Automatic escalation rule
```
ralph-small → 2 failed attempts → ralph-medium
ralph-medium → 3 failed attempts → ralph-huge
ralph-huge → 4 failed attempts → Circuit breaker + wait for user
```
**There is no escalation beyond ralph-huge.** After four failed unique attempts, stop, emit the diagnostic, and wait for human input.
---
## After success (self-improvement)
When the task was run under **ralph-small**, **ralph-medium**, or **ralph-huge** and you have **verified** success (evidence in the same turn):
… 作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> Decision tree → Automatic escalation rule → After success (self-improvement) → Note for the agent
要点 -> There is no escalation beyond ralph-huge. · ralph-small · ralph-medium · ralph-huge · verified · Closure: self-improvement · self-improvement
文件/命令 -> self-improvement · .learnings/ · /home/ubuntu/.openclaw/skills/self-improvement/SKILL.md · home/ubuntu/.openclaw/skills/ralph-small/SKILL.md · home/ubuntu/.openclaw/skills/ralph-medium/SKILL.md · home/ubuntu/.openclaw/skills/ralph-huge/SKILL.md · home/ubuntu/.openclaw/skills/self-improvement/SKILL.md · tool/gateway
内容 SHA-256 -> 73c9fa90244e
原文结构
适用与边界
原文中的明确线索
self-improvement、.learnings/、/home/ubuntu/.openclaw/skills/self-improvement/SKILL.md、home/ubuntu/.openclaw/skills/ralph-small/SKILL.md、home/ubuntu/.openclaw/skills/ralph-medium/SKILL.md、home/ubuntu/.openclaw/skills/ralph-huge/SKILL.md、home/ubuntu/.openclaw/skills/self-improvement/SKILL.md、tool/gateway