backup-claude-settings
CommunityBack up Claude settings with audited diffs.
Personal & Entrepreneur#git push#cluade-code#diff auditing#settings backup#provider detection#configuration recovery#timestamped archives
Authormykcs
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It prevents losing critical Claude Code configuration by automatically backing up your local settings and providing a mandatory, auditable diff against the previous backup for the same API provider.
Core Features & Use Cases
- One-click settings backup: Copies
~/.claude/settings.jsonplus both global and project.claude.jsonfiles into a timestamped backup repository for reliable recovery. - Provider-aware naming: Detects the active API provider from
ANTHROPIC_BASE_URLand prefixes filenames accordingly (e.g., kimi/minimax/anthropic), so backups remain correctly labeled across provider changes. - Blocking diff audit: Forces a cross-date comparison with the latest previous backup for the same provider, always producing an audit log and refusing to silently assume “first backup” unless
--force-firstis provided.
Quick Start
Run /backup-claude-settings to back up your Claude settings to the configured GitHub repository and output the diff result plus the audit log path.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: backup-claude-settings Download link: https://github.com/mykcs/myk-skills/archive/main.zip#backup-claude-settings Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.