session-recovery skillA
session-recovery is agent-read markdown (skill) from terrylica/cc-skills: Diagnose and recover Claude Code session problems: 'No conversations found to resume', sessions in the wrong location, missing or corrupted session files..
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# Claude Code Session Recovery Skill
> **Self-Evolving Skill**: This skill improves through use. If instructions are wrong, parameters drifted, or a workaround was needed — fix this file immediately, don't defer. Only update for real, reproducible issues.
## When to Use This Skill
Use this skill when:
- "No conversations found to resume" when running `claude -r`
- New conversations not creating session files
- Sessions appearing in wrong locations (`/tmp/` instead of `~/.claude/projects/`)
- Session history missing after environment changes
- IDE/terminal settings affecting session creation
- Need to migrate or recover 600+ legacy sessions
## Quick Reference
## Official Session Storage
**Standard Location:** `~/.claude/projects/`
**Structure:**
```
~/.claude/projects/
├── -home-username-my-project/ # Encoded absolute path
│ └── 364695f1-13e7-4cbb-ad4b-0eb416feb95d.jsonl
└── -tmp-another-project/
└── a8e39846-ceca-421d-b4bd-3ba0eb1b3145.jsonl
```
**Format:** One JSON event per line (JSONL), UUID-based filenames
## Critical Pitfall: HOME Variable
### Problem
…Read the whole file at its exact version.
How to install
mdr add terrylica/cc-skills/session-recovery@git:20260923.cfe9725mdr add terrylica/cc-skills/session-recovery@sha256:2825a21e39a93bc8Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_helbovhuehl6dm7q)
0 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260923.cfe9725 latest | 2026-09-23 | cfe9725 | 4,070 B | A | view · diff |
| git:20260506.fd8a4c9 | 2026-05-06 | fd8a4c9 | 4,059 B | A | view · diff |
| git:20260401.d376871 | 2026-04-01 | d376871 | 4,296 B | A | view · diff |
| git:20260401.1380431 | 2026-04-01 | 1380431 | 4,074 B | A | view · diff |
| git:20260306.9b09b28 | 2026-03-06 | 9b09b28 | 3,504 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (4070 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
terrylica/cc-skills · 74 stars · license MIT · pushed 2026-09-24 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_helbovhuehl6dm7q GET https://markdownregistry.com/api/v1/resolve?ref=terrylica/cc-skills/session-recovery GET https://markdownregistry.com/api/v1/blob/2825a21e39a93bc86df81f23ea59eb06acbf3b2d5559a951795a13c79f431eec
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
More from terrylica/cc-skills
Every file in terrylica/cc-skills