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.
npx skills add shaharsha/claude-skills --skill reviving-sessionsgit clone --depth 1 https://github.com/shaharsha/claude-skillsWrote 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/shaharsha/claude-skills/reviving-sessions)<a href="https://agentmods.dev/skills/shaharsha/claude-skills/reviving-sessions"><img src="https://agentmods.dev/badge/skills/shaharsha/claude-skills/reviving-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.
<a href="https://agentmods.dev/skills/shaharsha/claude-skills/reviving-sessions"><img src="https://agentmods.dev/badge/skills/shaharsha/claude-skills/reviving-sessions.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.00221 | $0.04935 |
| Opus 5.5 | $0.00088 | $0.01974 |
| Sonnet 5.5 | $0.00044 | $0.00987 |
| Haiku 4.5 | $0.00022 | $0.00494 |
Grade B, and why
reviving-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 9d 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
find ~/.claude/projects -name '<uuid-from-list_sessions>*.jsonl' | wc -l # optional extra evidence How it starts
The opening of the file, as written. The whole thing — 320 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Reviving sessions
The desktop app's session tools — list_sessions, send_message, list_events,
search_session_transcripts, start_session, set_session_title, archive_session — cover
every session the app has indexed. This skill is for the ones it has not: sessions created
outside it (claude -p, the VS Code extension, another account), transcripts stranded on disk,
and transcripts too large or too old for its tools. It also covers the renames those tools get
wrong on indexed sessions: one that silently changes nothing, or lands in only one account.
🔴 A session the app lists and is running: ask it, don't read it. Send it a message
(mcp__ccd_session_mgmt__send_message, its local_… id from list_sessions) and wait for the
reply. A transcript is mostly tool-call stubs, and reading it is your guess at its state; its own
answer is its current view. (Shahar, 2026-10-20: "contact it, don't read its transcripts.")
Looking up a running session's title or transcript id in the ccread listing is fine; reading its
conversation to learn its state is not.
When to use
- A session is on disk but missing from the desktop sidebar, or a client shows sessions another does not
- A session vanished after its worktree was deleted or it changed directory
- You start a session from a shell and need it to appear, named, in the desktop app
- A rename fails, silently does nothing, or differs between two accounts
- A session has ended, or the app does not have it, and you need what it said or decided
Not for: routine work on a session the app already lists — message, read, rename, start or archive it with the app's tools. A rename that fails or differs between accounts is still this skill. Not for reading your own conversation, or grepping code.
First: is the app really missing it?
1 list_sessions <- ALWAYS start here
2 find it by cwd + title + isRunning, and use the local_… id EXACTLY AS LISTED
3 ONLY if it is genuinely absent from that listing: adopt it (below)
4 VERIFY in list_sessions, never from a tool's return value
What ships with it
3 files 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.
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.
- 9d ago First seen · 320 lines · 221 tokens per session scan B 856b747c295c
reviving-sessions is a skill published in the GitHub repository shaharsha/claude-skills (6 stars, last pushed today), licensed MIT. It adds 221 tokens to every session and 4,935 once invoked, about $0.0009 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-10-28.
reviving-sessions compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| reviving-sessionsshaharsha/claude-skills | Skill | 6 | today | MIT | B | 221 | Claude Code |
| orbit-notionnexu-io/open-design | Skill | 106k | yesterday | Apache-2.0 | A | 117 | Claude Code, Codex |
| agentmailpaperclipai/paperclip | Skill | 111k | yesterday | MIT | A | 30 | Claude Code, Codex |
| Cortexdanielmiessler/LifeOS | Skill | 20k | yesterday | MIT | A | 184 | Claude Code |
| rowboat-spacesrowboatlabs/rowboat | Skill | 18k | yesterday | Apache-2.0 | A | 60 | Claude Code, Codex |
| feishuHmbown/CodeWhale | Skill | 41k | 6d ago | MIT | A | 33 | Claude Code, Codex |
| pinchtab-mcppinchtab/pinchtab | Skill | 11k | 10d ago | MIT | A | 52 | Claude Code, Codex |