Skip to content
Development
Skill

/cancel-ralph

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

From plugin
cursor-plugins
2.6k82 skills12 agents
Install
$ npx -y skills add cursor/plugins --skill cancel-ralph --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/cancel-ralph

Context preview

The summary Claude sees to decide when to auto-load this skill.

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

SKILL.md

cancel-ralph.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.

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.

Ships withcursor-plugins

Official Cursor plugins for popular developer tools, frameworks, and SaaS products. Each plugin is a standalone directory at the repository root with its own .cursor-plugin/plugin.json manifest.

Get the whole plugin