recover-sessions

recover-sessions is a skill for Claude Code from codika-io/clave. It costs 75 tokens per session (2,081 once invoked), scanned B, original, MIT.

A recovery tool for restoring lost Clave workspace tabs from Claude Code session transcripts saved on your computer. It groups the recovered conversations back into projects.

In plain words
What is it for?
Use it to find past Claude Code sessions, identify their projects, and reopen them with their full conversation history.
Why use it?
It helps after a crash, restart, accidental close, or lost workspace state, when the conversations still exist but the tabs are gone.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; mentions subagents; mentions Claude Code.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/you/work.

Part of the clave plugin — 2 skills shipped together

Good fit Use it to find past Claude Code sessions, identify their projects, and reopen them with their full conversation history.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add codika-io/clave
Claude Code
/plugin install clave

Made for: Claude Code.

Or install clave, the plugin that ships this one along with the rest of its 2 skills.

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 recover-sessions

README.md
[![agentmods](https://agentmods.dev/badge/skills/codika-io/clave/recover-sessions/github.svg)](https://agentmods.dev/skills/codika-io/clave/recover-sessions)
Your own site
<a href="https://agentmods.dev/skills/codika-io/clave/recover-sessions"><img src="https://agentmods.dev/badge/skills/codika-io/clave/recover-sessions/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 recover-sessions

Your own site · 80×15
<a href="https://agentmods.dev/skills/codika-io/clave/recover-sessions"><img src="https://agentmods.dev/badge/skills/codika-io/clave/recover-sessions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,081 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found 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.00075 $0.02081
Opus 5.5 $0.00030 $0.00832
Sonnet 5.5 $0.00015 $0.00416
Haiku 4.5 $0.00007 $0.00208

Measured 3mo ago against content hash 0b9df731d9ac, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

recover-sessions scanned grade B with 1 finding 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 3mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/scan-transcripts.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

Retention is a **local** setting, `cleanupPeriodDays` in `~/.claude/settings.json` (default 30 days). It is not a server-side policy — nothing is fetched from Anthropic and nothing expires in the cloud. If the user's set
plugin/skills/recover-sessions/SKILL.md · 131 lines

How it starts

The opening of the file, as written. The whole thing — 131 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Recover Sessions

Clave tabs are disposable; the conversations behind them are not. Claude Code writes every session to a local transcript file that survives an app crash, a machine reboot, and Clave's own state being wiped. This skill finds those transcripts, works out what each session was about, and rebuilds the user's groups and tabs with the real conversations restored — not empty tabs.

Use it when the user says any of: "I lost my sessions", "my computer crashed, get my workspace back", "what was I working on?", "recover what I had".

What the user gets back

Their history, verbatim. claude --resume <session-id> reopens a session with its full context, so a recovered tab picks up exactly where it stopped. What is genuinely lost is only Clave's own arrangement — which group a tab sat in and what it was called — and that is what you reconstruct from evidence plus the user's memory.

Where the transcripts live

~/.claude/projects/<path-encoded-cwd>/<session-uuid>.jsonl

One JSONL file per session; the filename stem IS the session id you resume with. The directory name is the session's working directory with / replaced by -.

Retention is a local setting, cleanupPeriodDays in ~/.claude/settings.json (default 30 days). It is not a server-side policy — nothing is fetched from Anthropic and nothing expires in the cloud. If the user's setting is low and they care about recovery, mention raising it; that is the whole fix.

Step 1 — Ask what they remember, briefly

Before scanning, get the user's own picture in one short exchange: roughly how many groups, what the big ones were about, and when they were last working. Do not interrogate them. Vague answers are fine and normal ("one group for the mobile app, a big one for the API rewrite, and something about billing") — the scan supplies the precision, their memory supplies the grouping and the names.

If they cannot remember anything, skip straight to the scan and present what you find, newest first.

Read the full file on GitHub · 131 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3mo ago First seen · 131 lines · 75 tokens per session scan B 0b9df731d9ac

Subscribe to this mod's changes

recover-sessions is a skill published in the GitHub repository codika-io/clave (47 stars, last pushed 2mo ago), licensed MIT. It adds 75 tokens to every session and 2,081 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

recover-sessions compared with skills from other repositories

recover-sessions next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
recover-sessionscodika-io/claveSkill472mo agoMITB75Claude Code
warpctrlwarpdotdev/warpSkill66kyesterdayAGPL-3.0A69Claude Code, Codex
change-keybindingwarpdotdev/warpSkill66kyesterdayAGPL-3.0A82Claude Code, Codex
daily-briefingvellum-ai/vellum-assistantSkill1.5k5d agoMITA75Claude Code, Codex
create-tab-configwarpdotdev/warpSkill66kyesterdayAGPL-3.0A44Claude Code, Codex
screencapyahorbarkouski/screencapSkill1314d agoMITA138Claude Code, Codex
liney-clieverettjf/lineySkill14917d agoApache-2.0B195Claude Code, Codex