# Cancel Ralph

> Cancel Ralph is an Agent Skill for agent building published in the cursor/plugins repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Cancel an active Ralph Loop. Use when the user wants to stop, cancel, or abort a running ralph loop.

- Skill name: `cancel-ralph`
- Category: [Agent Building](https://www.openparable.com/skill/agent-building/1)
- Source: https://github.com/cursor/plugins/blob/HEAD/ralph-loop/skills/cancel-ralph/SKILL.md
- Repository: cursor/plugins (2,308 GitHub stars when collected)

## SKILL.md

# 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.

---

Source: https://www.openparable.com/skill/agent-building/cancel-ralph (OpenParable). Cite the canonical URL above.
