Evidence snapshot reviewed Sep 5, 2026GitHub checked Aug 21, 2026
Source-reviewedStandalone SkillAutomation & AgentsTerminal Ui Profile

resume-session

Find active Ouroboros sessions after an MCP disconnect and re-attach to the right execution.

At a glance

What it does

Find active Ouroboros sessions after an MCP disconnect and re-attach to the right execution.

Capabilities
Automation & AgentsSession ManagementAgentsTerminal Ui

Before you choose it

Use this skill when an Ouroboros MCP connection drops and you need to recover work already in progress. It lists running or paused sessions from the configured EventStore, then points you to read-only event inspection, the interactive monitor, or a resume command using the original seed file.

Best for

Ouroboros users recovering a running or paused workflow after losing the MCP connection.

Common tasks

  • List the most recent active sessions after a disconnect.
  • Inspect persisted execution events without starting the MCP server.
  • Resume a selected session when the original seed file is available.

Permissions and data

Reads local Ouroboros session state from the configured EventStore.

Permissions
  • Read access to the configured Ouroboros EventStore.
Data handling
  • The session-listing command is described as read-only and does not create or modify EventStore data.
External services
  • No external service is required to list sessions; the MCP server need not be running.
Credentials
  • No credential requirement is declared in the supplied evidence.

Limitations

  • It only finds sessions still marked running or paused.
  • Resuming requires the original seed file.
  • Suggested resume and cancel commands can change execution state.

What DSHub checked

  • The pinned skill document describes read-only session listing and recovery commands.
  • The source commit is pinned and the skill document check passed.

What DSHub did not check

  • This candidate was not installed or executed by DSHub.
  • Runtime behavior, EventStore availability, and command compatibility were not independently verified.

Pinned install

Primary action

This standalone skill does not have a DSH Plugin install action. Use its source documentation for the delivery method.

Visit the source project

Maintainer source

Skill instructions

View at commit 03714ba
Maintainer-authored contentCaptured from skills/resume-session/SKILL.md on Sep 5, 2026. The text and repository-relative media are fixed to commit 03714ba44618 with content hash 2b19252b0931; provider-hosted badges may update independently. SKILL.md commands are upstream documentation; use the type-correct primary action above and verify it against this pinned source.

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-session shows the 20 most recent active sessions.
  • ooo resume-session --all shows every active session.

Instructions

When the user invokes this skill:

  1. Run the CLI command:

    ouroboros resume
    

    This reads the configured runtime EventStore directly — the MCP server does not need to be running.

  2. If sessions are listed, enter the number of the session you want to work with. The command prints both the session_id and the exec_id, along with the available re-attach paths.

  3. Pick the right re-attach path:

    • Inspect persisted events (read-only):

      ouroboros status execution <exec_id> --events
      

      Reads the configured EventStore without starting an MCP server.

    • Inspect interactively (read-only monitor):

      ouroboros tui monitor
      

      Launches 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 inspect
  • ouroboros run workflow --orchestrator --resume <session_id> <seed.yaml> — resume execution
  • ooo evaluate — evaluate results once the execution completes
  • ooo 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.

Operate deliberately

Install and manage

Prerequisites and target Profile

Target Terminal Ui Profile

Delivery Skill Files — https://raw.githubusercontent.com/Q00/ouroboros/03714ba446186423dcb46e25d12bd19c3a2e82f6/skills/resume-session/SKILL.md

Compatibility and access

Requires an Ouroboros runtime with its configured EventStore Not declared in supplied evidence

Review compatibility evidence

Risk facts

Data Access

Reads the configured runtime EventStore to find active sessions.

Evidence
Execution Control

The suggested follow-up commands can resume or cancel an execution; resuming requires the original seed file.

Evidence
Evidence and editorial reviewManifest, Bundle patch, distribution and freshness

Immutable evidence

Review status and source activity

Human approved

Approved for publication after reviewing the source-linked content and immutable release record. AI assisted with the draft; the publication decision was human.

Human reviewed Sep 5, 2026, 5:19 PM UTCGitHub facts last checked Sep 5, 2026, 4:31 PM UTC

No material source change has been recorded since this evidence baseline.

Next step

Compare ecosystem artifact types

Subscribe to material changes for resume-session