← 返回 Skills 市场
cccarv82

Openclaw Backup Optimized

作者 cccarv82 · GitHub ↗ · v1.0.1
cross-platform ⚠ suspicious
2711
总下载
4
收藏
12
当前安装
2
版本数
在 OpenClaw 中安装
/install 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.
安全使用建议
This skill is what it claims to be: a backup script for your OpenClaw home. Before installing or scheduling it, review the script (scripts/backup.js) yourself and confirm you are comfortable with what will be copied. Pay special attention to BACKUP_REPO_URL: if you set it, the script will git push (force) the backup contents to that remote — only use a trusted, private repository. Also verify BACKUP_CHANNEL_ID because notifications go through the OpenClaw gateway (openclaw message send). Run the script manually once, inspect the generated backup directory (~/.openclaw-backup by default) and backup-report.json, and ensure any git credentials and remote settings are intentional before enabling the cron entry.
功能分析
Type: OpenClaw Skill Name: openclaw-backup-optimized Version: 1.0.1 The skill is designed to back up the entire OpenClaw home directory (`~/.openclaw`) and push it to a user-configured Git repository (`BACKUP_REPO_URL`) using `git push --force`. While this aligns with the stated purpose of a backup skill, it involves handling highly sensitive data and exfiltrating it to an external endpoint, which, if misconfigured or pointed to a malicious repository, could lead to data theft or loss. The use of `git push --force` is a powerful and potentially destructive operation. These capabilities, though plausibly needed for a backup, are high-risk and warrant a 'suspicious' classification due to the potential for misuse or unintended consequences, as seen in `scripts/backup.js` and `SKILL.md`.
能力评估
Purpose & Capability
Name/description match the code and docs: scripts/backup.js implements full snapshots of ~/.openclaw, workspace tar+split, SHA256, retention, notifications, and optional pushing to a git repo. The declared registry metadata lists no required env vars but the SKILL.md and script clearly document several environment variables the script honors (OPENCLAW_HOME, OPENCLAW_BACKUP_DIR, BACKUP_REPO_URL, BACKUP_CHANNEL_ID, BACKUP_TZ, BACKUP_MAX_HISTORY) — this mismatch is minor and likely documentation/metadata oversight.
Instruction Scope
SKILL.md instructs copying the script into ~/.openclaw/workspace/tools, running it with node, and adding an openclaw cron entry. The runtime instructions and the script operate only on the OpenClaw home/backup paths and use 'openclaw message send' for notifications. They do not try to read unrelated system files. Important behavior: if BACKUP_REPO_URL is set the script will add a git remote and force-push the backup repo, which will transmit backup contents to that remote.
Install Mechanism
There is no remote install or download; the skill is instruction-plus-local-script. package.json lists small, standard dependencies (minimatch, tar). No network downloads or extract-from-URL install steps are present in the manifest.
Credentials
The registry lists no required env vars, but both SKILL.md and the script rely on multiple environment variables. The script will send data externally only if configured (BACKUP_REPO_URL for git push and BACKUP_CHANNEL_ID for gateway notifications). That behavior is expected for a backup tool, but it has real exfiltration potential: setting BACKUP_REPO_URL to an external/unknown repository will upload your OpenClaw data (which may contain secrets). The skill itself does not request API tokens, but git pushes may use whatever system git credentials are available.
Persistence & Privilege
always:false (not force-included). The skill does ask the operator to place a script in the user's OpenClaw tools directory and to create a cron job via the OpenClaw cron command (which schedules jobs in the gateway environment). This is normal for a scheduled backup workflow and it does not modify other skills or global agent settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install openclaw-backup-optimized
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /openclaw-backup-optimized 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Added separate environment variable setup instructions for Windows (PowerShell) in addition to macOS/Linux. - Clarified the script and path examples to use user home directories consistently (e.g., ~/.openclaw). - Specified that OpenClaw cron jobs run in the gateway environment. - Improved formatting and OS-specific guidance for easier installation and setup.
v1.0.0
- Initial release of the optimized OpenClaw backup skill. - Automates full workspace snapshot creation with archive splitting (~90MB parts) and SHA256 integrity checks. - Provides rich Discord notifications including change summaries and step-by-step restore instructions. - Retains up to N recent backup reports for easier history tracking. - Includes reference config guide and cross-platform script (`backup.js`); replaces older shell-based workflow.
元数据
Slug openclaw-backup-optimized
版本 1.0.1
许可证
累计安装 13
当前安装数 12
历史版本数 2
常见问题

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. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2711 次。

如何安装 Openclaw Backup Optimized?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install openclaw-backup-optimized」即可一键安装,无需额外配置。

Openclaw Backup Optimized 是免费的吗?

是的,Openclaw Backup Optimized 完全免费(开源免费),可自由下载、安装和使用。

Openclaw Backup Optimized 支持哪些平台?

Openclaw Backup Optimized 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Openclaw Backup Optimized?

由 cccarv82(@cccarv82)开发并维护,当前版本 v1.0.1。

💬 留言讨论