Agent skill · software engineering · sundial-org
simple-backup
Backup agent brain (workspace) and body (state) to local folder and optionally sync to cloud via rclone.
Why this skill is useful
Adds an executable backup script with encryption and cloud sync capabilities that the AI cannot generate on its own.
What it needs
Requires gpg, rclone, tar installed locally. About 1k tokens when loaded. Last updated 2026-03-07. 639 stars on the source repository.
What this skill does
Simple Backup A robust backup script that: 1. Stages: Copies ~/clawd (workspace), ~/.clawdbot (state), and skills/. 2. Compresses: Creates a .tgz archive. 3. Encrypts: AES256 encryption using GPG (password required). 4. Prunes: Rotates backups (Daily/Hourly retention). 5. Syncs: Optionally pushes to a cloud provider via rclone. Setup 1. Dependencies: Ensure rclone and gpg are installed (brew install rclone gnupg). 2. Password: Set the encryption password: Env Var: export BACKUPPASSWORD="my-secret-password" File: ~/.clawdbot/credentials/backup.key 3. Cloud (Optional): Configure an rclone remote: Usage Run the backup: Configuration You can override defaults with environment variables: Variable Default Description ---------- --------- ------------- BACKUPROOT ~/clawd/BACKUPS Local storage location REMOTEDEST (empty) Rclone path (e.g. gdrive:backups) MAXDAYS 7 Days to keep daily backups HOURLYRETENTIONHOURS 24 Hours to keep hourly backups
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills sundial-org/simple-backup