cancel-ralph
An agent skill by cursor, from cursor/plugins. Tags: automation, troubleshooting, workflow.
What it does
Cancel an active Ralph Loop. Use when the user wants to stop, cancel, or abort a running ralph loop.
Install
With the skills CLI, which installs into Claude Code, Codex, Cursor and other agents:
npx skills add cursor/plugins --skill cancel-ralph
Or copy the skill folder into Claude Code's skills directory by hand (~/.claude/skills for every project, or .claude/skills inside one):
git clone --depth 1 https://github.com/cursor/plugins
cp -r plugins/ralph-loop/skills/cancel-ralph ~/.claude/skills/cancel-ralph
Safety box score
Grade B, low risk: 14 of 100 risk points, rated 2026-10-19. The grade rates what the skill and its scripts can reach on the machine of whoever installs it, across eight categories from shell execution to secrets access. How the score works.
This skill only inspects and deletes a local `.cursor/ralph` state folder to cancel a Ralph loop. The main risk is a recursive filesystem delete, but it does not fetch remote content, touch secrets, or modify system settings.
| Category | Level | Why |
|---|---|---|
| Code & shell execution | 1 (low) | It directs the agent to run a shell command, `rm -rf .cursor/ralph`, but the execution is narrowly scoped to local state cleanup. |
| Network access | 0 (none) | No network access, downloads, uploads, or remote API calls are present. |
| Filesystem reach | 2 (moderate) | It reads `.cursor/ralph/scratchpad.md` and then recursively deletes `.cursor/ralph` with `rm -rf .cursor/ralph`, which can remove all files under that directory. |
| Secrets & credentials | 0 (none) | The skill does not request or access tokens, passwords, keychains, `.env` files, or browser sessions. |
| Privilege & persistence | 0 (none) | There is no sudo use, global install, service registration, or shell/OS setting change. |
| Instruction hijack surface | 0 (none) | No instructions tell the agent to ignore safeguards, follow remote instructions, or hide actions. |
| Irreversible actions | 1 (low) | It performs a destructive local action automatically after the user asks to cancel, but the action is limited to the Ralph loop state. |
| Transparency | 0 (none) | All content is plain text markdown; there are no binaries, encoded blobs, or fetched installers. |
Before installing
- Confirm `.cursor/ralph` contains only disposable loop state before using this skill.
- If you want to preserve any history, back up `.cursor/ralph/scratchpad.md` first.
- Run it once in a scratch workspace to verify it only deletes the intended directory.
Rated 2026-10-19 by an automated review of 1 file from the skill's repository.
Source
- Repository
- cursor/plugins (all skills from this repository)
- Path
- ralph-loop/skills/cancel-ralph/SKILL.md
- Branch
- main
- Collection
- cursor
- Updated
- 2026-09-23
Related skills
- automate-me — Use for "automate me", "create/update/refresh my -mode skill", "turn/capture my preferences or working style into a skill".
- cli-for-agents — Designs or reviews CLIs so coding agents can run them reliably: non-interactive flags, layered --help with examples, stdin/pipelines, fast actionable errors.
- continual-learning — Orchestrate continual learning by delegating transcript mining and AGENTS.md updates to `agents-memory-updater`.
- create-verification-skill — Generate a project-local verification skill that drives your app the way a user does — any language, framework, or platform.
- orchestrate — Use only when the user explicitly types `/orchestrate <goal>` to decompose a large task.
- principle-build-the-lever — Apply to any non-trivial work, not just bulk work: edits, migrations, analyses, checks.