---
name: settings-backup
description: "Backs up Claude Code user settings to a git repo. Commits and pushes config files unattended; routine-compatible. Use when the user asks to back up or sync their Claude Code settings."
allowed-tools: Bash, Read, Write, Edit, AskUserQuestion
argument-hint: "[repo-path]"
---
# Settings Backup
Back up Claude Code user settings to a dedicated git repository. Copies
user-authored configuration files, commits, and pushes. Designed to run
unattended as a Claude routine when the repo path is configured.
## When not to use
- To restore settings from a backup — use `settings-restore` instead.
- To compare local vs backed-up settings without changing anything.
## Reference
Social media post