Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.
TypeScript
description: "Cancel active Ralph Wiggum loop" allowed-tools: ["Bash(test -f .claude/ralph-loop.local.md:*)", "Bash(rm .claude/ralph-loop.local.md)", "Read(.claude/ralph-loop.local.md)"] hide-from-slash-command-tool: "true"
Cancel Ralph
To cancel the Ralph loop:
Check if
.claude/ralph-loop.local.mdexists using Bash:test -f .claude/ralph-loop.local.md && echo "EXISTS" || echo "NOT_FOUND"If NOT_FOUND: Say "No active Ralph loop found."
If EXISTS:
- Read
.claude/ralph-loop.local.mdto get the current iteration number from theiteration: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
- Read