From ws-claude-sync
Knowledge about Claude Code sync architecture and cross-machine context sharing
How this skill is triggered — by the user, by Claude, or both
Slash command
/ws-claude-sync:claude-syncThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill provides knowledge about syncing Claude Code contexts, settings, and sessions across machines using Git.
This skill provides knowledge about syncing Claude Code contexts, settings, and sessions across machines using Git.
Claude Sync enables cross-machine synchronization of Claude Code data via a private GitHub repository. It supports two sync levels:
| Level | What's Synced | Use Case |
|---|---|---|
| Essential | Config, settings, CLAUDE.md, sessions, todos | Daily sync between machines |
| Full | Essential + shell snapshots, slash commands | Complete environment replication |
The sync system uses a staging-based approach:
| Item | Path | Description |
|---|---|---|
| Config | ~/.claude-sync/config.json | Sync configuration |
| Staging | ~/.claude-sync/data/staging/ | Prepared data for sync |
| Repo | ~/.claude-sync/data/repo/ | Cloned Git repository |
| Claude config | ~/.claude.json | Main Claude configuration |
| Settings | ~/.claude/settings.local.json | Local settings |
| Sessions | ~/.claude/projects/ | Project session data |
| Todos | ~/.claude/todos/ | Todo items |
~/.claude.json): Merge projects/MCP servers, preserve local userID and oauthAccountreferences/config-reference.md for config file formatreferences/sync-architecture.md for detailed architectureexamples/common-workflows.md for usage patternsnpx claudepluginhub wsagency/ws-claude-marketplace --plugin ws-claude-syncExpert in using Claude Code CLI for advanced configuration, hooks, MCPs, CLAUDE.md, workflows, sub-agents, and permissions to maximize productivity.
Syncs cc-settings with upstream Claude Code changelog (maintainer) or updates local cc-settings install (user).