Cancel Ralph

作者 cursorccb5507cec15无许可证10K 个星标收录于 2026年10月8日更新于 2026年10月8日仓库今天更新

Cancel an active Ralph Loop. Use when the user wants to stop, cancel, or abort a running ralph loop.

AI 生成的概览

通过删除状态文件并报告所处迭代次数,停止正在运行的 Ralph Loop。

功能
该技能用于取消正在运行的 Ralph Loop。它会检查状态文件 .cursor/ralph/scratchpad.md 是否存在;若不存在,则提示未发现活动循环。若存在,则从 iteration 字段读取当前迭代次数,删除 .cursor/ralph 目录及任何完成标记,并报告已取消及迭代次数。
适用场景
当用户想要停止、取消或中止正在运行的 Ralph 循环时使用。仅适用于当前工作区可能存在活动 Ralph Loop 的情况。
运行要求
不附带脚本,仅为指令。需要访问工作区文件系统,以检查并删除 .cursor/ralph 目录。

Cancel Ralph

Trigger

The user wants to cancel or stop an active Ralph loop.

Workflow

  1. Check if .cursor/ralph/scratchpad.md exists.

  2. If it does not exist: Tell the user "No active Ralph loop found."

  3. If it exists:

    • Read .cursor/ralph/scratchpad.md to get the current iteration from the iteration: field.
    • Remove the state file and any done flag:
      bash
      rm -rf .cursor/ralph
    • Report: "Cancelled Ralph loop (was at iteration N)."

Output

A short confirmation with the iteration count, or a message that no loop was active.

来源与署名

来源:cursor/plugins位于ralph-loop/skills/cancel-ralph提交ccb5507

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架