Resume Session
Q00/ouroboros
List in-flight Ouroboros sessions and show the commands needed to re-attach after MCP disconnect
Find and resume interrupted Copilot CLI sessions using sessionstore queries
$ npx skills add microsoft/waza --skill session-recovery -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install microsoft/waza session-recovery --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/microsoft/waza.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.copilot/skills/session-recovery .claude/skills/session-recovery && rm -rf skills-srcUse ~/.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/
Install the "session-recovery" agent skill from https://github.com/microsoft/waza/tree/main/.copilot/skills/session-recovery into .claude/skills/session-recovery/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "session-recovery", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/microsoft/waza/tree/main/.copilot/skills/session-recoveryType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add microsoft/waza --skill session-recovery -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install microsoft/waza session-recovery --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/microsoft/waza.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.copilot/skills/session-recovery .agents/skills/session-recovery && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "session-recovery" agent skill from https://github.com/microsoft/waza/tree/main/.copilot/skills/session-recovery into .agents/skills/session-recovery/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "session-recovery", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add microsoft/waza --skill session-recovery -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install microsoft/waza session-recovery --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/microsoft/waza.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.copilot/skills/session-recovery .cursor/skills/session-recovery && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "session-recovery" agent skill from https://github.com/microsoft/waza/tree/main/.copilot/skills/session-recovery into .cursor/skills/session-recovery/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "session-recovery", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/microsoft/waza.git --path .copilot/skills/session-recovery--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add microsoft/waza --skill session-recovery -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install microsoft/waza session-recovery --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/microsoft/waza.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.copilot/skills/session-recovery .gemini/skills/session-recovery && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "session-recovery" agent skill from https://github.com/microsoft/waza/tree/main/.copilot/skills/session-recovery into .gemini/skills/session-recovery/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "session-recovery", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install microsoft/waza session-recoveryInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add microsoft/waza --skill session-recovery -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/microsoft/waza.git skills-src && mkdir -p .github/skills && cp -r skills-src/.copilot/skills/session-recovery .github/skills/session-recovery && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "session-recovery" agent skill from https://github.com/microsoft/waza/tree/main/.copilot/skills/session-recovery into .github/skills/session-recovery/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "session-recovery", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add microsoft/waza --skill session-recovery -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install microsoft/waza session-recovery --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/microsoft/waza.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.copilot/skills/session-recovery .opencode/skills/session-recovery && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "session-recovery" agent skill from https://github.com/microsoft/waza/tree/main/.copilot/skills/session-recovery into .opencode/skills/session-recovery/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "session-recovery", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
session-recoveryFind and resume interrupted Copilot CLI sessions using sessionstore queries
Session Recovery is an agent skill from microsoft/waza, published by the product's own GitHub organization. Find and resume interrupted Copilot CLI sessions using sessionstore queries
Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
The repository describes itself as: CLI / Framework for Agent Skills - create, test, measure and improve skill quality and effectiveness. The licence is MIT.
7 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 774df00. It shows what the files ask for, not the result of running them.
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.
Shell commands in SKILL.md call:
ghFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use gh, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Session Recovery loads about 1.3k tokens when it runs. Until then it costs about 23 tokens; SKILL.md has 371 words of instructions outside code blocks.
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.
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.
The full file from microsoft/waza at commit 774df00, republished under its MIT licence (© microsoft). 371 words, ~1,286 tokens.
.claude/skills/session-recovery/SKILL.md (or your agent's skills folder).Squad agents run in Copilot CLI sessions that can be interrupted — terminal crashes, network drops, machine restarts, or accidental window closes. When this happens, in-progress work may be left in a partially-completed state: branches with uncommitted changes, issues marked in-progress with no active agent, or checkpoints that were never finalized.
Copilot CLI stores session history in a SQLite database called session_store (read-only, accessed via the sql tool with database: "session_store"). This skill teaches agents how to query that store to detect interrupted sessions and resume work.
Query the sessions table filtered by time window. Include the last checkpoint to understand where the session stopped:
SELECT
s.id,
s.summary,
s.cwd,
s.branch,
s.updated_at,
(SELECT title FROM checkpoints
WHERE session_id = s.id
ORDER BY checkpoint_number DESC LIMIT 1) AS last_checkpoint
FROM sessions s
WHERE s.updated_at >= datetime('now', '-24 hours')
ORDER BY s.updated_at DESC;Automated agents (monitors, keep-alive, heartbeat) create high-volume sessions that obscure human-initiated work. Exclude them:
SELECT s.id, s.summary, s.cwd, s.updated_at,
(SELECT title FROM checkpoints
WHERE session_id = s.id
ORDER BY checkpoint_number DESC LIMIT 1) AS last_checkpoint
FROM sessions s
WHERE s.updated_at >= datetime('now', '-24 hours')
AND s.id NOT IN (
SELECT DISTINCT t.session_id FROM turns t
WHERE t.turn_index = 0
AND (LOWER(t.user_message) LIKE '%keep-alive%'
OR LOWER(t.user_message) LIKE '%heartbeat%')
)
ORDER BY s.updated_at DESC;Use the search_index FTS5 table for keyword search. Expand queries with synonyms since this is keyword-based, not semantic:
SELECT DISTINCT s.id, s.summary, s.cwd, s.updated_at
FROM search_index si
JOIN sessions s ON si.session_id = s.id
WHERE search_index MATCH 'auth OR login OR token OR JWT'
AND s.updated_at >= datetime('now', '-48 hours')
ORDER BY s.updated_at DESC
LIMIT 10;SELECT s.id, s.summary, s.updated_at,
(SELECT title FROM checkpoints
WHERE session_id = s.id
ORDER BY checkpoint_number DESC LIMIT 1) AS last_checkpoint
FROM sessions s
WHERE s.cwd LIKE '%my-project%'
AND s.updated_at >= datetime('now', '-48 hours')
ORDER BY s.updated_at DESC;Before resuming, inspect what the session was doing:
-- Conversation turns
SELECT turn_index, substr(user_message, 1, 200) AS ask, timestamp
FROM turns WHERE session_id = 'SESSION_ID' ORDER BY turn_index;
-- Checkpoint progress
SELECT checkpoint_number, title, overview
FROM checkpoints WHERE session_id = 'SESSION_ID' ORDER BY checkpoint_number;
-- Files touched
SELECT file_path, tool_name
FROM session_files WHERE session_id = 'SESSION_ID';
-- Linked PRs/issues/commits
SELECT ref_type, ref_value
FROM session_refs WHERE session_id = 'SESSION_ID';Find sessions that were working on issues but may not have completed:
SELECT DISTINCT s.id, s.branch, s.summary, s.updated_at,
sr.ref_type, sr.ref_value
FROM sessions s
JOIN session_refs sr ON s.id = sr.session_id
WHERE sr.ref_type = 'issue'
AND s.updated_at >= datetime('now', '-48 hours')
ORDER BY s.updated_at DESC;Cross-reference with gh issue list --label "status:in-progress" to find issues that are marked in-progress but have no active session.
Once you have the session ID:
# Resume directly
copilot --resume SESSION_IDRecovering from a crash during PR creation:
Finding yesterday's work on a feature:
MATCH with special characters without escaping — wrap paths in double quotes© microsoft, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .copilot/skills/session-recovery of microsoft/waza.
Open the folder on GitHubat commit 774df00
We found 4 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 4 other GitHub owners. This page covers the copy in microsoft/waza, which our catalogue first saw on October 7, 2026.
Session Recovery 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Session Recovery this skillmicrosoft/waza | 1.4k | 4 repos | ~1.3k | Automated safety check: Pass | MIT | |
| Resume SessionQ00/ouroboros | 6.2k | — | ~1.2k | Automated safety check: Pass | MIT | |
| Session Timeout Recoverythedaviddias/Front-End-Checklist | 74k | — | ~543 | Automated safety check: Pass | MIT | |
| Session Start Recoverykunchenguid/firstmate | 7.7k | — | ~1.8k | Automated safety check: Pass | MIT | |
| Session RecoveryLeoYeAI/openclaw-master-skills | 2.2k | — | ~2.4k | Automated safety check: Pass | MIT | |
| Resume Sessionjosstei/maestro-orchestrate | 465 | — | ~388 | Automated safety check: Notes | Apache-2.0 |
Q00/ouroboros
List in-flight Ouroboros sessions and show the commands needed to re-attach after MCP disconnect
thedaviddias/Front-End-Checklist
A skill your agent uses when reviewing authenticated user flows or long forms.
kunchenguid/firstmate
Load when the session-start digest reports unfinished checks, actionable diagnostics, recovery inputs, or output requiring interpretation.
LeoYeAI/openclaw-master-skills
AI会话管理与优化系统。解决会话上下文限制问题,通过三级文档系统、自动化脚本和上下文压缩实现快速恢复。包含:STATUS.md快速索引、memory详细记录、自动更新脚本、上下文压缩策略、信息识别机制。适用于长期AI项目、多任务并行、需要高效会话恢复的场景。触发词:会话恢复、session recovery、上下文压缩、快速恢复、会话管理。
josstei/maestro-orchestrate
Resume an interrupted Maestro session using the existing active-session file and shared phase tracking
reactive-resume/reactive-resume
Builds resumes as valid JSON for the open-source Reactive Resume app by interviewing you, and can track job applications through its MCP tools.
microsoft/waza
Shows a categorized, interactive menu of common Squad operations, such as install, upgrade and team management, and collects arguments before running anything.
microsoft/waza
Shared collaboration rules for a team of squad agents covering worktree awareness, writing decisions to an inbox, cross-agent requests and reviewer lockout.
microsoft/waza
Walks through releasing a new version of the waza azd extension: changelog from commits, semver bump with your confirmation, and a release PR.
microsoft/waza
Dev-first branching model for the Squad project: feature work branches from dev, issue branches follow a naming rule and parallel issues use git worktrees.
microsoft/waza
Evaluates agent skills with a Go CLI that runs YAML-defined benchmarks, compares runs and scores the quality of SKILL.md frontmatter.
microsoft/waza
Reviewer rejection workflow and strict lockout semantics. An agent skill from microsoft/waza.
Find and resume interrupted Copilot CLI sessions using sessionstore queries. Session Recovery is an agent skill from microsoft/waza, published by the product's own GitHub organization.
Run `npx skills add microsoft/waza --skill session-recovery -a claude-code`. Or copy the skill folder (.copilot/skills/session-recovery in microsoft/waza) into .claude/skills/session-recovery in your project. Claude Code loads it when a task matches its description.
Run `npx skills add microsoft/waza --skill session-recovery -a codex`. Or copy the skill folder (.copilot/skills/session-recovery in microsoft/waza) into .agents/skills/session-recovery in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add microsoft/waza --skill session-recovery -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/session-recovery, .gemini/skills/session-recovery, .github/skills/session-recovery and .opencode/skills/session-recovery in your project.
Going by SKILL.md and its folder, Session Recovery needs the command-line tools its instructions call (gh).
SKILL.md contains no URLs. Its commands use gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
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.
Session Recovery is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.3k tokens (SKILL.md is roughly 5.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Session Recovery: Resume Session (Q00/ouroboros, 6.2k stars), Session Timeout Recovery (thedaviddias/Front-End-Checklist, 74k stars), Session Start Recovery (kunchenguid/firstmate, 7.7k stars) and Session Recovery (LeoYeAI/openclaw-master-skills, 2.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
microsoft (a GitHub organization, an official publisher) maintains it in microsoft/waza, which has 1,403 GitHub stars. The repository holds 16 skills in this directory. The repository was last updated on October 6, 2026.
Source: microsoft/waza on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.