Cc Sync
Description
Seamlessly sync Claude Code config & sessions across machines | 跨机器无缝同步 Claude Code 配置和会话
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
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
Auto Update
Pull the latest ECC repo changes and reinstall the current managed targets.
Development Ecc Guide
Navigate ECC's current agents, skills, commands, hooks, install profiles, and docs from the live repository su
Development Epic Claim
Claim an epic issue, stamp coordination state, and sync local ownership.
Development Epic Publish
Publish a validated epic update back to the issue and local cache.
Development Epic Review
Mark epic review requested, approved, or changes requested.
Development Epic Unblock
Sweep blocked epic issues and reopen anything whose dependencies are closed.
Development Related Agents
Django Build Resolver
Django/Python build, migration, and dependency error resolution specialist. Fixes pip/Poetry errors, migration
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11