快速了解
它能做什么
在 MCP 断开后查找活跃的 Ouroboros 会话,并重新连接到相应执行。
本站提供的是中文说明,不代表该项目或 Plugin 自身提供中文界面;语言支持请以上游文档为准。
选择前先看
当 Ouroboros 的 MCP 连接意外中断、需要找回进行中的工作时使用此技能。它从已配置的 EventStore 中列出运行中或已暂停的会话,并引导你只读查看事件、打开交互式监视器,或使用原始 seed 文件恢复执行。
适合谁
在 MCP 连接中断后,需要恢复运行中或已暂停工作流的 Ouroboros 用户。
常见任务
- 在连接中断后列出最近的活跃会话。
- 无需启动 MCP 服务器即可只读查看已持久化的执行事件。
- 在持有原始 seed 文件时恢复选定会话。
权限与数据
读取已配置的 Ouroboros EventStore 中的本地会话状态。
权限- 需要读取已配置的 Ouroboros EventStore。
- 文档说明会话列出命令为只读,不会创建或修改 EventStore 数据。
- 列出会话无需外部服务;MCP 服务器无需运行。
- 提供的证据未声明凭据要求。
局限
- 只能找到仍处于运行中或暂停状态的会话。
- 恢复执行需要原始 seed 文件。
- 建议的恢复和取消命令可能改变执行状态。
DSHub 已核对
- 固定版本的技能文档描述了只读会话列出和恢复命令。
- 源码提交已固定,且技能文档检查已通过。
DSHub 未核对
- DSHub 未安装或执行此候选项。
- 未独立验证运行时行为、EventStore 可用性或命令兼容性。
固定版本安装
主要操作
这个独立 Skill没有 DSH Plugin 安装操作,请根据源码文档使用真实交付方式。
维护者原文
Skill 使用说明
name: resume-session description: "List in-flight Ouroboros sessions and show the commands needed to re-attach after MCP disconnect"
/ouroboros:resume-session
Recover in-flight Ouroboros sessions after an unexpected MCP server disconnect.
Claude Code reserves /resume for its built-in session picker. This skill
intentionally uses resume-session so it does not shadow that native command.
Usage
ooo resume-session
ooo resume-session --all
/ouroboros:resume-session
Trigger keywords: "in-flight Ouroboros sessions", "re-attach", "mcp disconnected", "lost Ouroboros execution"
How It Works
ooo resume-session reads the EventStore directly (no MCP server required) and lists
every session that is still in a running or paused state. The command is
strictly read-only — it never creates the data directory, never writes
schema, and never appends events. Its job is to surface the identifiers you
need to re-attach.
ooo resume-sessionshows the 20 most recent active sessions.ooo resume-session --allshows every active session.
Instructions
When the user invokes this skill:
Run the CLI command:
ouroboros resumeThis reads the configured runtime EventStore directly — the MCP server does not need to be running.
If sessions are listed, enter the number of the session you want to work with. The command prints both the
session_idand theexec_id, along with the available re-attach paths.Pick the right re-attach path:
Inspect persisted events (read-only):
ouroboros status execution <exec_id> --eventsReads the configured EventStore without starting an MCP server.
Inspect interactively (read-only monitor):
ouroboros tui monitorLaunches the TUI and lets you pick the session to inspect.
Resume execution (requires the original seed file):
ouroboros run workflow --orchestrator --resume <session_id> <seed.yaml>
Exit codes
| Code | Meaning |
|---|---|
0 |
Success — sessions listed, or no sessions found |
1 |
Invalid user selection (non-numeric or out-of-range) |
2 |
EventStore exists but could not be opened or read |
Fallback (No sessions found)
If the command reports "No in-flight sessions found", the execution either completed, failed, was cancelled, or the EventStore has never been created. To browse historical sessions interactively, use the TUI monitor:
ouroboros tui monitor
Example
User: ooo resume-session
┌─────────────────────── In-Flight Sessions ───────────────────────┐
│ # Session ID Execution ID Status Started │
│ 1 sess-abc123 exec-xyz789 running 2026-04-15 │
└───────────────────────────────────────────────────────────────────┘
Enter number to re-attach (1-1), or 'q' to quit: 1
╭─ Re-attach ────────────────────────────────────────────────────────────────╮
│ Session ID: sess-abc123 │
│ Execution ID: exec-xyz789 │
│ │
│ Inspect (read-only interactive monitor): │
│ ouroboros tui monitor │
│ │
│ Resume execution (requires the original seed file): │
│ ouroboros run workflow --orchestrator --resume sess-abc123 seed-001 │
╰────────────────────────────────────────────────────────────────────────────╯
Next Steps
After you have the identifiers:
ouroboros tui monitor— launch the TUI and pick the session to inspectouroboros run workflow --orchestrator --resume <session_id> <seed.yaml>— resume executionooo evaluate— evaluate results once the execution completesooo cancel execution <exec_id>— cancel if the session is stuck
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
目标: 终端 UI Profile
交付方式: Skill 文件 — https://raw.githubusercontent.com/Q00/ouroboros/03714ba446186423dcb46e25d12bd19c3a2e82f6/skills/resume-session/SKILL.md。
兼容性与访问范围
Requires an Ouroboros runtime with its configured EventStore: Not declared in supplied evidence。
风险事实
证据与编辑审查Manifest、Bundle patch、分发与新鲜度
不可变证据
审查状态与源码活动
在核对来源内容和不可变发布记录后,已由人工批准发布。AI 参与了内容草稿生成,最终发布决定由人工完成。
人工审查于 2026/9/5 UTC 17:19。GitHub 事实核对日期: 2026/9/5 UTC 16:31。
自当前证据基线以来,没有记录到重要源码变化。