快速了解
它能做什么
可按 ID、从交互列表中或一次性停止卡住、孤立的 Ouroboros 执行。
本站提供的是中文说明,不代表该项目或 Plugin 自身提供中文界面;语言支持请以上游文档为准。
选择前先看
此 Ouroboros 技能通过取消 CLI 操作活跃执行。不带参数时会列出运行中和暂停的执行供选择;提供执行 ID 时会取消对应执行;使用 --all 时会取消所有运行中或暂停的执行。还可附加自定义取消原因。
适合谁
需要停止运行中或暂停中的 Ouroboros 执行的用户。
常见任务
- 按执行 ID 或会话 ID 取消已卡住的执行。
- 查看活跃执行并交互式选择一项取消。
- 在重置工作前停止全部运行中或暂停的执行。
权限与数据
通过 CLI 直接向已配置的 Ouroboros 事件存储写入取消事件。
权限- 运行 ouroboros cancel execution CLI 命令。
- 访问已配置的 Ouroboros 运行时事件存储。
- 读取活跃执行状态,以列出可取消的运行中或暂停会话。
- 为选定执行写入取消事件。
局限
- 仅能取消状态为运行中或暂停的执行;已完成、失败或已取消的会话会被跳过并给出警告。
- 需要已有已配置的运行时事件存储;若不存在,需先运行一次 Ouroboros 执行。
- 所提供证据未确认该技能已在此环境安装或实际执行。
DSHub 已核对
- 固定版本的技能文档定义了交互式、指定 ID 和 --all 三种取消方式。
- 固定源提交和已捕获的技能文档通过了所提供的硬性检查。
- 仓库许可证已识别为 MIT。
DSHub 未核对
- 此记录未验证运行时行为、CLI 是否可用以及事件存储配置。
固定版本安装
主要操作
这个独立 Skill没有 DSH Plugin 安装操作,请根据源码文档使用真实交付方式。
维护者原文
Skill 使用说明
name: cancel description: "Cancel stuck or orphaned executions" aliases: [kill, abort]
/ouroboros:cancel
Cancel stuck or orphaned executions by session ID, cancel all running sessions, or interactively pick from active executions.
Usage
/ouroboros:cancel # Interactive: list active, pick one
/ouroboros:cancel <execution_id> # Cancel specific execution
/ouroboros:cancel --all # Cancel all running executions
Trigger keywords: "cancel execution", "kill session", "stop running", "abort execution"
How It Works
This skill interacts directly with the event store (not via MCP tool) to emit cancellation events. It uses the CLI command under the hood.
Three modes:
- Bare (no args): Lists all active (running/paused) executions in a numbered table and prompts you to pick one to cancel
- Explicit (
execution_id): Cancels the specified execution immediately --allflag: Cancels every running or paused execution at once
Instructions
When the user invokes this skill:
Determine which mode to use:
- If the user provided an execution/session ID: Explicit mode
- If the user says "cancel all" or "cancel everything": --all mode
- If no ID given and not "all": Bare mode (interactive listing)
Run the appropriate CLI command using Bash:
Bare mode (interactive):
ouroboros cancel executionThis will list active executions and prompt for selection.
Explicit mode (specific execution):
ouroboros cancel execution <execution_id>Cancel all mode:
ouroboros cancel execution --allWith custom reason:
ouroboros cancel execution <execution_id> --reason "Stuck for 2 hours"Present results to the user:
- Show which executions were cancelled
- If bare mode, show the list and selection prompt
- If no active executions, inform the user
End with a next-step suggestion:
- After cancellation:
◆ Cancelled — use ooo status to verify, or ooo run to start fresh - No active sessions:
◆ No active executions — use ooo run to start a new one
- After cancellation:
State Transitions
Only sessions in running or paused status can be cancelled. Sessions that are already completed, failed, or cancelled are skipped with a warning.
Fallback (No Database)
If the configured runtime EventStore does not exist:
No Ouroboros database found at the configured runtime path.
Run an execution first with: /ouroboros:ouroboros-run
Example
User: cancel that stuck execution
> ouroboros cancel execution
Active Executions
┌───┬──────────────────┬──────────────┬─────────┬─────────┬──────────────┐
│ # │ Session ID │ Execution ID │ Seed ID │ Status │ Started │
├───┼──────────────────┼──────────────┼─────────┼─────────┼──────────────┤
│ 1 │ sess-abc-123 │ exec-001 │ seed-42 │ running │ 2024-01-15 │
│ 2 │ sess-def-456 │ exec-002 │ seed-99 │ paused │ 2024-01-14 │
└───┴──────────────────┴──────────────┴─────────┴─────────┴──────────────┘
Enter number to cancel (1-2), or 'q' to quit: 1
Cancel session sess-abc-123 (running)? [y/N]: y
✓ Cancelled execution: sess-abc-123
◆ Cancelled — use `ooo status` to verify, or `ooo run` to start fresh
RFC #1392 State Breadcrumb Footer
Your final response MUST end with exactly one breadcrumb footer line:
◆ <current state> → next: <recommended action>
Derive <current state> from live session state via ouroboros_session_status when that MCP projection is available; otherwise derive it from this skill's actual outcome. Never use a linear Step N of M footer because Ouroboros is an evolutionary loop. When the next action is genuinely a choice, list 2-3 honest options in the next: clause. The breadcrumb line must be the last line of the response.
有意识地管理
安装与管理
前置条件与目标 Profile
目标: codex Profile
交付方式: Skill 文件 — https://raw.githubusercontent.com/Q00/ouroboros/03714ba446186423dcb46e25d12bd19c3a2e82f6/skills/cancel/SKILL.md。
兼容性与访问范围
Ouroboros CLI and configured runtime EventStore required: Not declared in supplied evidence。
风险事实
Cancellation emits events directly to the event store and can cancel all active executions.
证据 ↗证据与编辑审查Manifest、Bundle patch、分发与新鲜度
不可变证据
审查状态与源码活动
在核对来源内容和不可变发布记录后,已由人工批准发布。AI 参与了内容草稿生成,最终发布决定由人工完成。
人工审查于 2026/9/5 UTC 17:17。GitHub 事实核对日期: 2026/9/5 UTC 16:31。
自当前证据基线以来,没有记录到重要源码变化。