recover-claude-code

recover-claude-code is a plugin for Claude Code from fledgeling-co/fledgeling-plugins. Its manifest loads nothing; the 1 skill it bundles cost 239 tokens per session together, scanned A, original, MIT.

A recovery plugin for Claude Code sessions interrupted by a crash, force-quit, or out-of-memory shutdown. It reopens dead sessions with their previous working context.

In plain words
What is it for?
Use it after a terminal, Ghostty, or computer crash to restore interrupted Claude Code sessions in their original projects.
Why use it?
It avoids restarting coding work from a blank session and losing the reasoning, workflow state, and unfinished tasks already in progress.

Plugin for Claude Code

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

Good fit Use it after a terminal, Ghostty, or computer crash to restore interrupted Claude Code sessions in their original projects.

Compare 6 plugins from other repositories ↓
Install in Claude Code
/plugin marketplace add fledgeling-co/fledgeling-plugins
/plugin install recover-claude-code
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/fledgeling-co/fledgeling-plugins

Made for: Claude Code.

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-claude-code

README.md
[![agentmods](https://agentmods.dev/badge/plugins/fledgeling-co/fledgeling-plugins/recover-claude-code/github.svg)](https://agentmods.dev/plugins/fledgeling-co/fledgeling-plugins/recover-claude-code)
Your own site
<a href="https://agentmods.dev/plugins/fledgeling-co/fledgeling-plugins/recover-claude-code"><img src="https://agentmods.dev/badge/plugins/fledgeling-co/fledgeling-plugins/recover-claude-code/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-claude-code

Your own site · 80×15
<a href="https://agentmods.dev/plugins/fledgeling-co/fledgeling-plugins/recover-claude-code"><img src="https://agentmods.dev/badge/plugins/fledgeling-co/fledgeling-plugins/recover-claude-code.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session not measured What this adds to a session before it is invoked.
When invoked not measured The manifest loads nothing itself; its 1 skill cost 239 tokens a session between them.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Security

Grade A, and why

recover-claude-code 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 1mo ago.

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.

plugins/recover-claude-code/.claude-plugin/plugin.json · 10 lines

How it starts

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

{
  "name": "recover-claude-code",
  "version": "1.2.3",
  "description": "Bring back Claude Code sessions, workflows and subagents that a crash interrupted, with the context they already had instead of restarting them from scratch. Use after a terminal, Ghostty or machine crash, a force-quit, or a jetsam/out-of-memory kill took sessions down, and whenever a previous recovery cold-started fresh agents and lost what they had already worked out. Separates the genuinely dead sessions from the still-running ones using the live-session registry at ~/.claude/sessions (a pid-keyed record carrying sessionId, cwd, peer name and status), because the two probes that look correct both fail: ps output never contains the session id, and the scratchpad directory is named by a per-process id that stops matching once a session has been resumed. Reopens each dead session in its own Ghostty tab at its original working directory under its original session id (never --fork-session, which orphans every workflow journal it is trying to reach), handing over a brief as a positional prompt so the session wakes up knowing it crashed rather than auto-submitting \"Continue from where you left off\". Restores interrupted work by promoting a dead subagent's sidechain transcript into a resumable session so it keeps the files it read and the findings it closed, rather than replaying its prompt into a blank context; measured, a promoted transcript named its item, branch and a closed finding from memory. Finds a run's persisted script by run id across every project directory, because Claude Code files the script under the project directory of the live working directory and the journal under the original one, so any session working in a worktree splits its own state in two and a snapshot-only lookup reports no script for precisely the runs that need recovering. Offers a journal splice for a long completed prefix that resumeFromRunId would otherwise re-run (the cache miss is sticky, so the interrupted 

Read the full file on GitHub · 10 lines

Contents

What it installs

The manifest is a name and a version. 1 skill travel with it, and installing the plugin installs all of them — 239 tokens a session between them. Each is measured on its own page, and each can be installed alone.

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. 1mo ago Changed 815065b23e02
  2. 1mo ago First seen · 10 lines scan A 8e52442884b6

Subscribe to this mod's changes

recover-claude-code is a plugin published in the GitHub repository fledgeling-co/fledgeling-plugins (2 stars, last pushed 4d ago), licensed MIT. Its token cost is not measured: this kind of file is read by the harness, not the model. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.