← 返回 Skills 市场
hacksing

safe-backup

作者 AIWareTop · GitHub ↗ · v1.0.5
cross-platform ✓ 安全检测通过
831
总下载
0
收藏
2
当前安装
6
版本数
在 OpenClaw 中安装
/install safe-backup
功能描述
Backup OpenClaw state directory and workspace. Includes excluding sensitive files, packaging for backup. Triggered when user asks to backup, export, or save...
安全使用建议
This skill appears to do what it says, but before installing or running: 1) verify rsync and tar are available on your environment (Windows may need Git Bash/MSYS/WSL); 2) review the generated tarball contents before uploading anywhere — the script excludes many sensitive patterns but you should still inspect the archive; 3) encrypt backups before storing in the cloud or a repo; 4) be aware auth-profiles.json and other credential files are intentionally excluded and you will need to re-authenticate services after restore; and 5) if you want automated remote upload, implement it separately and review its access requirements (this script does not perform remote uploads itself).
功能分析
Type: OpenClaw Skill Name: safe-backup Version: 1.0.5 The 'safe-backup' skill is designed to securely back up OpenClaw state and workspace directories. Both the `SKILL.md` documentation and the `scripts/backup.sh` script explicitly define and implement extensive exclusion patterns for sensitive files such as API keys, credentials, environment variables, and SSH keys. The `backup.sh` script performs only local file system operations (copying with `rsync`, archiving with `tar`, and cleaning up temporary files) and does not initiate any network connections or data exfiltration. While `SKILL.md` suggests optional manual steps for storing backups to remote locations (e.g., private GitHub repositories or remote rsync servers), these are presented as post-backup user actions with security best practices (encryption, private repos) and are not part of the automated script's execution. There is no evidence of malicious intent, obfuscation, or prompt injection designed to compromise the agent or exfiltrate data.
能力评估
Purpose & Capability
The name/description match the code and SKILL.md: the script copies ~/.openclaw and workspace, excludes sensitive patterns, and packages a tar.gz. The guidance about storing or pushing backups is advisory only and not automated.
Instruction Scope
Runtime instructions and the script operate on local filesystem paths and temporary directories and only produce a local tarball. The script reads optional environment variables OPENCLAW_STATE_DIR and OPENCLAW_WORKSPACE_DIR (not declared in metadata) and relies on standard commands (rsync, tar). It does not upload data or transmit secrets by itself, but it instructs the user how to push to a remote repo (manual steps).
Install Mechanism
No install spec (instruction-only with a shipped script) — low risk. The script uses standard system tools (rsync, tar). Note: rsync is assumed available but may be absent on some Windows setups; SKILL.md calls this out.
Credentials
The skill declares no required credentials or env vars, which is appropriate. The script optionally respects OPENCLAW_STATE_DIR and OPENCLAW_WORKSPACE_DIR and uses $HOME/$TMPDIR/$TEMP — reasonable for locating files. No secrets are requested or written by the skill. Users should note that excluded files (e.g., auth-profiles.json) are intentionally not backed up and must be re-authenticated after restore.
Persistence & Privilege
The skill is not forced-always, does not modify other skills or global agent settings, and does not persist credentials. Autonomous invocation is allowed (platform default) but the skill's actions are local and user-invocable.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install safe-backup
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /safe-backup 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.5
- Added comprehensive cross-platform and migration documentation, including Windows and macOS support details. - Clarified temporary file locations for Linux, macOS, and Windows environments in backup output examples. - Expanded and documented the list of excluded files/directories to improve backup security and avoid sensitive/cache files. - Provided detailed migration checklist and platform-specific instructions for backup and restore on Git Bash, WSL, Linux, and macOS. - Improved instructions for verifying and locating backup files, making workflows clearer for both regular backups and migrations.
v1.0.4
No changes in this release. - Version bumped to 1.0.4 with no file changes detected. - Functionality and documentation remain unchanged from the previous version.
v1.0.3
Version 1.0.3 of safe-backup contains no detected file changes. - No updates, bugfixes, or documentation changes were made in this version. - All functionality and usage remains the same as previous release.
v1.0.2
Version 1.0.2 of safe-backup - No file changes detected from the previous version. - Documentation content in SKILL.md remains unchanged.
v1.0.1
- Major documentation overhaul to improve clarity, safety, and backup/restore instructions. - Added comprehensive security warnings and highlighted excluded highly sensitive files (auth, credentials). - Detailed backup and storage workflows, including options for encryption and private GitHub repositories. - Step-by-step restore process now covers authentication reconfiguration due to excluded credentials. - Introduced environment variables and troubleshooting section for easier customization and support. - Outlined best backup practices for safety and reliability.
v1.0.0
Initial release of safe-backup skill: - Enables backup of OpenClaw state directory and workspace. - Excludes log files and session data for privacy. - Packages selected data for backup and integrates with GitHub workflows. - Provides step-by-step instructions for backup, excluding sensitive files, and restoring state.
元数据
Slug safe-backup
版本 1.0.5
许可证
累计安装 2
当前安装数 2
历史版本数 6
常见问题

safe-backup 是什么?

Backup OpenClaw state directory and workspace. Includes excluding sensitive files, packaging for backup. Triggered when user asks to backup, export, or save... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 831 次。

如何安装 safe-backup?

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

safe-backup 是免费的吗?

是的,safe-backup 完全免费(开源免费),可自由下载、安装和使用。

safe-backup 支持哪些平台?

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

谁开发了 safe-backup?

由 AIWareTop(@hacksing)开发并维护,当前版本 v1.0.5。

💬 留言讨论