用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/seanGSISG/cstack --skill cancel-ralph命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | cancel-ralph |
| description | Cancel an active Ralph Loop. Use when the user wants to stop, cancel, or abort a running ralph loop. |
The user wants to cancel or stop an active Ralph loop.
Check if .claude/ralph/scratchpad.md exists.
If it does not exist: Tell the user "No active Ralph loop found."
If it exists:
.claude/ralph/scratchpad.md to get the current iteration from the iteration: field.rm -rf .claude/ralph
Removing the state file is the only thing that stops the loop — there is no separate sentinel file to clean up. The Stop hook is a no-op whenever .claude/ralph/scratchpad.md is absent.
A loop that paused at Claude Code's 8-continuation-per-turn ceiling is still active: its state file is intact and any next message resumes it. Cancel it here if the user does not want it to resume.
A short confirmation with the iteration count, or a message that no loop was active.