| name | cancel-ralph |
| description | Cancel active Ralph Loop |
Cancel Ralph
Stop an active Ralph Loop before completion.
How to Use
When you invoke this skill:
- First, check if a loop is active:
test -f .opencode/ralph-loop.local.md && echo "Loop is active" || echo "No active loop"
- If active, read the current iteration count:
grep '^iteration:' .opencode/ralph-loop.local.md
- Delete the state file to stop the loop:
rm -f .opencode/ralph-loop.local.md
- Inform the user of the cancellation and which iteration was reached.
When to Use
Use this command when:
- The task requirements have changed
- You want to restart with different parameters
- The loop appears stuck and you want manual control
- You need to work on something else
Note: Prefer completing tasks properly with <promise>DONE</promise> when possible.