Skip to main content

claude-sync

Back up and restore your Claude Code configuration — skills, hooks, agents, keybindings, global CLAUDE.md, a redacted settings.json, and a plugin manifest. Never your history, sessions, or projects.

Quick start

Set up backups on the machine you already use:

uvx claude-sync init

Reproduce your setup on a new machine (one command):

uvx claude-sync restore https://github.com/you/claude-backup.git

Commands

Command What it does
claude-sync init [dest] Interactive setup: choose destination, git mode, auto-backup hook
claude-sync backup One sync pass (no-op when nothing changed; commits in git mode)
claude-sync restore [src] Restore from a directory or git URL; reinstalls plugins
claude-sync status Destination, last backup, drift, pending conflicts
claude-sync resolve Choose a version when two machines diverged
claude-sync hook install|uninstall Manage the SessionEnd auto-backup hook

What about secrets?

Env vars in settings.json whose names look sensitive (*KEY*, *TOKEN*, *SECRET*, *PASSWORD*, *CREDENTIAL*) or whose values look like credentials are replaced with <redacted-by-claude-sync> before anything leaves your machine. claude-sync status lists what you need to re-supply after a restore.

Multi-machine use

Backups from several machines to one git repo can diverge. claude-sync never merges on its own: it detects divergence, skips the automatic backup, and claude-sync resolve lets you pick which version to keep. The losing version stays in git history.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

claude_code_sync-0.1.0.tar.gz (80.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

claude_code_sync-0.1.0-py3-none-any.whl (17.5 kB view details)

Uploaded Python 3

File details

Details for the file claude_code_sync-0.1.0.tar.gz.

File metadata

  • Download URL: claude_code_sync-0.1.0.tar.gz
  • Upload date:
  • Size: 80.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for claude_code_sync-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5e9525bc2b50e1ab259a4c85ff8080fdd22b666bda8ef17db0370fe5b99c125c
MD5 ca52a81a5d5322f23a65a332a613dbda
BLAKE2b-256 fe71a0ca1760d94df524343a0df1ad9de9c151eab1bce2f3d0e4ad8ed5fd24d6

See more details on using hashes here.

File details

Details for the file claude_code_sync-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: claude_code_sync-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 17.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for claude_code_sync-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b763dcc722499bbc2f574b0af65cfcbfd0affaab7123bbf3b806a5ffbcc70550
MD5 d2b11438d64e6ec2599b536c5f8a5f85
BLAKE2b-256 831dd7b5565156d7a6d50e53dfab5dd78375e1a7e29308ca35e15591cb325e07

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.1

2 files

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page