🧪 Skills
Cancel Dispatch Run
Cancel an active interactive dispatch run by run-id from slash command cancel. Use when user wants to stop a dispatchi or ralph-loop task immediately.
v0.1.1
Description
name: cancel description: Cancel an active interactive dispatch run by run-id from slash command cancel. Use when user wants to stop a dispatchi or ralph-loop task immediately.
Run {baseDir}/scripts/run_cancel.sh with user args.
Contract
- Format:
/cancel <run-id> - Also supports:
/cancel <project>/<run-id>
Local config
- optional env file:
${OPENCLAW_DISPATCH_ENV:-<workspace>/skills/dispatch.env.local} - supports OpenClaw
skills.entries.cancel.envinjection - script is self-contained
Security disclosure
- Reads only allowlisted env keys from
dispatch.env.localusing key=value parsing (nosource). - Sends tmux keystrokes only to the run session resolved from local metadata.
- Updates local run metadata (
status=cancelled,exit_code=130).
Behavior
- Resolve run-id to exactly one result directory.
- Send
/ralph-loop:cancel-ralphto that tmux session. - Perform hard-cancel by requesting
/exitand killing tmux session. - Return success or precise error.
Reviews (0)
Sign in to write a review.
No reviews yet. Be the first to review!
Comments (0)
No comments yet. Be the first to share your thoughts!