# clawdbot-backup

clawdbot-backup — a skill for Claude Code, Codex, Cursor, Copilot, and Gemini CLI that handles backup and restore of ClawdBot configuration. Runs when you ask the agent to archive your setup before migrating to a new machine.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 231 installs · ★ 675 repo stars
- Author: sundial-org
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/sundial-org/awesome-openclaw-skills/tree/HEAD/skills/clawdbot-backup/SKILL.md
- Updated: 2026-03-07
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/clawdbot-backup

## What it does

The skill creates full archives of `~/.claude/` — skills, commands, `settings.json`, MCP configs, contexts, and templates — or narrower backups targeting only skills or only settings.

Under the hood it uses bash scripts built around `tar`, `rsync`, and `git`. A full backup packs the relevant directories into a timestamped `.tar.gz` and rotates old archives, keeping the last 10 by default. Git sync lets you version your configuration and move it between machines.

\`git`, `tar`, and `rsync` must all be available in `PATH` — the skill will not run without them.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add sundial-org/awesome-openclaw-skills --skill clawdbot-backup -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/clawdbot-backup/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/clawdbot-backup/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add sundial-org/awesome-openclaw-skills --skill clawdbot-backup -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/clawdbot-backup/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add sundial-org/awesome-openclaw-skills --skill clawdbot-backup -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/clawdbot-backup/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install sundial-org/awesome-openclaw-skills skills/clawdbot-backup
```

2. **Manually: put the files in place**
- File: `.github/skills/clawdbot-backup/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add sundial-org/awesome-openclaw-skills --skill clawdbot-backup -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/sundial-org/awesome-openclaw-skills --path skills/clawdbot-backup
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/clawdbot-backup/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add sundial-org/awesome-openclaw-skills --skill clawdbot-backup -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/sundial-org/awesome-openclaw-skills/tree/HEAD/skills/clawdbot-backup/SKILL.md

## When to use it
- archive all ClawdBot skills and commands before an upgrade
- migrate `~/.claude/` configuration to a new machine
- restore MCP configs and templates from a backup archive
- set up automatic rotation keeping the last N backups
- version-control ClawdBot config with git

## Example prompts
- Create a full backup of my ClawdBot config to `~/clawdbot-backups/`
- Restore settings from the latest archive in `~/clawdbot-backups/`
- Sync skills and commands between two machines via git

## Similar
- [backup-recovery](https://affpapa.org/en/nevibecode/skills/backup-recovery.md) — skill · 460 installs
- [cli-backup-sync](https://affpapa.org/en/nevibecode/skills/cli-backup-sync.md) — skill · 1300 installs
- [maxxing-backup](https://affpapa.org/en/nevibecode/skills/maxxing-backup.md) — skill · ★ 285 repo stars
- [convex-backup](https://affpapa.org/en/nevibecode/skills/convex-backup.md) — skill · 43800 installs
- [gke-backup-dr](https://affpapa.org/en/nevibecode/skills/gke-backup-dr.md) — skill · 6464 installs
- [omni-sync-cloud](https://affpapa.org/en/nevibecode/skills/omni-sync-cloud.md) — skill · 1300 installs

From the same set: [sundial-org/awesome-openclaw-skills](https://affpapa.org/en/nevibecode/by/sundial-org/awesome-openclaw-skills.md) — 37 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
