
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-ralphAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 218 |
|---|---|
| repo stars | ★ 2.5k |
| Last updated | August 5, 2026 |
| Repository | cursor/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
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.mdto get the current iteration from theiteration: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.