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.
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.
curl -O https://raw.githubusercontent.com/microsoft/waza/main/.github/skills/session-recovery/SKILL.mdgit clone --depth 1 https://github.com/microsoft/wazaWrote 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.
[](https://agentmods.dev/skills/microsoft/waza/session-recovery)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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.
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.
- Start with a seven-day window and a selective repository, branch or exact
PR/issue reference. Prefer
sessions,session_refsandcheckpointsfor discovery; widen only if needed. Retrieve only needed columns and bounded rows. - 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.
- 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.
- Resume or navigate using an identifier returned by that host. Cloud history,
local history and app-session IDs are not interchangeable. Use CLI
copilot --resumeonly 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.
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.
- yesterday Changed · -122 lines · +5 tokens per session 152ad286b0d1
- 3mo ago First seen · 156 lines · 16 tokens per session scan A 54a7c1feba61
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.
session-recovery compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| session-recoverymicrosoft/waza | Skill | 1.5k | today | MIT | A | 21 | Claude Code, Codex |
| orbit-notionnexu-io/open-design | Skill | 111k | today | Apache-2.0 | A | 117 | Claude Code, Codex |
| agentmailpaperclipai/paperclip | Skill | 120k | today | MIT | A | 30 | Claude Code, Codex |
| rowboat-spacesrowboatlabs/rowboat | Skill | 18k | today | Apache-2.0 | A | 60 | Claude Code, Codex |
| feishuHmbown/CodeWhale | Skill | 41k | today | MIT | A | 33 | Claude Code, Codex |
| Cortexdanielmiessler/LifeOS | Skill | 21k | 17d ago | MIT | A | 184 | Claude Code |
| pinchtab-mcppinchtab/pinchtab | Skill | 11k | 11d ago | MIT | A | 52 | Claude Code, Codex |