Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By shawn-sandyv1.3.1MITIn 1 marketplace
Back up and restore Claude Code user settings to a dedicated git repo. Routine-compatible for automated backups.
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Back up and restore Claude Code user settings to a dedicated git repo. Routine-compatible for automated backups.
machines/<name> branchpermissions and autoMode| Target | Default |
|---|---|
settings.json | Included |
CLAUDE.md | Included |
keybindings.json | Included |
rules/ | Included |
commands/ | Included |
skills/ | Included |
hooks/ | Included |
agents/ | Included |
output-styles/ | Included |
scripts/ | Included |
reference/ | Included |
settings.local.json | Opt-in |
Auto-generated files (sessions, caches, plugins, telemetry) are excluded.
/plugin marketplace add shawn-sandy/agentics
/plugin install settings-sync@agentics-kit
claude --plugin-dir ./kit/plugins/settings-sync
This plugin is skills-only — there are no slash commands. Both skills are auto-activated when your message matches their trigger description. You can also pass a repo path inline as an argument.
Triggers when you ask to back up, save, or sync your Claude Code settings.
back up my claude settings to ~/dotfiles/claude-settings
Or with a previously configured repo:
back up my claude settings
You can pass the repo path inline:
back up my claude settings [repo-path]
Triggers when you ask to restore or import your Claude Code settings.
restore my claude settings from ~/dotfiles/claude-settings
You can pass the repo path or a clone URL inline:
restore my claude settings [repo-path-or-url]
Always interactive — requires user confirmation before overwriting local files.
A fresh machine has neither this plugin nor a local backup repo. Install the plugin first (both commands under Installation), then pass the clone URL:
restore my claude settings from https://github.com/you/claude-settings-backup.git
The repo is cloned to ~/.claude-settings-backup, and the path is saved to
~/.claude/settings-sync.json for subsequent runs. Restart Claude Code
afterwards — plugins reinstall themselves from the enabledPlugins and
extraKnownMarketplaces entries in the restored settings.json.
Restore first, then back up. A first backup on a new machine creates that machine's own branch, so it can no longer overwrite another machine's backup — but run before a restore it would only save an empty config.
One backup repo holds every machine, one branch each:
machines/<machine>, where <machine> is the
"machine" key in ~/.claude/settings-sync.json. With no key, the first run
derives it from hostname -s (Shawns-MacBook-Pro-2 becomes
shawns-macbook-pro-2) and saves it, so a later macOS rename does not move
the backup. Rename a machine by editing that key; it must match
^[a-z0-9][a-z0-9-]{0,62}$. Each branch has one writer — the clone that
created it, recorded in that clone's git config settings-sync.branch — so
pushes never conflict and the backup never pulls or merges. If the branch
already exists but this clone did not create it, or a push is rejected
anyway, two machines share a name: the run stops and asks you to give one a
distinct "machine". If you re-cloned the backup repo on the same machine,
the message prints the one git config command that claims the branch
again.machines/* branch restores the checked-out branch, as 1.2 did, apart from
the settings.json merge below. After copying, restore switches the clone
back to this machine's own branch, so a backup that commits to whatever is
checked out — a hand-written session-end script, say — never writes the
machine you restored from.permissions and autoMode. In the two
machines' backups this was designed from, those were the only settings.json
keys holding machine-specific home paths (yours may also have them in keys
such as env or statusLine, which restore takes from the backup), so restore
takes every other key from the backup and these two from the local file — a
key this machine lacks stays absent. A machine with no settings.json gets
the backup's file unchanged. The merge needs jq (shipped at /usr/bin/jq
on macOS 15 and later); without it, or with invalid JSON on either side,Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub shawn-sandy/agentics --plugin settings-syncPlugins from other owners that cover similar ground