Help us improve
Share bugs, ideas, or general feedback.
npx claudepluginhub the-rabak/compound-engineering-plugin --plugin compound-engineeringHow this command is triggered — by the user, by Claude, or both
Slash command
/compound-engineering:cancel-ralphThe summary Claude sees in its command listing — used to decide when to auto-load this command
# Cancel Ralph Loop Check for and cancel an active ralph loop. Run the above script via Bash tool to cancel the loop.
/cancel-ralphCancels active Ralph Loop: checks for .claude/ralph-loop.local.md state file, reads iteration if present, removes it, and reports status.
/cancel-ralphStops an active Ralph Reviewed loop by deleting its state file. Reports iteration and review count upon cancellation.
/cancel-ralphCancels an active Ralph Wiggum loop by removing its state file and reporting the iteration number.
/cancel-ralphLists active Ralph Wiggum loops, prompts user to select and confirm cancellation of one or more via interactive menu, then deletes state files and logs action.
Share bugs, ideas, or general feedback.
Check for and cancel an active ralph loop.
STATE_FILE=".claude/ralph-loop.local.md"
if [ -f "$STATE_FILE" ]; then
ITERATION=$(grep "^iteration:" "$STATE_FILE" | sed 's/^iteration: *//')
MAX=$(grep "^max_iterations:" "$STATE_FILE" | sed 's/^max_iterations: *//')
echo "Cancelling ralph loop at iteration ${ITERATION}/${MAX}"
rm -f "$STATE_FILE"
echo "Ralph loop cancelled."
else
echo "No active ralph loop found."
fi
Run the above script via Bash tool to cancel the loop.