← 返回 Skills 市场
beyound87

MyOpenClaw Backup Restore

作者 beyound87 · GitHub ↗ · v3.0.2
cross-platform ⚠ suspicious
414
总下载
0
收藏
1
当前安装
3
版本数
在 OpenClaw 中安装
/install myopenclaw-backup-restore
功能描述
Cross-platform backup and restore for OpenClaw. Works on Windows, macOS, and Linux — backups created on any OS can be restored on any other OS. Use when user...
安全使用建议
This package appears to implement the advertised backup/restore functionality, including a local HTTP UI and upload/download endpoints. However: - Metadata mismatches: the package's _meta.json owner/version differ from the registry metadata and SKILL.md declares read/write ~/.openclaw and network listen while the registry shows no config paths — ask the publisher to explain these inconsistencies and confirm the canonical source. - External commands: the scripts call 'openclaw --version' and rely on tar or PowerShell Compress/Expand; ensure your system has these tools and that you trust the openclaw binary in PATH before running. - Sensitive data: backups include bot tokens/API keys/credentials. Only run this on machines you control, and never upload backups to public repos. The HTTP server requires a token, but tokens appear in generated download URLs and the UI HTML — avoid exposing the UI to untrusted networks and prefer localhost-only access. - Exec usage: the server and backup scripts use execSync to run shell commands. That is expected for archive operations but increases risk if you run the server with attacker-controlled BACKUP_DIR or if you expose the server to untrusted clients. Recommendations before installing/running: 1) Verify the author's identity and canonical source (homepage or repo). Resolve owner/version mismatches. 2) Inspect the full scripts locally (you already have them) and run in a sandbox or VM first. 3) Start the HTTP server only with a strong token and bind it to localhost; avoid exposing it publicly or behind untrusted proxies. 4) Back up current ~/.openclaw separately before running any restore. Use --dry-run first. If you want, I can point out any specific lines of code that implement the restore, restart, or server behaviors, or scan for risky shell invocations in the truncated parts of the scripts.
功能分析
Type: OpenClaw Skill Name: myopenclaw-backup-restore Version: 3.0.2 This skill bundle provides a high-capability backup and restore utility that centralizes all sensitive OpenClaw data, including API keys, bot tokens, and session histories from ~/.openclaw. While the code in scripts/backup-restore.js and scripts/server.js includes security features like token authentication, localhost-only restrictions for destructive actions, and permission hardening (chmod 600), the inherent risk of a tool that packages all system secrets into archives and serves them via a network-accessible HTTP server is significant. The use of execSync for shell operations and the management of credentials via a web UI (ui.html) represent a high-risk profile that, while aligned with the stated purpose, warrants caution and strict access control.
能力评估
Purpose & Capability
The name/description and the code align: the scripts read and write ~/.openclaw and create/restore archives. However the registry metadata omits some expected capabilities: the SKILL.md and code call external commands (openclaw --version, tar/powershell compress/expand) but the registry only declares 'node' as a required binary. The _meta.json ownerId/version don't match the registry metadata, which is an integrity inconsistency.
Instruction Scope
The SKILL.md and scripts perform precisely the backup/restore operations advertised (copying many OpenClaw config directories, creating pre-restore snapshots, hardening permissions, and providing a HTTP management server). These operations necessarily touch sensitive files (gateway tokens, API keys, credentials). The instructions and code do not instruct the agent to read unrelated host files beyond ~/.openclaw, which is appropriate for the stated purpose.
Install Mechanism
No install spec is provided (instruction-only install), and the code is included in the package. That reduces risk from remote installs. The code is plain Node.js scripts with no external download/install steps.
Credentials
The skill handles very sensitive secrets (bot tokens, API keys) by design but requests no environment variables. SKILL.md claims explicit read/write permission to ~/.openclaw and network:listen, but the registry metadata listed no required config paths or permissions — a mismatch. The HTTP server requires a token at startup (good), but the UI embeds the token in URLs (download links include ?token=...), which risks token leakage via logs/referrers if used remotely.
Persistence & Privilege
The skill is not force-included (always:false) and is user-invocable. It does not request persistent elevated privileges beyond reading/writing the OpenClaw data directory and optionally listening on localhost. Autonomous invocation is allowed (platform default) but that is not combined with 'always' or broad unrelated credential access.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install myopenclaw-backup-restore
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /myopenclaw-backup-restore 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v3.0.2
v3.0: Full rewrite. Auto-discover workspace-* dirs, extensions, clawhub, delivery-queue, memory index. Auto-discover channel dirs. Improved multipart upload. Removed redundant bash scripts. Pure Node.js cross-platform. Backward compatible with v1/v2.
v3.0.1
v3.0: Full rewrite. Auto-discover workspace-* dirs, extensions, clawhub, delivery-queue, memory index. Auto-discover channel dirs. Improved multipart upload. Removed redundant bash scripts. Pure Node.js cross-platform. Backward compatible with v1/v2.
v3.0.0
v3.0: Full rewrite. Auto-discover workspace-* dirs, extensions, clawhub, delivery-queue, memory index. Auto-discover channel dirs. Improved multipart upload. Removed redundant bash scripts. Pure Node.js cross-platform. Backward compatible with v1/v2.
元数据
Slug myopenclaw-backup-restore
版本 3.0.2
许可证
累计安装 1
当前安装数 1
历史版本数 3
常见问题

MyOpenClaw Backup Restore 是什么?

Cross-platform backup and restore for OpenClaw. Works on Windows, macOS, and Linux — backups created on any OS can be restored on any other OS. Use when user... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 414 次。

如何安装 MyOpenClaw Backup Restore?

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

MyOpenClaw Backup Restore 是免费的吗?

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

MyOpenClaw Backup Restore 支持哪些平台?

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

谁开发了 MyOpenClaw Backup Restore?

由 beyound87(@beyound87)开发并维护,当前版本 v3.0.2。

💬 留言讨论