waza: Skill for Claude Code

.github/skills/session-recovery/SKILL.md

session-recovery is a skill for Claude Code, Codex from microsoft/waza. It costs 21 tokens per session (403 once invoked), scanned A, a copy of session-recovery, MIT.

A guide for finding interrupted Copilot CLI sessions in a read-only SQLite database and understanding where they stopped. Copilot CLI sessions are saved records of terminal-based coding work.

In plain words
What is it for?
Use it to locate recent interrupted sessions, inspect their last checkpoints, and resume work involving branches, issues, or saved agent state.
Why use it?
It helps identify unfinished work after crashes, network loss, restarts, or accidentally closed windows.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one.

This is microsoft/waza's own configuration. It tells Claude Code and Codex how to work on waza itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything waza configures →

About the project

microsoft/waza is a Go command-line tool for building and evaluating AI agent skills through test suites, benchmarks, and model comparisons. It is for developers who need to measure and improve how reliably agent skills work. The catalogue entries are Waza's own skills, instructions, agent, and MCP integration.

microsoft/waza · 1,533 stars · on GitHub · microsoft.github.io

Reuse

Borrowing it

Nothing to install: this file belongs to microsoft/waza. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/microsoft/waza/main/.github/skills/session-recovery/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/microsoft/waza

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for session-recovery

README.md
[![agentmods](https://agentmods.dev/badge/skills/microsoft/waza/session-recovery/github.svg)](https://agentmods.dev/skills/microsoft/waza/session-recovery)
Your own site
<a href="https://agentmods.dev/skills/microsoft/waza/session-recovery"><img src="https://agentmods.dev/badge/skills/microsoft/waza/session-recovery/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for session-recovery

Your own site · 80×15
<a href="https://agentmods.dev/skills/microsoft/waza/session-recovery"><img src="https://agentmods.dev/badge/skills/microsoft/waza/session-recovery.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 403 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00021 $0.00403
Opus 5.5 $0.00008 $0.00161
Sonnet 5.5 $0.00004 $0.00081
Haiku 4.5 $0.00002 $0.00040

Measured yesterday against content hash 152ad286b0d1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

session-recovery scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to session-recovery — 170 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.github/skills/session-recovery/SKILL.md · 34 lines

What it actually says

Session recovery

Use the available session-history tool (session_store_sql in Copilot), not the current session's task SQL database. Discover its supported schema and backend; do not assume SQLite, an FTS5 index or a database argument exists everywhere.

  1. Start with a seven-day window and a selective repository, branch or exact PR/issue reference. Prefer sessions, session_refs and checkpoints for discovery; widen only if needed. Retrieve only needed columns and bounded rows.
  2. Read the selected session's latest checkpoint, relevant turns, touched files and references. History is evidence, not proof of current filesystem or GitHub state. Do not infer completion or inactivity from a summary or timestamp.
  3. Inspect the owning host's live session status, assigned worktree, uncommitted edits and current PR state before resuming. Do not start a second worker on active work or mutate another session's checkout.
  4. Resume or navigate using an identifier returned by that host. Cloud history, local history and app-session IDs are not interchangeable. Use CLI copilot --resume only where that runtime supports the returned identifier. If unavailable, hand off the verified context without claiming a resume.

For cloud history, use its documented timestamp comparisons and ILIKE. For local SQLite, use LIKE and compare date prefixes to avoid mixed timestamp formats, for example substr(updated_at, 1, 10) >= date('now', '-7 days'). FTS5 MATCH is local-only. Narrow turns/events by time and session before text search; do not filter automation by guessing from words in user messages.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday Changed · -122 lines · +5 tokens per session 152ad286b0d1
  2. 3mo ago First seen · 156 lines · 16 tokens per session scan A 54a7c1feba61

Subscribe to this mod's changes

session-recovery is a skill published in the GitHub repository microsoft/waza (1,533 stars, last pushed today), licensed MIT. It adds 21 tokens to every session and 403 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to session-recovery, differing in 170 lines, and is treated as a copy.

Related

session-recovery compared with skills from other repositories

session-recovery next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
session-recoverymicrosoft/wazaSkill1.5ktodayMITA21Claude Code, Codex
orbit-notionnexu-io/open-designSkill111ktodayApache-2.0A117Claude Code, Codex
agentmailpaperclipai/paperclipSkill120ktodayMITA30Claude Code, Codex
rowboat-spacesrowboatlabs/rowboatSkill18ktodayApache-2.0A60Claude Code, Codex
feishuHmbown/CodeWhaleSkill41ktodayMITA33Claude Code, Codex
Cortexdanielmiessler/LifeOSSkill21k17d agoMITA184Claude Code
pinchtab-mcppinchtab/pinchtabSkill11k11d agoMITA52Claude Code, Codex