← 返回 Skills 市场
synbraino

Openclaw Backup Skill

作者 Synbrain · GitHub ↗ · v0.2.2 · MIT-0
cross-platform ✓ 安全检测通过
137
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install openclaw-backup-skill
功能描述
Run and schedule local OpenClaw backup operations with a bundled Bash script. Use when the user wants to create, prune, or automate local OpenClaw backups, i...
安全使用建议
This skill appears to be a straightforward local backup/prune script for OpenClaw. Before installing or running it, review and consider the following: - The script will archive workspace contents including assistant identity/continuity files (SOUL.md, AGENTS.md, USER.md). Those files can contain sensitive context — ensure you are comfortable storing them in the chosen backup directory and that the directory has appropriate filesystem permissions and backups are stored securely. - Ensure the target host has the OpenClaw CLI, python3, tar, and other standard utilities the script expects; the registry metadata did not list these requirements, so verify them manually (SKILL.md and the script list the required commands). - The skill is local-only (no uploader) based on the provided files, but you should still scan the full script for any network or external command usage if you have security requirements; the provided content shows no network calls, but the script was truncated in the listing—review the entire script before running it. - When automating (cron/systemd), ask the user for explicit permission before creating or modifying scheduled jobs or automated runs, and choose a secure output directory (default is next to the resolved OpenClaw state dir, e.g., ~/backups/openclaw). - If you need to avoid including identity/continuity files in backups, either modify the script (or ask the user) to exclude them or test dry-run modes first to verify the manifest contents.
功能分析
Type: OpenClaw Skill Name: openclaw-backup-skill Version: 0.2.2 The skill bundle provides a legitimate utility for creating and managing local OpenClaw backups. The primary script, `scripts/openclaw-backup.sh`, follows security best practices by setting a restrictive umask (077), failing on errors, and explicitly excluding sensitive environment variables and system override files from the backup archives. The logic for retention and pruning is transparently implemented using localized Python helpers for safe date and JSON processing, and there is no evidence of data exfiltration, obfuscation, or unauthorized persistence.
能力评估
Purpose & Capability
The skill name, description, SKILL.md, spec.md, and bundled script all align: this is a local backup/prune/schedule helper for OpenClaw. One minor inconsistency: registry metadata lists no required binaries, but the script clearly requires the OpenClaw CLI plus common utilities (python3, tar, date, mktemp, etc.). That omission in metadata is likely an authoring oversight, not malicious, but it matters operationally (the environment must supply those commands).
Instruction Scope
SKILL.md instructs the agent to use the bundled script and not to reimplement the logic. The script operates on the local filesystem, resolves the OpenClaw workspace/config, creates tar.gz archives, and prunes archives according to retention rules. It explicitly includes workspace contents (including assistant identity/continuity files such as SOUL.md, AGENTS.md) in backups and explicitly excludes environment variables and system env. All referenced file reads and actions are consistent with a backup tool's purpose. Note: backing up assistant identity and workspace files is expected for a workspace backup but is sensitive and should be disclosed to users.
Install Mechanism
There is no install specification — the skill is instruction-only with a bundled script. This is low-risk from an installation perspective because nothing is downloaded or written to disk by an installer; the only code shipped is the included script.
Credentials
The registry shows no required environment variables, but the script reads/uses OpenClaw-related env vars (OPENCLAW_STATE_DIR, OPENCLAW_CONFIG_PATH) as overrides and invokes the OpenClaw CLI. The script's use of these env vars and the OpenClaw CLI is proportional to backing up OpenClaw state. However the omission of required binaries/envs in metadata reduces transparency and could lead to runtime surprises.
Persistence & Privilege
The skill does not request permanent inclusion (always:false) and does not attempt to modify other skills or system-wide agent settings. It runs locally when invoked and uses local filesystem operations; autonomy is allowed by platform default but the skill itself does not request elevated persistence.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install openclaw-backup-skill
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /openclaw-backup-skill 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.2.2
Initial public release of the OpenClaw Backup Skill with auto/manual modes, deterministic prune, rolling recent retention, and recovery-oriented backup metadata.
元数据
Slug openclaw-backup-skill
版本 0.2.2
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Openclaw Backup Skill 是什么?

Run and schedule local OpenClaw backup operations with a bundled Bash script. Use when the user wants to create, prune, or automate local OpenClaw backups, i... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 137 次。

如何安装 Openclaw Backup Skill?

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

Openclaw Backup Skill 是免费的吗?

是的,Openclaw Backup Skill 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Openclaw Backup Skill 支持哪些平台?

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

谁开发了 Openclaw Backup Skill?

由 Synbrain(@synbraino)开发并维护,当前版本 v0.2.2。

💬 留言讨论