← Back to Skills Marketplace
414
Downloads
0
Stars
1
Active Installs
3
Versions
Install in OpenClaw
/install myopenclaw-backup-restore
Description
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...
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install myopenclaw-backup-restore - After installation, invoke the skill by name or use
/myopenclaw-backup-restore - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 414 downloads so far.
How do I install MyOpenClaw Backup Restore?
Run "/install myopenclaw-backup-restore" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is MyOpenClaw Backup Restore free?
Yes, MyOpenClaw Backup Restore is completely free (open-source). You can download, install and use it at no cost.
Which platforms does MyOpenClaw Backup Restore support?
MyOpenClaw Backup Restore is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created MyOpenClaw Backup Restore?
It is built and maintained by beyound87 (@beyound87); the current version is v3.0.2.
More Skills