OpenParable
Skip to content
← Back to skills

Cancel Ralph

Agent Building
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.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. 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

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