Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
cursor avatar

Cancel Ralph

  • 218 installs
  • 2.5k repo stars
  • Updated August 5, 2026
  • cursor/plugins

Stop a runaway Ralph-style autonomous agent loop in Cursor plugins when iteration should end before wasted tokens, bad diffs, or off-scope changes accumulate.

About

cancel-ralph provides an emergency stop for Ralph-style autonomous agent loops inside cursor/plugins, letting developers halt iterative agent runs before they waste tokens, produce unwanted diffs, or drift from the task. It is agent lifecycle control for Cursor plugin workflows.

  • Halts autonomous Ralph loops on demand
  • Prevents unbounded agent iteration spend
  • Protects repo from off-scope agent edits
  • Integrates with Cursor plugin agent runtime
  • Operator control for long-running tasks

Cancel Ralph by the numbers

  • 218 all-time installs (skills.sh)
  • Ranked #2,732 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/cursor/plugins --skill cancel-ralph

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs218
repo stars2.5k
Last updatedAugust 5, 2026
Repositorycursor/plugins

What it does

Stop a runaway Ralph-style autonomous agent loop in Cursor plugins when iteration should end before wasted tokens, bad diffs, or off-scope changes accumulate.

Files

SKILL.mdMarkdownGitHub ↗

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.

Related skills

AI & Agent Buildingagentsautomation

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.