Preface¶
Developers running OpenClaw typically accumulate a set of things they can’t afford to lose: configurations, workspaces, extensions, and memory files. Manual tar or full-disk copies can serve as an emergency fix, but they are hard to maintain over the long term for an operational rhythm like “minimal disk writes on workdays, one full backup on weekends, automatic cleanup of expired backups,” and they also lack concurrency protection and post-backup verification.
The following introduces OpenClaw system automatic full and incremental backup (identifier @user_a8fdfe0b/openclaw-full-incremental-backup, version 2.0.0) on SkillHub. It packages the full/incremental strategies, retention periods, and the backup path (specified at installation time) into an Agent Skill, letting AI help you implement the automatic backup and restore workflow on the OpenClaw side according to the documentation.
What Is This¶
In one sentence: an OpenClaw fully automated backup and restore system that provides incremental backup capability for OpenClaw environments.
- Source: SkillHub community skill (
community), publisher identifieruser_a8fdfe0b; the SkillHub page displays the author as 「湖南橡树」. - Category:
it-ops-security. - Dependencies:
requires_api_key=false, no additional API key needed. - Platforms: Supports Linux / macOS; requires Python 3.8+.
The use case described in the official introduction is: protecting OpenClaw configurations, workspaces, extensions, and memory files, reducing the risk of data loss from accidental deletion, upgrade failures, or environment migration.
Core Features¶
All capabilities below come from the official SkillHub introduction; implementation details not expanded upon on the page are not speculated about in this article.
- True incremental backups: Incremental backup based on
tar --listed-incremental(the official copy writeslisted-increural, referring to the listed incremental mechanism). - Scheduling strategy: Automatic full backup every Saturday; incremental backups on workdays.
- Retention strategy: Full and incremental backups have 30 days / 180 days of retention respectively (the specific directory naming and cleanup logic is driven by instructions within the Skill).
- Reliability: Concurrency lock prevention and automatic integrity verification; automatic snapshot of the current directory before backup.
- Configurable paths: The backup path is specified by the user at installation time, making it easy to mount a separate disk or NAS.
Installation and Activation¶
SkillHub recommends two methods: install via CLI, or send the installation prompt to the current AI Agent.
1. Install the SkillHub CLI (if not already installed)¶
First confirm whether skillhub is already on your machine:
command -v skillhub && skillhub --version
If not installed, follow the SkillHub installation documentation to perform a complete installation (CLI + default Skill):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
When installing only the CLI:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
2. Install this Skill into the current Agent’s skills directory¶
During installation, --dir must point to the skills directory actually read by the current Agent; installing to the default ./skills/ may not be recognized. Common path examples given in the SkillHub documentation:
| Environment | skills directory (example) |
|---|---|
| Cursor | ~/.cursor/skills/ |
| Claude Code | ~/.claude/skills/ |
| Codex | ~/.codex/skills/ or .agents/skills/ under the project |
| Windsurf | ~/.codeium/windsurf/skills/ or .windsurf/skills/ |
The installation command takes the following form (replace <skills目录> with the corresponding path from the table above):
skillhub install @user_a8fdfe0b/openclaw-full-incremental-backup --dir <skills目录>
You can also directly send the prompt provided on the SkillHub page to the Agent:
请根据 https://skillhub.cn/install/skillhub.md,安装 `@user_a8fdfe0b/openclaw-full-incremental-backup`。
After installation completes, restart or refresh the Agent as required by your client so that the new Skill is loaded.
3. Key inputs when enabling¶
The official documentation emphasizes: the backup path is specified by the user at installation time. After enabling the Skill, you should clarify the backup storage location (local directory, mount point, etc.) in your conversation with the Agent, so that it aligns with the “Saturday full backup + workday incremental” strategy.
Typical Usage¶
The public page does not include a standalone shell script or configuration file sample; the typical usage is install the Skill → describe the OpenClaw environment and backup path in the Agent → follow the guidance in the Skill’s SKILL.md to complete backup/restore and verification.
The reproducible installation-side operations are the skillhub install command from the previous section or the official installation prompt. Backup scheduling (Saturday full backups, workday incrementals), 30/180-day retention, locking, and integrity verification behavior are governed by the Skill documentation and the Agent’s execution results; if you need to change cron or paths, state the constraints clearly in the conversation to avoid conflicts with the default strategy.
Applicable Scenarios and Notes¶
Who it’s for
- Those who run OpenClaw long-term on a local machine or server and need to regularly protect configurations, workspaces, extensions, and memory files.
- Those who want to use listed incremental backups to reduce daily backup IO, while retaining periodic full backups and automatic cleanup.
- Those using Linux or macOS with an environment satisfying Python 3.8+.
Limitations and Notes
- Only supports Linux / macOS; Windows is not listed in the official introduction.
- The backup path must be specified during the installation/configuration stage, and disk space and permissions must be sufficient to accommodate the accumulated full + incremental backups.
- SkillHub statistics (as shown on the page): rating 100000, downloads 1268, installs 1; it is community-sourced, so it is recommended to run a round of restore verification in a test environment before use.
- When there is no separate fork description for Cursor, Codex, Claude Code, etc., the difference lies mainly in the skills directory path; the installation command is the same.
Conclusion¶
openclaw系统自动全量和增量备份 packages the OpenClaw-side “full + incremental + retention + verification” workflow into an installable Agent Skill, reducing the repetitive labor of hand-writing tar and cron. If you want recoverable local backups for OpenClaw, you can install @user_a8fdfe0b/openclaw-full-incremental-backup from SkillHub and specify the backup path according to the documentation.
- SkillHub page: https://www.skillhub.cn/skills/user_a8fdfe0b/openclaw-full-incremental-backup
- API identifier page: https://api.skillhub.cn/user_a8fdfe0b/openclaw-full-incremental-backup
- Installation instructions: https://skillhub.cn/install/skillhub.md