跳至主要内容
小龙虾小龙虾AI
🤖

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.

下载109
星标0
版本0.1.1
开发工具
安全通过
💬Prompt

技能说明


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.env injection
  • script is self-contained

Security disclosure

  • Reads only allowlisted env keys from dispatch.env.local using key=value parsing (no source).
  • Sends tmux keystrokes only to the run session resolved from local metadata.
  • Updates local run metadata (status=cancelled, exit_code=130).

Behavior

  1. Resolve run-id to exactly one result directory.
  2. Send /ralph-loop:cancel-ralph to that tmux session.
  3. Perform hard-cancel by requesting /exit and killing tmux session.
  4. Return success or precise error.

如何使用「Cancel Dispatch Run」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「Cancel Dispatch Run」技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能