Help us improve
Share bugs, ideas, or general feedback.
From oh-my-claudecode
Cancels active Ralph self-referential loop and linked Ultrawork parallel execution by running bash command to update state JSON files in .omc and ~/.claude, deactivating persistent modes.
npx claudepluginhub mazenyassergithub/oh-my-claudecode --plugin oh-my-claudecodeHow this command is triggered — by the user, by Claude, or both
Slash command
/oh-my-claudecode:cancel-ralphThe summary Claude sees in its command listing — used to decide when to auto-load this command
# Cancel Ralph [RALPH CANCELLED] Ralph has been cancelled. You MUST now deactivate the state files. ## MANDATORY ACTION Execute this command to fully cancel ALL persistent modes: After running this command, you are free to stop working. The persistent mode hook will no longer force continuation. ## What Was Cancelled - **Ralph**: Self-referential completion loop - **Ultrawork**: Parallel execution mode (auto-activated with Ralph by default) - **Ralph Plan**: Iterative planning loop (if active via /ralplan) - **Verification State**: Any pending architect verification ## Note on Lin...
/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.
Share bugs, ideas, or general feedback.
[RALPH CANCELLED]
Ralph has been cancelled. You MUST now deactivate the state files.
Execute this command to fully cancel ALL persistent modes:
mkdir -p .omc ~/.claude && \
echo '{"active": false, "cancelled_at": "'$(date -Iseconds)'", "reason": "User cancelled via /cancel-ralph"}' > .omc/ralph-state.json && \
echo '{"active": false, "cancelled_at": "'$(date -Iseconds)'", "reason": "User cancelled via /cancel-ralph", "linked_to_ralph": false}' > .omc/ultrawork-state.json && \
echo '{"active": false, "cancelled_at": "'$(date -Iseconds)'", "reason": "User cancelled via /cancel-ralph"}' > .omc/ralph-plan-state.json && \
echo '{"active": false, "cancelled_at": "'$(date -Iseconds)'", "reason": "User cancelled via /cancel-ralph"}' > ~/.claude/ralph-state.json && \
echo '{"active": false, "cancelled_at": "'$(date -Iseconds)'", "reason": "User cancelled via /cancel-ralph"}' > ~/.claude/ultrawork-state.json && \
rm -f .omc/ralph-verification.json
After running this command, you are free to stop working. The persistent mode hook will no longer force continuation.
Since v3.0, Ralph automatically activates Ultrawork for parallel execution. When you cancel Ralph, the linked Ultrawork is also cancelled. If you started Ultrawork separately (not via Ralph), use /cancel-ultrawork to cancel it independently.
/ralph "task" - Start ralph with ultrawork (default)/ultrawork "task" - Start ultrawork only (standalone)