Back to Claude Code

Cancel Ralph

plugins/ralph-wiggum/commands/cancel-ralph.md

2.1.129511 B
Original Source

Cancel Ralph

To cancel the Ralph loop:

  1. Check if .claude/ralph-loop.local.md exists using Bash: test -f .claude/ralph-loop.local.md && echo "EXISTS" || echo "NOT_FOUND"

  2. If NOT_FOUND: Say "No active Ralph loop found."

  3. If EXISTS:

    • Read .claude/ralph-loop.local.md to get the current iteration number from the iteration: field
    • Remove the file using Bash: rm .claude/ralph-loop.local.md
    • Report: "Cancelled Ralph loop (was at iteration N)" where N is the iteration value