跳到正文
Skillpedia
智能体6.3k · #14357

resume-session

它能做什么

这项技能查找在意外断开连接后仍在运行或已暂停的 Ouroboros 会话。适合在运行中途断开连接、想接着继续的人。

适用场景

  • ✓当 Ouroboros 连接在运行中途断开时。
  • ✓当你想查看哪些会话仍在运行或已暂停的时候。
  • ✓当你想获取恢复已暂停会话的命令时。

技能链接

https://github.com/Q00/ouroboros/blob/main/skills/resume-session/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/Q00/ouroboros/blob/main/skills/resume-session/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我的 Ouroboros 连接在运行过程中断开了。请显示哪些会话仍然开着,以及如何重新连接。”

每周 5 个新技能,1 分钟读完。

工作原理

这项技能读取已保存的会话记录,不做任何更改,并列出正在运行或已暂停的会话。然后它会显示检查会话或恢复会话的命令。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

/ouroboros:resume-session

Recover in-flight Ouroboros sessions after an unexpected MCP server disconnect. The name avoids shadowing Claude Code's built-in /resume.

ooo resume-session [--all]
/ouroboros:resume-session

Instructions

  1. Run with the active runtime's run_shell capability:

    ouroboros resume --list
    

    It reads the configured EventStore directly and read-only (no MCP server needed, nothing created or written) and lists running or paused sessions: the 20 most recent, or all with --all. --list prints the table and exits without the interactive prompt, which aborts when no terminal is attached. Exit code 2 means the EventStore exists but could not be read.

  2. If sessions are listed, show the table and ask which session to work with (active runtime's ask_user capability). Each row carries the session_id, exec_id, and Seed id used below.

  3. Give the matching re-attach path:

    • Inspect persisted events (read-only, no MCP server):
      ouroboros status execution <exec_id> --events
      
    • Inspect interactively (read-only monitor; pick the session in the TUI):
      ouroboros tui monitor
      
    • Resume execution (needs the original Seed file; --resume takes the session_id):
      ouroboros run workflow --orchestrator --resume <session_id> <seed.yaml>
      

    Afterwards: ooo evaluate once the execution completes, or ooo cancel <session_id> if it is stuck.

If it reports "No in-flight sessions found", the execution completed, failed, or was cancelled, or the EventStore was never created; ouroboros tui monitor browses past sessions.

RFC #1392 State Breadcrumb Footer

End the final response with exactly one line ◆ <current state> → next: <recommended action>. Derive the state from live session state via ouroboros_session_status when available, otherwise from this skill's actual outcome. Never use a linear Step N of M footer; when the next step is a real choice, list 2-3 options.

常见问题

它会更改我的会话吗?

不会。列出操作是只读的,不会创建或写入任何内容。

默认显示多少个会话?

默认显示最近的 20 个,你也可以要求显示全部。

恢复时需要原始规格吗?

需要。恢复会话需要原始的规格文件。

详情

作者的原始描述

List in-flight Ouroboros sessions and show the commands needed to re-attach after MCP disconnect

repo: Q00/ouroboros

热度

GitHub 星标
6.3k
排名
#14357
许可证
MIT
更新时间
2026/11/1

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能