Cancel Ralph
Agent Buildingcancel-ralphCancel 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.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/cursor/plugins/blob/HEAD/ralph-loop/skills/cancel-ralph/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/cancel-ralph, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Cancel 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.