Claude Session Sync — Development skill for Claude Code
Sync local Claude Code CLI sessions into the Claude desktop app sidebar (unofficial).
How to install Claude Session Sync
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open xushenjie/claude-session-sync and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Session Sync does
Sync local Claude Code CLI sessions into the Claude desktop app sidebar (unofficial).
Alternatives in Development
- Claude Desktop Debian — Unofficial Claude desktop app for Debian/Linux 2.5k ★
- InspireSkill — InspireSkill: Local agent cockpit for the Inspire compute platform, unifying a composable CLI, Agent Skill, an 577 ★
- Monet — Monet — Multi-engine mission control for coding agents (Claude Code and Codex today) 283 ★
README
claude-session-sync
**English** | [简体中文](https://github.com/xushenjie/claude-session-sync/blob/main/README.zh-CN.md)
[](https://github.com/xushenjie/claude-session-sync/actions/workflows/ci.yml)
Make your local Claude Code **CLI sessions** show up in the sidebar of the **Claude desktop app's Code tab**, across multiple accounts and organizations. Sessions you archived or deleted in the desktop app are left out automatically. It can also permanently purge archived sessions.
⚠️ **Unofficial tool, not affiliated with Anthropic.** The desktop app's index format is undocumented and may change with any update. The tool previews by default, refuses to write while the desktop app is running, and every write or deletion can be undone.
Why
Local CLI and desktop sessions share the same transcripts, but **each side keeps its own session list**:
Desktop sidebar index (one per account/org)
claude-code-sessions///
├─ local_.json session index; cliSessionId points to a transcript below
├─ archived-sessions.idx archived sessions (local_ IDs)
└─ deleted_ marker left when a session is deleted in the desktop app
│
▼
Transcripts (shared by CLI and desktop, account-independent)
~/.claude/projects//.jsonl
▲
└─ `claude --resume` scans these directly
As a result:
- the CLI sees sessions created in the desktop app, but the desktop app doesn't see sessions created in the CLI;
- after switching account or organization, the desktop app reads a different index directory, so the list changes;
- the official import paths (
/desktop,claude --desktop --resume, desktop Help → Import CLI sessions) only import into the current account, and sometimes miss sessions.
This tool adds the missing index files for **every account/org** so CLI sessions appear in
Related Skills
Claude Account Sync Skill
A Claude Code skill that keeps the Claude desktop app's Code sidebar identical across several Claude accounts
Session Deck
Every Claude Code conversation on your PC, one click away. Unofficial Windows companion app: reopen app & CLI
Cc Desk
Unofficial macOS app for Claude Code: session sidebar, live status, notifications, settings, with the real cla
Cc Same
Keep Claude Desktop's local sessions identical across all your accounts. Desktop app (macOS, Windows, Linux) a
Shared Agents IDE
Local-first desktop app where a team shares coding-agent sessions and memory. Watch a teammate's Claude Code o
Claude Usage Page
Brings back the Claude desktop app's usage card as a local page, with Classic and Profile styles, your local C
Related Agents
Ehs Local App
Local application security specialist for the Ethical Hacker Squad. Reviews command-line tools, desktop applic
Citation Checker Worker
驗證單一學術引用的真實性與格式正確性。由 tw-edu-citation-checker 在批次模式(3+ 筆引用)時並行召喚,每個實例處理一筆引用。不與使用者對話,只輸出 JSON 裁決。支援 CLI、Desktop
Maker
Reviews OpenCode sessions (shared links or local history), finds repeatable workflows, and proposes automation