mcpField
C
cancel-ralph

cancel-ralph

github.com/cursorAgent workflows14.5k906 installsUpdated today
Repository

About cancel-ralph

A skill for Cursor Agent to stop an active Ralph loop. It checks the loop state, removes its state data, and reports the iteration count, or says when no loop is active.

Key features

  1. 01Check for the Ralph state file
  2. 02Read the current iteration
  3. 03Remove loop state and done flag
  4. 04Report the cancellation result

Use cases

  1. 01Stop an active Ralph loop
  2. 02Check whether a loop is active

Install

Copy the command and run it in a terminal.

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

After installing, type/cancel-ralphin Claude Code to confirm it loaded.

Details

From the project README

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.

Comments

Markdown supported