---
title: Cancel Ralph Skill for Claude Code
canonical: https://skillselion.com/skills/cursor/plugins/cancel-ralph
content_type: text/markdown
description: "cancel-ralph by cursor - cancel-ralph provides an emergency stop for Ralph-style autonomous agent loops inside cursor/plugins, letting developers halt."
---

# Cancel Ralph Skill

Title: Cancel Ralph Skill for Claude Code

> cancel-ralph by cursor - cancel-ralph provides an emergency stop for Ralph-style autonomous agent loops inside cursor/plugins, letting developers halt.

Canonical: https://skillselion.com/skills/cursor/plugins/cancel-ralph

cancel-ralph provides an emergency stop for Ralph-style autonomous agent loops inside cursor/plugins, letting developers halt iterative agent runs before they waste tokens, produce unwanted diffs, or drift from the task. It is agent lifecycle control for Cursor plugin workflows.

## Key facts

- Installs: 952
- GitHub stars: 19,807
- Author: cursor
- Repository: cursor/plugins
- Install command: `npx skills add https://github.com/cursor/plugins --skill cancel-ralph`
- Last updated: November 26, 2026

## What Cancel Ralph does

Stop a runaway Ralph-style autonomous agent loop in Cursor plugins when iteration should end before wasted tokens, bad diffs, or off-scope changes accumulate.

- Halts autonomous Ralph loops on demand
- Prevents unbounded agent iteration spend
- Protects repo from off-scope agent edits
- Integrates with Cursor plugin agent runtime
- Operator control for long-running tasks

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

## Cancel Ralph FAQ

### What is Cancel Ralph Skill?

cancel-ralph by cursor - cancel-ralph provides an emergency stop for Ralph-style autonomous agent loops inside cursor/plugins, letting developers halt.

### How do I install Cancel Ralph Skill?

npx skills add https://github.com/cursor/plugins --skill cancel-ralph

## Machine access

- [Sitemap](https://skillselion.com/sitemap.xml)
- [llms.txt](https://skillselion.com/llms.txt)
- [llms-full.txt](https://skillselion.com/llms-full.txt)
- [Developer resources](https://skillselion.com/developers)
- [OpenAPI spec](https://skillselion.com/openapi.json)
- [MCP handshake](https://skillselion.com/.well-known/mcp)
- [API catalog](https://skillselion.com/.well-known/api-catalog)
- [AI catalog](https://skillselion.com/.well-known/ai-catalog.json)
- [Pricing](https://skillselion.com/pricing.md)
- [Auth](https://skillselion.com/auth.md)
- [AGENTS.md](https://skillselion.com/AGENTS.md)
- [Contact](https://skillselion.com/contact)
- [Home](https://skillselion.com/)
