Cancel Ralph banner
kumaran-is kumaran-is

Cancel Ralph

Development community

Description

--- description: Cancel an active Ralph loop immediately. Deletes the state file so the loop stops on the next turn exit. --- # Cancel Ralph Loop ```bash RALPH_STATE_FILE="$CLAUDE_PROJECT_DIR/.claude/ralph-loop.local.md" if [[ -f "$RALPH_STATE_FILE" ]]; then ITERATION=$(grep '^iteration:' "$RALPH_STATE_FILE" | sed 's/iteration: *//') rm "$RALPH_STATE_FILE" echo "🛑 Ralph loop cancelled after iteration ${ITERATION:-?}." echo " The loop will exit cleanly on the next turn." else echo

Installation

Installs to ~/.claude/commands/kumaran-is-claude-code-onboarding-cancel-ralph.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/kumaran-is/claude-code-onboarding/HEAD/.claude/commands/cancel-ralph.md -o ~/.claude/commands/kumaran-is-claude-code-onboarding-cancel-ralph.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository