
cancel-ralph
Cancel active Ralph Loop
by andrey-moor|Open Source
Cancel Ralph Skill
Cancel an active Ralph Loop session.
Detection Patterns
This skill activates when the user says things like:
- "cancel ralph"
- "stop ralph loop"
- "end the ralph loop"
- "abort ralph loop"
Behavior
When activated:
-
Check for active loop:
- Look for
.claude/ralph-loop.local.md
- Look for
-
If active:
- Read current state (mode, iteration count)
- Delete the state file
- Confirm cancellation
-
If not active:
- Inform user no loop is running
Implementation
if [ -f ".claude/ralph-loop.local.md" ]; then
rm .claude/ralph-loop.local.md
echo "Ralph Loop cancelled."
else
echo "No active Ralph Loop found."
fi
Notes
- Cancellation is immediate
- Work in progress is preserved
- Use
/ralph-loopto start a new loop