Agent skill

Resume Session

by Q00 in Q00/ouroboros

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

MITAuto-check passedAgent Workflows

Install Resume Session

skills CLI
$ npx skills add Q00/ouroboros --skill resume-session -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Q00/ouroboros resume-session --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Q00/ouroboros.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/resume-session .claude/skills/resume-session && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
resume-session
GitHub stars
6.2k
Token cost
~1.2k tokens
SKILL.md length
423 words
Files
1
Skills in repo
23
Repo updated
First seen
Licence
MIT

At a glance

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

  • Works in 3 steps: Run the CLI command → If sessions are listed, enter the number… → Pick the right re-attach path
  • Tasks that involve Session handoff
  • SKILL.md covers Usage, How It Works, Instructions and Exit codes, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Resume Session is an agent skill from Q00/ouroboros. List in-flight Ouroboros sessions and show the commands needed to re-attach after MCP disconnect

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering Session handoff. It works with Model Context Protocol. The repository describes itself as: Agent OS: the agent gets smarter on its own. We just hold the line: Interview-gated, staged evaluation, budgeted evolution loop. MCP server, 14 runtimes: Claude Code, Codex CLI… The licence is MIT.

When your agent uses it

  • Tasks that involve Session handoff

Example prompts

  • “/resume-session”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Run the CLI command
  2. If sessions are listed, enter the number of the session you want to work
  3. Pick the right re-attach path

What it can do on your machine

Read from SKILL.md and the folder at commit f587795. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Resume Session loads about 1.2k tokens when it runs. Until then it costs about 28 tokens; SKILL.md has 423 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~28
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Q00/ouroboros at commit f587795, republished under its MIT licence (© Q00). 423 words, ~1,163 tokens.

Download SKILL.mdSave it as .claude/skills/resume-session/SKILL.md (or your agent's skills folder).
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

CodeMeaning
0Success — sessions listed, or no sessions found
1Invalid user selection (non-numeric or out-of-range)
2EventStore exists but could not be opened or read
Show full SKILL.md (163 more words)Show less

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

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.

© Q00, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/resume-session of Q00/ouroboros.

Open the folder on GitHubat commit f587795

Compare with similar skills

Resume Session next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Resume Session compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Resume Session this skillQ00/ouroboros6.2k—~1.2kAutomated safety check: PassMIT
MemPalace Task HandoffMemPalace/mempalace59k—~1.9kAutomated safety check: PassMIT
Memori MCP Memory UsageMemoriLabs/Memori17k—~3.8kAutomated safety check: PassMIT
Ourmemourmem/omem1741 repos~3.4kAutomated safety check: PassCustom licence
Context RecoverySakuraByteCore/codexmate354—~964Automated safety check: PassApache-2.0
Agent Manager Fleet TUIYoanWai/agent-manager578—~1kAutomated safety check: PassApache-2.0

Similar skills

  • MemPalace Task Handoff

    MemPalace/mempalace

    Creates, hands off, claims, executes and closes agent tasks through the MemPalace logstream, with approval of the exact task before it is recorded.

    59k GitHub stars~1.9k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Memori MCP Memory Usage

    MemoriLabs/Memori

    Teaches an MCP-connected agent when and how to call Memori's recall, summary, compaction, augmentation, feedback and quota tools to keep context across sessions.

    17k GitHub stars~3.8k tokensUpdated 6 days ago
    Agent WorkflowsAuto-check passed
  • Ourmem

    ourmem/omem

    Shared memory that never forgets. An agent skill from ourmem/omem.

    174 GitHub starsUsed in 1 repo~3.4k tokens
    Agent WorkflowsAuto-check passed
  • Context Recovery

    SakuraByteCore/codexmate

    Recovers project handoff context from local Codex, Claude Code, Gemini, CodeBuddy, and codexmate-derived sessions.

    354 GitHub stars~964 tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Agent Manager Fleet TUI

    YoanWai/agent-manager

    Runs several coding-agent CLIs as real tmux sessions in one terminal UI, color-coded by whether each is working, waiting, idle or blocked.

    578 GitHub stars~1k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Claude Code Auto-Capture Hook

    NateBJones-Projects/OB1

    Fires a Stop hook that captures a Claude Code session transcript automatically when the session ends without a verbal wrap-up.

    4.7k GitHub stars~1.3k tokensUpdated yesterday
    Agent WorkflowsAuto-check: notes

More from Q00/ouroboros

All 23 skills in this repo
  • Triages and works through GitHub issues and pull requests in the Q00/ouroboros repo as a maintainer, within a stated review boundary and clear limits on what it may change.

    6.2k GitHub stars~1.7k tokensUpdated 2 days ago
    Auto-check passed
  • Runs a guided product-manager interview that classifies each question automatically and produces a Product Requirements Document.

    6.2k GitHub stars~5.7k tokensUpdated 2 days ago
    Auto-check passed
  • Scans a directory for existing git repositories and worktrees, then registers and manages which ones serve as default context during interviews.

    6.2k GitHub stars~2.2k tokensUpdated 2 days ago
    Auto-check passed
  • Scores an agent's finished work with a three-stage pipeline: free mechanical checks, an advisory semantic review, and an optional multi-model consensus vote.

    6.2k GitHub stars~2.2k tokensUpdated 2 days ago
    Auto-check passed
  • Starts, monitors or rewinds an evolutionary development loop that refines an ontology and acceptance criteria generation by generation until it converges, using the Ouroboros MCP tools.

    6.2k GitHub stars~3.2k tokensUpdated 2 days ago
    Auto-check passed
  • Opens or drives the Ouroboros settings GUI, picking a browser, TUI or chat-based approach depending on whether the user can reach a browser window.

    6.2k GitHub stars~1.2k tokensUpdated 2 days ago
    Auto-check passed

Categories

Questions about Resume Session

What does Resume Session do?

List in-flight Ouroboros sessions and show the commands needed to re-attach after MCP disconnect. Resume Session is an agent skill from Q00/ouroboros.

When should I use Resume Session?

Resume Session fits situations like: tasks that involve Session handoff.

How do I install Resume Session in Claude Code?

Run `npx skills add Q00/ouroboros --skill resume-session -a claude-code`. Or copy the skill folder (skills/resume-session in Q00/ouroboros) into .claude/skills/resume-session in your project. Claude Code loads it when a task matches its description.

How do I install Resume Session in Codex?

Run `npx skills add Q00/ouroboros --skill resume-session -a codex`. Or copy the skill folder (skills/resume-session in Q00/ouroboros) into .agents/skills/resume-session in your project. Codex loads it when a task matches its description.

Can I use Resume Session in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Q00/ouroboros --skill resume-session -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/resume-session, .gemini/skills/resume-session, .github/skills/resume-session and .opencode/skills/resume-session in your project.

What does Resume Session need to run?

SKILL.md names no scripts, command-line tools or credentials: Resume Session is instructions for the agent only.

Does Resume Session access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Resume Session safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Resume Session use?

Resume Session is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Resume Session use?

About 1.2k tokens (SKILL.md is roughly 4.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Resume Session?

Skills that share tags, products or a category with Resume Session: MemPalace Task Handoff (MemPalace/mempalace, 59k stars), Memori MCP Memory Usage (MemoriLabs/Memori, 17k stars), Ourmem (ourmem/omem, 174 stars) and Context Recovery (SakuraByteCore/codexmate, 354 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Resume Session?

Q00 (a GitHub user) maintains it in Q00/ouroboros, which has 6,194 GitHub stars. The repository holds 23 skills in this directory. The repository was last updated on October 7, 2026.

Source: Q00/ouroboros on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.