desktop-sessions-discovery

Solid

Discover, search, and selectively restore Claude desktop app sessions hidden across multiple accountIds. Use when user mentions "missing sessions after account switch", "lost desktop sessions", "where do my old sessions live", or runs multiple Claude accounts on the same machine. Do NOT use for Claude Code CLI session history or resuming work within one session — this only recovers the native desktop app's per-accountId session files; for in-session continuity use handoffs.

AI & Automation 138 stars 20 forks Updated 1 months ago MIT

Install

View on GitHub

Quality Score: 86/100

Stars 20%
71
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Claude Desktop Sessions Discovery Toolkit Claude desktop app (Mac/Windows native) stores sessions per `<accountId>/<orgId>/`. When you switch accounts, old sessions become invisible in UI — they remain on disk but `LocalSessionManager.loadSessions()` only reads the active accountId folder. This is GitHub issue [#48511](https://github.com/anthropics/claude-code/issues/48511), open since April 2026 with no Anthropic fix. Issue [#26452](https://github.com/anthropics/claude-code/issues/26452) has 40 comments documenting the same loss. This skill is a community workaround. Use at your own risk — see Caveats. ## Storage paths (reverse-engineered, NOT in official Anthropic docs) | Install type | Path | |---|---| | **Win32 .exe install** (recommended) | `%APPDATA%\Claude\claude-code-sessions\<acct>\<org>\local_<sid>.json` | | **Windows MSIX (Microsoft Store)** | `%LOCALAPPDATA%\Packages\Claude_pzs8sxrjxfjjc\LocalCache\Roaming\Claude\claude-code-sessions\<acct>\<org>\` — see issue [#48362](https://github.com/anthropics/claude-code/issues/48362) (atomic-rename bug breaks this entirely) | | **macOS** | `~/Library/Application Support/Claude/claude-code-sessions/<acct>/<org>/local_<sid>.json` | | Legacy (pre-Feb 2026) | same path, but folder name was `local-agent-mode-sessions/` | Source: bundled JS `.vite/build/index.js` line 771: `const $6t="claude-code-sessions"`. May change in any release. ## Schema of `local_*.json` ```json { "sessionId": "uuid", "cliSessionId": "uuid",...

Details

Author
AnastasiyaW
Repository
AnastasiyaW/claude-code-config
Created
5 months ago
Last Updated
1 months ago
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Related Skills