Chuyển đến nội dung
Skillpedia
Agent6.3k · #14357

resume-session

Skill này làm gì

Skill tìm các phiên Ouroboros vẫn đang chạy hoặc bị tạm dừng sau khi mất kết nối bất ngờ. Skill dành cho người bị ngắt kết nối giữa chừng một lần chạy và muốn tiếp tục lại.

Khi nào nên dùng

  • ✓Khi kết nối Ouroboros bị ngắt giữa một lần chạy.
  • ✓Khi bạn muốn xem phiên nào vẫn đang chạy hoặc đang bị tạm dừng.
  • ✓Khi bạn muốn có lệnh để tiếp tục một phiên đang tạm dừng.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/Q00/ouroboros/blob/main/skills/resume-session/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Kết nối Ouroboros của tôi bị ngắt trong lúc chạy. Hãy cho tôi xem phiên nào còn mở và cách kết nối lại.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill đọc các bản ghi phiên đã lưu mà không thay đổi gì và liệt kê các phiên đang chạy hoặc bị tạm dừng. Sau đó skill hiển thị các lệnh để kiểm tra một phiên hoặc tiếp tục phiên đó.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

/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.

Câu hỏi thường gặp

Skill có thay đổi phiên của bạn không?

Không. Việc liệt kê chỉ đọc và không tạo hay ghi gì.

Mặc định skill hiển thị bao nhiêu phiên?

Mặc định là 20 phiên gần nhất, và bạn có thể yêu cầu xem tất cả.

Để tiếp tục bạn có cần đặc tả gốc không?

Có. Tiếp tục cần tệp đặc tả gốc.

Chi tiết

Mô tả gốc của tác giả

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

repo: Q00/ouroboros

Độ phổ biến

Sao GitHub
6.3k
Vị trí xếp hạng
#14357
Giấy phép
MIT
Cập nhật
1/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự