cancel-ralph · git:20260211.e87eaec · 2026-02-11 · sha256 5824c5344af837c1
cancel-ralph git:20260211.e87eaecA
Immutable. This exact content is served forever at /api/v1/blob/5824c5344af837c1.
---
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:
```bash
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.