jung-wan-kim

Cc Sync Template — Git skill for Claude Code

Git community

Sync all your Claude Code settings (~/.claude/) via Git.

How to install Cc Sync Template

This entry records only its repository, not the path inside it, so there is no exact command to give. Open jung-wan-kim/cc-sync-template and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Cc Sync Template does

Sync all your Claude Code settings (~/.claude/) via Git. Backup & restore on any device.

Alternatives in Git

  • Epic Sync — Sync epic issue bodies, labels, and local coordination snapshots from GitHub 243.5k ★
  • Generate PR Description — You are tasked with generating a comprehensive pull request description following the repository's standard te 10k ★
  • Claude.md Template For Users — Attribution: Behavioral patterns adapted from obra/superpowers by Jesse Vincent (@obra), MIT License 6.8k ★

README

cc-sync

Back up and sync all your Claude Code settings (`~/.claude/`) via Git. Restore instantly on any device.

![Why You Need This](docs/images/01-problem.png)

![How It Works](docs/images/02-architecture.png)

![What Gets Synced](docs/images/03-sync-targets.png)

![Usage](docs/images/04-usage.png)

![Multi-Device Sync](docs/images/05-multi-device.png)

![Automation Pipeline](docs/images/06-automation.png)

The Problem

  • ~/.claude/ only exists locally -- OS reinstall or disk failure = everything gone
  • Multiple devices = skills, hooks, rules evolving separately on each machine
  • Manual sync is error-prone -- miss one file and things break

How It Works

~/.claude/                    cc-sync (Git repo)              Other Device
  skills/     ──sync.sh──→     skills/      ──apply.sh──→     ~/.claude/
  hooks/                       hooks/                           skills/
  rules/                       rules/                           hooks/
  agents/                      agents/                          rules/
  plugins/                     plugins/                         agents/
  settings.json                settings.json                    ...
  ...                          memory-bank-sync/   ←── import-sync.sh

Quick Start

1. Clone this repo

git clone https://github.com/YOUR_USERNAME/cc-sync.git ~/Project/cc-sync
cd ~/Project/cc-sync

2. First sync (export your settings)

./sync.sh
# Follow prompts to commit and push

3. On another device (import)

git clone https://github.com/YOUR_USERNAME/cc-sync.git ~/Project/cc-sync
cd ~/Project/cc-sync
./apply.sh
claude restart

Slash Commands (Optional)

Copy the example command files to enable `/cc-sync` and `/cc-apply` in Claude Code:

cp examples/commands/cc-sync.md ~/.claude/commands/
cp examples/commands/cc-apply.md ~/.claude/commands/

Then in Claude Code:

/cc-sync     # Export: ~/.claude/ → Git
/cc-apply    # Import: Git →