360 Secure SkillHub
360 安全技能中心

cancel-ralph

该 Skill 用于取消正在运行的 Ralph 循环:先检查项目内 .cursor/ralph/scratchpad.md 是否存在,不存在则提示没有活动循环;存在则读取其中的 iteration 字段,删除 .cursor/ralph 目录(含完成标记),并返回“已取消,停在第 N 次迭代”的确认信息。

分类:自动化
cursor
热度 0.00
最近更新 2026-10-18 16:52:20

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add cursor/plugins/cancel-ralph
兼容性
Cursor 专属
联网要求
不联网
数据出网
数据不出本机
Metadata
name
cancel-ralph
description
Cancel an active Ralph Loop. Use when the user wants to stop, cancel, or abort a running ralph loop.

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:
      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.