donamvn

Claude Desktop Session Restore — Development skill for Claude Code

Development community

Sao lưu / khôi phục / đổi account Claude Code — giữ nguyên sessions, memory, skills, plugins & sidebar Desktop (macOS + Windows).

How to install Claude Desktop Session Restore

This entry records only its repository, not the path inside it, so there is no exact command to give. Open donamvn/claude-desktop-session-restore and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude Desktop Session Restore does

Sao lưu / khôi phục / đổi account Claude Code — giữ nguyên sessions, memory, skills, plugins & sidebar Desktop (macOS + Windows).

Alternatives in Development

  • Claude Supermemory — Persistent memory across sessions and projects using Supermemory 2.3k ★
  • Claude Keysmith — Managed Claude Code instruction deployment with safe CLI recovery and an unsigned macOS/Windows desktop beta 696 ★
  • Cc Bar — Native macOS menu bar app: track quota, usage and cost for Codex (multi-account) and Claude Code, from your me 119 ★

README

Claude Code — Backup & Đổi Account

Bộ công cụ sao lưu / khôi phục / đổi tài khoản Claude Code trên **macOS** và **Windows**. Giữ nguyên **sessions, memory, skills, plugins, sidebar Desktop** khi đổi account hoặc chuyển máy.

**macOS**: dùng các script `.sh` + `rebuild-sidebar.py`. **Windows**: dùng `rebuild-sidebar.ps1` + [WINDOWS-SIDEBAR.md](WINDOWS-SIDEBAR.md) (xem mục [Windows](#windows) bên dưới).


Các file trong repo

File Mô tả
claude-backup.sh Sao lưu toàn bộ dữ liệu → .tar.gz
claude-restore.sh Khôi phục từ backup, tự migrate sidebar nếu đổi account
claude-account.sh Chuyển nhanh qua lại nhiều account (tráo Keychain token)
rebuild-sidebar.py (macOS) Tái tạo sidebar index khi sessions không hiện trong Desktop
rebuild-sidebar.ps1 (Windows) Tái tạo sidebar index từ transcript .jsonl
WINDOWS-SIDEBAR.md (Windows) Cách hiện lại sidebar + 3 cái bẫy đã kiểm chứng
windows-sidebar-index/ (Windows) Snapshot index sidebar hiện tại để khôi phục nguyên trạng
claude-data/ Snapshot ~/.claude/ (memory, skills, config — không transcript)
HUONG-DAN-DOI-ACCOUNT.md Hướng dẫn chi tiết cho mọi kịch bản đổi account
KHOI-PHUC.md Hướng dẫn restore nhanh từ bản backup mới nhất

Dữ liệu Claude Code nằm ở đâu?

Thành phần macOS Windows
Transcript phiên làm việc ~/.claude/projects//*.jsonl %USERPROFILE%\.claude\projects\\*.jsonl
Memory ~/.claude/projects//memory/*.md %USERPROFILE%\.claude\projects\\memory\*.md
Skills ~/.claude/skills/ %USERPROFILE%\.claude\skills\
Plugins, settings, MCP, tasks ~/.claude/ %USERPROFILE%\.claude\
Config account + MCP servers ~/.claude.json %USERPROFILE%\.claude.json
Sidebar Desktop index ~/Library/Application Support/Claude/claude-code-sessions/ %APPDATA%\Claude\claude-code-sessions\
Credentials / toke