Ralph 循环停止
cancel-ralph
停止本会话的 Ralph 循环,或停止 /clear 之后该文件夹的循环。随后 Stop 钩子将允许会话停止。
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-13
- Stars
- ★ 1
- Forks
- 4
01 前言 Front Matter
- name
- cancel-ralph
- description
- Stop the Ralph loop of this session, or of this folder after /clear. Then the Stop hook lets the session stop.
- argument-hint
- [--loop <session id>]
- disable-model-invocation
- true
02 资源文件 1
- 参考文档references/detailed-guide.md16.7 KB
03 SKILL.md 正文
Cancel the Ralph loop
The arguments are: $ARGUMENTS
Run this command. Give the arguments as they are:
"${CLAUDE_PLUGIN_ROOT}/plugin/hooks/ralph.py" cancel --session "${CLAUDE_SESSION_ID}" $ARGUMENTS
The command removes the state file of the loop (~/.claude/kairos-ralph/<session id>.json). Then the Stop hook lets the session stop.
After /clear, the session has a new ID. The old loop then has no session. In this case, the command looks for a loop in this folder:
- One loop in this folder: the command cancels it and names its session.
- Two or more loops in this folder: the command cancels none and names each session. Ask the user which loop to stop. Then run the command again with
--loop <session id>.
Give the output of the command to the user. The output names the tasks of the loop and the iteration. If no loop is active, the output says so.
The cancel does not change the items. A task keeps its column and its notes. If a task is in Active and its work is not complete, tell the user its short code. Then do the "Abort" section of /kairos:implement for that task: the note, the state, the claim and the worktree.
The command also removes state files that are older than 30 days.
04 同仓库更多 Skills
交付看板梳理
triage
梳理交付看板——细化验收标准、确定缺陷优先级、权衡技术债务、归档过期条目、补充待办事项、上报跨团队阻碍。
对话转行动项 PRD
to-initiative
将当前对话转化为一个附带 PRD 的 Kairos 行动项——无需访谈,仅综合已经讨论过的内容。
Ralph 循环执行任务
ralph
以 Ralph 循环的方式逐个运行 Kairos 任务,依次执行 `/kairos:implement` 的各个步骤。
Ralph 循环执行行动项
ralph-initiative
以 Ralph 循环的方式运行 Kairos 行动项中的未完成任务,按照其 blocks(阻塞)边的顺序执行。
交付团队组建配置
onboard-team
带领一个新的或设置了一半的交付团队与相关人员一起进入可工作状态——包括其团队、成员、看板、代码仓库、团队页面和章程、任务派发以及本地配置连接。先读取、列出缺口、每次写入前先询问;可安全重复运行。
Kairos 任务实现
implement
将一个 Kairos 任务从 Todo(待办)推进到 Completed(已完成)。当用户指定要实现的具体任务或短代码、要求接手下一个待办项,或经过梳理(groomed)的工作被移交执行时使用。