What problem does it solve? Claude Code user settings (settings.json, CLAUDE.md, commands, skills, hooks, agents) live only on the local machine and are lost on hardware failure or when moving to a new machine. This Skill copies them into a dedicated git repository, commits real changes, and pushes them, including unattended runs as a scheduled routine. ## Core Features & Use Cases - Git-based backup: Copies user-authored config files and directories into a git repo, commits only when something actually changed, and pushes to a remote if one exists. - Secret scanning: Greps every backup source for API keys and tokens (sk-, ghp_, AKIA, xoxb-, and more) and warns before pushing, or logs the finding in routine mode. - Routine-compatible: Resolves the repo path from an argument, ~/.claude/settings-sync.json, or an interactive prompt, and degrades gracefully when running unattended. - Use Case: Schedule a daily routine that backs up your Claude Code configuration so a new laptop can be restored from the repo with the companion settings-restore skill. ## Quick Start Ask Claude to back up your Claude Code settings to your backup git repository, optionally providing the repo path.