Cancel Ralph

Cancel active Ralph Wiggum loop

jerryagenyi updated 5mo ago
Claude CodeGeneric
View source ↗
---
description: "Cancel active Ralph Wiggum loop"
allowed-tools: ["Bash"]
hide-from-slash-command-tool: "true"
---

# Cancel Ralph

```!
if [[ -f .claude/ralph-loop.local.md ]]; then
  ITERATION=$(grep '^iteration:' .claude/ralph-loop.local.md | sed 's/iteration: *//')
  echo "FOUND_LOOP=true"
  echo "ITERATION=$ITERATION"
else
  echo "FOUND_LOOP=false"
fi

Check the output above:

  1. If FOUND_LOOP=false:

    • Say "No active Ralph loop found."
  2. If FOUND_LOOP=true:

    • Use Bash: rm .claude/ralph-loop.local.md
    • Report: "Cancelled Ralph loop (was at iteration N)" where N is the ITERATION value from above.

Maintain Cancel Ralph?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

[Cancel Ralph on getagentictools](https://getagentictools.com/loops/jerryagenyi-cancel-ralph?ref=badge)