Favicon of session-recovery

session-recovery Skill

AI Agent SkillC#Open source

Find and resume interrupted Copilot CLI sessions using sessionstore queries Published by microsoft in aitour26-BRK445-building-enterprise-ready-ai-agents-with-microsoft-foundry.

What is session-recovery Skill?

Find and resume interrupted Copilot CLI sessions using sessionstore queries Published by microsoft in aitour26-BRK445-building-enterprise-ready-ai-agents-with-microsoft-foundry. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.

Trust signal
95/100
Maintenance signal
90/100
Adoption signal
46/100

Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.

Key capabilities

  • Includes SKILL.md support
  • Reusable instructions support
  • Database workflows
  • Database workflows use cases

Technical details

Copy skill directory
  • Install or run with Copy skill directory

When to use session-recovery Skill

  • Use it for database workflows.

Built with

C#Copy skill directory

Editorial notes

Source

  • Creator: microsoft
  • Repository: microsoft/aitour26-BRK445-building-enterprise-ready-ai-agents-with-microsoft-foundry
  • Skill file: .copilot/skills/session-recovery/SKILL.md

What it does

Find and resume interrupted Copilot CLI sessions using sessionstore queries

Skill instructions

Context 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 sessionstore (read-only, accessed via the sql tool with database: "sessionstore"). This skill teaches agents how to query that store to detect interrupted sessions and resume work. Patterns 1. Find Recent Sessions Query the sessions table filtered by time window. Include the last checkpoint to understand where the session stopped: sql SELECT s.id, s.summary, s.cwd, s.branch, s.updatedat, (SELECT title FROM checkpoints WHERE sessionid = s.id ORDER BY checkpointnumber DESC LIMIT 1) AS lastcheckpoint FROM sessions s WHERE s.updatedat = datetime('now', '-24 hours') ORDER BY

Explore related resources

Frequently asked questions

What is session-recovery?

session-recovery is a open-source AI agent skill with Copy skill directory. Find and resume interrupted Copilot CLI sessions using sessionstore queries

Who is session-recovery best for?

session-recovery is best for reusing agent instructions, scripts, and references, database workflows.

How do I install session-recovery?

Install or run session-recovery using Copy skill directory. Check session-recovery for the latest setup command.

Is session-recovery actively maintained?

session-recovery may need a closer maintenance check before production use.

Share:

Stars
74
Forks
35
Last commit
3 months ago
Repository age
1 year
License
MIT

Auto-fetched from GitHub.

Ad
Favicon

 

  
 

Similar to session-recovery