openclaw-backup-optimized
Optimized OpenClaw backup skill for creating full snapshots with workspace archive splitting, change summaries, restore instructions, and Discord notifications. Use when you need to set up or run automated backups, configure backup cron jobs, or document/restore OpenClaw state. Triggers on backup automation, backup scripts, snapshot/restore, or GitHub backup repos.
Best use case
openclaw-backup-optimized is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Optimized OpenClaw backup skill for creating full snapshots with workspace archive splitting, change summaries, restore instructions, and Discord notifications. Use when you need to set up or run automated backups, configure backup cron jobs, or document/restore OpenClaw state. Triggers on backup automation, backup scripts, snapshot/restore, or GitHub backup repos.
Teams using openclaw-backup-optimized should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/openclaw-backup-optimized/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How openclaw-backup-optimized Compares
| Feature / Agent | openclaw-backup-optimized | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Optimized OpenClaw backup skill for creating full snapshots with workspace archive splitting, change summaries, restore instructions, and Discord notifications. Use when you need to set up or run automated backups, configure backup cron jobs, or document/restore OpenClaw state. Triggers on backup automation, backup scripts, snapshot/restore, or GitHub backup repos.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# OpenClaw Backup (Optimized) ## What this skill does Use this skill to **install, configure, and run** the optimized OpenClaw backup workflow: - Full snapshot of `~/.openclaw` - Workspace archive split into ~90MB parts + SHA256 - Rich Discord notification (summary + restore steps) - Retention of last N reports ## Files - Script: `scripts/backup.js` (cross-platform) - Reference config: `references/CONFIG.md` ## Install / Setup 1) Copy the script into your tools folder: ```bash cp scripts/backup.js ~/.openclaw/workspace/tools/openclaw-backup.js ``` 2) Configure env vars (see references/CONFIG.md): **macOS/Linux (bash/zsh):** ```bash export OPENCLAW_HOME="$HOME/.openclaw" export OPENCLAW_BACKUP_DIR="$HOME/.openclaw-backup" export BACKUP_REPO_URL="https://github.com/your/repo.git" export BACKUP_CHANNEL_ID="1234567890" export BACKUP_TZ="America/Sao_Paulo" export BACKUP_MAX_HISTORY=7 ``` **Windows (PowerShell):** ```powershell $env:OPENCLAW_HOME="$env:USERPROFILE\.openclaw" $env:OPENCLAW_BACKUP_DIR="$env:USERPROFILE\.openclaw-backup" $env:BACKUP_REPO_URL="https://github.com/your/repo.git" $env:BACKUP_CHANNEL_ID="1234567890" $env:BACKUP_TZ="America/Sao_Paulo" $env:BACKUP_MAX_HISTORY="7" ``` 3) Run once: ```bash node ~/.openclaw/workspace/tools/openclaw-backup.js ``` 4) Create cron (OpenClaw cron runs in the gateway environment): ```bash openclaw cron add --name "openclaw-backup-daily" \ --cron "0 5,10,15,20 * * *" --tz "America/Sao_Paulo" \ --exec "node ~/.openclaw/workspace/tools/openclaw-backup.js" ``` ## Restore Use the restore instructions printed in the backup notification. ## Notes - Excludes noisy session lock/deleted files for smaller diffs. - Requires `git` and `node` (>=18). - Uses `openclaw message send` for notifications (no webhook). - `scripts/openclaw-backup.sh` is legacy (Linux/macOS) and will be removed; use `backup.js`.
Related Skills
OpenClaw-Finnhub
OpenClaw skill for real-time stock quote, and financials via Finnhub API.
openclaw-nextcloud
Manage Notes, Tasks, Calendar, Files, and Contacts in your Nextcloud instance via CalDAV, WebDAV, and Notes API. Use for creating notes, managing todos and calendar events, uploading/downloading files, and managing contacts.
openclaw-safety-coach
Safety coach for OpenClaw users. Refuses harmful, illegal, or unsafe requests and provides practical guidance to reduce ecosystem risk (malicious skills, tool abuse, secret exfiltration, prompt injection).
openclaw
openclaw
backup
Backup and restore openclaw configuration, skills, commands, and settings. Sync across devices, version control with git, automate backups, and migrate to new machines.
openclaw-spacesuit
**A framework scaffold for OpenClaw workspaces.**
nutrient-openclaw
Document processing for OpenClaw — convert, extract, OCR, redact, sign, and watermark PDFs and Office documents using the Nutrient DWS API. Use when asked to convert documents (DOCX/XLSX/PPTX to PDF, PDF to images or Office formats), extract text or tables from PDFs, apply OCR to scanned documents, redact sensitive information or PII, add watermarks, or digitally sign documents. Triggers on "convert to PDF", "extract text", "OCR this", "redact PII", "watermark", "sign document", or any document processing request.
openclaw-setup
Set up a complete OpenClaw personal AI assistant from scratch using Claude Code. Walks through AWS provisioning, OpenClaw installation, Telegram bot creation, API configuration, Google Workspace integration, security hardening, and all power features. Give this to Claude Code and it handles the rest.
OpenClaw Optimizer Skill
## Overview
openclaw-backup
Enhanced backup and restore for openclaw configuration, skills, commands, and settings. Sync across devices, version control with git, automate backups, and migrate to new machines with advanced compression.
safe-backup
Backup OpenClaw state directory and workspace.
openclaw-trakt
Track and recommend TV shows and movies using Trakt.tv. Use when the user asks for show/movie recommendations, wants to track what they're watching, check their watchlist, or get personalized suggestions based on their viewing history. Requires Trakt.tv account with Pro subscription for full functionality.