clawdbot-backup
由 sebastian-buitrag0 提供
Git & GitHub简介
Backup and restore ClawdBot configuration, skills.
描述
该技能的功能
Backs up and restores ClawdBot configuration from ~/.claude, including skills, commands, settings, and MCP configs. Supports git-based version control, multi-device sync via rsync or cloud folders, and scheduled automation via cron, systemd, or launchd.
Combines timestamped archives, git version history, and sync scripts in one workflow so configuration is recoverable from corruption, accidental deletion, or hardware failure without relying on a single backup method.
何时使用
- Backing up all skills and settings before a major ClawdBot update
- Migrating configuration to a new laptop without manual file copying
- Syncing custom skills between a work machine and a home machine
- Rolling back to a previous skill state after an accidental edit
- Automating daily backups on a schedule with cron
示例工作流
User asks: Create a full backup of my ClawdBot configuration
- 1
Check that ~/.claude directory exists
- 2
Generate a timestamp and compose the backup filename
- 3
Run tar to archive skills, commands, settings.json, mcp/, contexts/, and templates/ into ~/clawdbot-backups/
- 4
Verify archive integrity with tar -tzvf
- 5
Report the backup path and file size
Backup created: ~/clawdbot-backups/clawdbot_full_20260318_020000.tar.gz (2.4M)
安装
clawhub install sebastian-buitrag0/clawdbot-backup运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。