--- name: cancel-ralph description: "Cancel an active bounded Ralph loop and report where it stopped. Use for /cancel-ralph, 'cancel the ralph loop', 'stop iterating', or 'abort the loop'." license: MIT metadata: adapted-from: "cursor/plugins/ralph-loop/skills/cancel-ralph" version: "1.0.0" --- # Cancel Ralph Stop an active Ralph loop. ## Workflow 1. Check whether `.ralph/scratchpad.md` exists in the working directory. 2. **If it does not exist:** tell the user "No active Ralph loop found." 3. **If it exists:** - Read the `iteration:` field from the state file frontmatter. - Remove the loop state: ```bash rm -rf .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.