About cancel-ralph
A skill for Cursor Agent to stop an active Ralph loop. It checks the loop state, removes its state data, and reports the iteration count, or says when no loop is active.
Key features
- 01Check for the Ralph state file
- 02Read the current iteration
- 03Remove loop state and done flag
- 04Report the cancellation result
Use cases
- 01Stop an active Ralph loop
- 02Check whether a loop is active
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ cursor/ plugins --skill cancel-ralphAfter installing, type/cancel-ralphin Claude Code to confirm it loaded.
Details
From the project READMECancel Ralph
Trigger
The user wants to cancel or stop an active Ralph loop.
Workflow
-
Check if
.cursor/ralph/scratchpad.mdexists. -
If it does not exist: Tell the user "No active Ralph loop found."
-
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)."
- Read
Output
A short confirmation with the iteration count, or a message that no loop was active.
Comments
Markdown supported