backup-claude-settings

Community

Back up Claude settings with audited diffs.

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.json plus both global and project .claude.json files into a timestamped backup repository for reliable recovery.
  • Provider-aware naming: Detects the active API provider from ANTHROPIC_BASE_URL and 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-first is 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 required

Components

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.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.