Skip to content
Back to skills

Resume Session

ASecurity

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

  • 6,395 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added August 31, 2026
ai-agentsshell

Works with

  • claude code
  • terminal
  • mcp

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add Q00/ouroboros --skill resume-session --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Resume Session?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Resume Session
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/q00-resume-session/badge)](https://www.skillsdirectory.com/skills/q00-resume-session)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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. 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.

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

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.