skills$openclaw/simple-backup
vacinc2.7k

by vacinc

simple-backup – OpenClaw Skill

simple-backup is an OpenClaw Skills integration for security workflows. Backup agent brain (workspace) and body (state) to local folder and optionally sync to cloud via rclone.

2.7k stars834 forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026security

Skill Snapshot

namesimple-backup
descriptionBackup agent brain (workspace) and body (state) to local folder and optionally sync to cloud via rclone. OpenClaw Skills integration.
ownervacinc
repositoryvacinc/simple-backup
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @vacinc/simple-backup
last updatedFeb 7, 2026

Maintainer

vacinc

vacinc

Maintains simple-backup in the OpenClaw Skills directory.

View GitHub profile
File Explorer
4 files
.
_meta.json
808 B
package.json
371 B
simple-backup.sh
5.6 KB
SKILL.md
2.4 KB
SKILL.md

name: simple-backup description: Backup agent brain (workspace) and body (state) to local folder and optionally sync to cloud via rclone. metadata: {"openclaw":{"emoji":"💾","requires":{"bins":["rclone","gpg","tar","jq"]}}}

Simple Backup

A robust backup script that:

  1. Auto-detects workspace and state directories from OpenClaw config
  2. Allows overrides for custom/non-standard setups
  3. Compresses & encrypts using GPG (AES256)
  4. Prunes old backups (Daily/Hourly retention)
  5. Syncs to cloud via rclone (optional)

Setup

  1. Dependencies:

    brew install rclone gnupg jq
    
  2. Password: Set encryption password (choose one):

    • File: ~/.openclaw/credentials/backup.key (recommended)
    • Env: export BACKUP_PASSWORD="secret"
    • Config: Add "password": "secret" to skill config
  3. Cloud (Optional):

    rclone config
    

Usage

simple-backup

Auto-Detection

By default, paths are auto-detected from ~/.openclaw/openclaw.json:

  • Workspace: agents.defaults.workspace
  • State: ~/.openclaw (where config lives)
  • Backup root: <workspace>/BACKUPS

Custom Configuration

For non-standard setups, override any path in ~/.openclaw/openclaw.json:

{
  "skills": {
    "entries": {
      "simple-backup": {
        "config": {
          "workspaceDir": "/custom/path/workspace",
          "stateDir": "/custom/path/state",
          "skillsDir": "/custom/path/skills",
          "backupRoot": "/custom/path/backups",
          "remoteDest": "gdrive:backups"
        }
      }
    }
  }
}

Configuration Reference

Config KeyEnv VarAuto-DetectedDescription
workspaceDirBRAIN_DIRagents.defaults.workspaceAgent workspace
stateDirBODY_DIR~/.openclawOpenClaw state dir
skillsDirSKILLS_DIR~/openclaw/skillsSkills directory
backupRootBACKUP_ROOT<workspace>/BACKUPSLocal backup storage
remoteDestREMOTE_DEST(none)Rclone remote path
maxDaysMAX_DAYS7Days to keep daily backups
hourlyRetentionHoursHOURLY_RETENTION_HOURS24Hours to keep hourly
passwordBACKUP_PASSWORD(none)Encryption password

Priority: Config file → Env var → Auto-detect

README.md

No README available.

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

  • OpenClaw CLI installed and configured.
  • Language: Markdown
  • License: MIT
  • Topics:

Configuration

For non-standard setups, override any path in `~/.openclaw/openclaw.json`: ```json { "skills": { "entries": { "simple-backup": { "config": { "workspaceDir": "/custom/path/workspace", "stateDir": "/custom/path/state", "skillsDir": "/custom/path/skills", "backupRoot": "/custom/path/backups", "remoteDest": "gdrive:backups" } } } } } ```

FAQ

How do I install simple-backup?

Run openclaw add @vacinc/simple-backup in your terminal. This installs simple-backup into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/vacinc/simple-backup. Review commits and README documentation before installing.