Cc Sync Legacy — Development skill for Claude Code
Seamlessly sync Claude Code config & sessions across machines 跨机器无缝同步 Claude Code 配置和会话.
How to install Cc Sync Legacy
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open ikook-wang/cc-sync-legacy and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Cc Sync Legacy does
Seamlessly sync Claude Code config & sessions across machines 跨机器无缝同步 Claude Code 配置和会话.
Alternatives in Development
- Claude Supermemory — Persistent memory across sessions and projects using Supermemory 2.3k ★
- Dive — Dive is an open-source MCP Host Desktop Application that seamlessly integrates with any LLMs supporting functi 1.8k ★
- Ccundo — Integrates seamlessly with Claude Code to provide granular undo functionality by reading directly from Claude 1.4k ★
README
cc-sync
Seamlessly sync your Claude Code configuration and sessions across machines.
简体中文 · English
Switch computers, run `claude --resume`, and pick up right where you left off.
What It Does
Start claude → auto pull latest config & sessions
↓
Working...
↓
Exit claude → auto commit & push
↓
Other machine → start claude → auto pull → claude --resume
**What gets synced:**
settings.json— Claude Code settings, hooks, plugin togglescommands/— Custom slash commandsskills/— Custom skillsplugins/— Installed pluginsprojects/*/memory/— Cross-session memory- Recent N sessions (for
claude --resume)
**What stays local:**
.credentials.json— Credentials (security)debug/,cache/,telemetry/, etc. — Local caches- Old session files — Only recent ones are synced to keep repo size manageable
Installation
Prerequisites
- Claude Code installed and used at least once
- Git
- A GitHub repository (recommend private) for storing config
One-Line Install
curl -fsSL https://raw.githubusercontent.com/ikook-wang/cc-sync/main/install.sh | bash
The installer will interactively guide you through:
- Enter your GitHub repo URL
- Set number of sessions to keep (default: 3)
- Auto-configure
.gitignore, hooks, and shell wrapper - Run initial sync
Run this once on each machine.
On Another Machine
# 1. Install cc-sync (use the same GitHub repo URL)
curl -fsSL https://raw.githubusercontent.com/ikook-wang/cc-sync/main/install.sh | bash
# 2. Resume your previous session
claude --resume
How It Works
cc-sync uses three mechanisms for automatic syncing:
| When | Mechanism | Action |
|---|---|---|
| Start Claude Code | SessionStart hook |
git pull to get latest |
| Exit Claude Code | S |
Related Skills
Cc Sync
Seamlessly sync Claude Code config & sessions across machines 跨机器无缝同步 Claude Code 配置和会话
Claude Public
A public template of my personal Claude Code configuration: settings, sync scripts, file-manager agent, and a
Dotenv Vault
Sync environment variables across machines for consistent Claude Code behavior.
Claude Nomad
Sync your full Claude Code setup across machines: skills, settings, and session history, with path remapping a
Harvest Memory
Promote durable learnings from the machine-local per-project memory store into the version-controlled repo mem
Harness Remote
Native-session control plane for Codex, Claude Code, OpenCode, OMP and PI. Run, resume and hand off coding ses
Related Agents
Internationalization Specialist
I18n expert that implements multi-language support, handles localization, and ensures applications work seamle
Brain Merge
Semantically merge brain knowledge from multiple Claude Code machines. Use when brain-sync or brain-join detec
Qp Bug Hunter
Read-only reviewer for the quality-pass bugs dimension — logout teardown, reconnect state machines, token refr