clawdbot-backup
by sebastian-buitrag0
Git & GitHubBrief
Backup and restore ClawdBot configuration, skills.
Description
What This Skill Does
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.
When to Use It
- 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
Example Workflow
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)
Installation
clawhub install sebastian-buitrag0/clawdbot-backupRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.