Ralph 技能审查
- 作者仓库星标 2,914
- 作者仓库 ralph-orchestrator
Ralph Loop
Use this skill to operate Ralph loops from the outside.
Use This Skill For
- Starting or continuing a Ralph run with the right
-cand-Hinputs - Inspecting loop state, worktrees, logs, history, and diffs
- Resuming a hook-suspended loop
- Merging or discarding completed worktree loops
- Debugging unexpected loop behavior with current diagnostics files
Workflow
- Start with
ralph loops listorralph loops list --jsonto establish the current state. - If the user wants execution, run
ralph run ...with the right core config and hats source. - If the loop is stuck or suspicious, inspect
logs,history, anddiffbefore changing state. - If the loop is suspended, read
.ralph/suspend-state.jsonand useralph loops resume <id>. - If a loop is queued or in
needs-review, inspect the diff first, then usemerge,process,retry, ordiscardas appropriate. - Use diagnostics when you need detailed evidence about hats, events, tool calls, parse errors, or performance.
Guardrails
- Prefer the CLI over direct edits to
.ralphstate files. - Treat tasks and memories as the canonical runtime systems; do not center scratchpad as the primary state model.
- Inspect diffs before merging.
- Only remove lock or queue artifacts when the underlying process is confirmed dead.
- Manual edits under
.ralph/are last-resort recovery steps and should be called out explicitly when used.
Read These References When Needed
- For command recipes and operator flows:
references/commands.md - For diagnostics files and suspend-state details:
references/diagnostics.md
- 流狐分类
- 工程开发
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @mikeyobrien · 未声明 license
- 流狐 Token 估算
- 中等消耗
- 流狐接入估算
- 需简单配置
- 是否需要外部 API Key
- 未发现要求
- 检测到的系统要求
- 未声明
- 底层运行要求
- 未声明
- 检测到的文件与系统行为
-
- 只读
- Shell 执行
- 检测到的网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
作者没有在当前 SKILL.md 中定义固定输出样例。 Starting or continuing a Ralph run with the right -c and -H inputs Inspecting loop state, worktrees, logs, history, and diffs Resuming a hook-suspended loop
Start with ralph loops list or ralph loops list --json to establish the current state. If the user wants execution, run ralph run ... with the right core config
Prefer the CLI over direct edits to .ralph state files. Treat tasks and memories as the canonical runtime systems; do not center scratchpad as the primary state model.
For command recipes and operator flows: references/commands.md For diagnostics files and suspend-state details: references/diagnostics.md
# Ralph Loop
Use this skill to operate Ralph loops from the outside.
## Use This Skill For
- Starting or continuing a Ralph run with the right `-c` and `-H` inputs
- Inspecting loop state, worktrees, logs, history, and diffs
- Resuming a hook-suspended loop
- Merging or discarding completed worktree loops
- Debugging unexpected loop behavior with current diagnostics files
## Workflow
1. Start with `ralph loops list` or `ralph loops list --json` to establish the
current state.
2. If the user wants execution, run `ralph run ...` with the right core config
and hats source.
3. If the loop is stuck or suspicious, inspect `logs`, `history`, and `diff`
before changing state.
4. If the loop is suspended, read `.ralph/suspend-state.json` and use
`ralph loops resume <id>`.
5. If a loop is queued or in `needs-review`, inspect the diff first, then use
`merge`, `process`, `retry`, or `discard` as appropriate.
6. Use diagnostics when you need detailed evidence about hats, events, tool
calls, parse errors, or performance.
## Guardrails
- Prefer the CLI over direct edits to `.ralph` state files.
- Treat tasks and memories as the canonical runtime systems; do not center
scratchpad as the primary state model.
- Inspect diffs before merging.
- Only remove lock or queue artifacts when the underlying process is confirmed
dead.
- Manual edits under `.ralph/` are last-resort recovery steps and should be
called out explicitly when used.
## Read These References When Needed
- For command recipes and operator flows: `references/commands.md`
- For diagnostics files and suspend-state details: `references/diagnostics.md` 作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> Use This Skill For → Workflow → Guardrails → Read These References When Needed
要点 -> Use this skill to operate Ralph loops from the outside. · 1. Start with ralph loops list or ralph loops list --json to establish the current state. · - Prefer the CLI over direct edits to .ralph state files.
文件/命令 -> ralph loops list · ralph loops list --json · ralph run ... · logs · history · diff · .ralph/suspend-state.json · ralph loops resume <id>
内容 SHA-256 -> 2ec3c7863475
方法与流程
适用与边界
原文中的明确线索
ralph loops list、ralph loops list --json、ralph run ...、logs、history、diff、.ralph/suspend-state.json、ralph loops resume <id>