Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
Version History
- Added frontmatter metadata block to SKILL.md, including name, description, homepage, and tool requirements. - No changes to functionality or workflow; documentation content and usage instructions remain unchanged. - New metadata improves discoverability and integration in compatible platforms.
What This Skill Does
Backup, update, and restore workflow for Clawdbot installations. Reads workspace paths from config at runtime to detect all agent workspaces automatically. Supports dry-run previews, full backups, and rollback to any timestamped backup.
Workspace paths are read from config at runtime, so backup and restore work across any number of agents without manual path configuration.
When to use it
- Backing up Clawdbot state before upgrading to a new version
- Rolling back a failed update using a timestamped backup
- Previewing which files would be backed up without making changes
- Checking if upstream has new commits before starting an update
- Restoring credentials and agent workspaces after a failed migration
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: update Clawdbot to the latest version
- 1Run check-upstream.sh to confirm new commits are available
- 2Run backup-clawdbot-dryrun.sh to preview what will be backed up
- 3Run backup-clawdbot-full.sh to create a timestamped backup in ~/.clawdbot-backups/
- 4Pull latest code with git pull --rebase and rebuild with pnpm install && pnpm build
- 5Run pnpm clawdbot doctor --yes, then restart the gateway as a daemon
Clawdbot updated to latest version with a full backup stored for rollback if needed
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.