技能详情(站内镜像,无评论)
许可证:MIT-0
MIT-0 ·免费使用、修改和重新分发。无需归因。
版本:v1.0.0
统计:⭐ 54 · 15.1k · 233 current installs · 240 all-time installs
⭐ 54
安装量(当前) 240
🛡 VirusTotal :良性 · OpenClaw :良性
Package:alex3alex/openclaw-backup
安全扫描(ClawHub)
- VirusTotal :良性
- OpenClaw :良性
OpenClaw 评估
The skill's files and instructions are coherent with a local backup/restore utility for ~/.openclaw; it backs up sensitive data (credentials, Telegram session) as expected but does not show signs of exfiltration or unrelated permissions requests.
目的
Name/description match the included script and docs: they create and rotate tar.gz archives of ~/.openclaw and provide restore steps. The items listed for backup (config, credentials, agents, workspace, telegram, cron) are consistent with a full OpenClaw backup.
说明范围
Runtime instructions stay within backup/restore scope, including running the included scripts and using tar for archiving. Notes: restore instructions call the 'openclaw' CLI (openclaw gateway stop/start/status) but the registry metadata does not declare that binary — this is expected for restoring a running product but should be confirmed present. The cron payload references running '~/.openclaw/backup.sh' whereas the provided script is at '.…
安装机制
No install spec — instruction-only plus a simple shell script. The script uses standard POSIX utilities (tar, mkdir, date, du, ls, xargs) and writes archives to the user's home directory; there are no downloads or extracts from remote URLs and no new binaries are installed.
证书
The skill requests no environment variables or external credentials. It does back up highly sensitive local data (credentials/telegram/agents). This is proportionate for a backup tool, but users should be aware backups contain secrets and protect the backup storage (consider encryption).
持久
always is false and the skill is user-invocable. The SKILL.md suggests adding a recurring OpenClaw cron entry; that causes scheduled backups within OpenClaw but is within the stated scope. No evidence the skill modifies other skills or system-wide settings.
综合结论
This skill appears to do what it says: locally archive ~/.openclaw (including credentials and Telegram session) and keep the last 7 archives. Before installing: (1) confirm you trust the skill because backups include secrets — store backups securely or encrypt them; (2) ensure the 'openclaw' CLI exists if you intend to use the restore steps; (3) fix the minor path inconsistency (SKILL.md cron JSON points to ~/.openclaw/backup.sh but the provid…
安装(复制给龙虾 AI)
将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。
请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「OpenClaw Backup」。简介:Backup and restore OpenClaw data. Use when user asks to create backups, set up …。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/alex3alex/openclaw-backup/SKILL.md
(来源:yingzhi8.cn 技能库)
SKILL.md
---
name: openclaw-backup
description: Backup and restore OpenClaw data. Use when user asks to create backups, set up automatic backup schedules, restore from backup, or manage backup rotation. Handles ~/.openclaw directory archiving with proper exclusions.
---
# OpenClaw Backup
Backup and restore OpenClaw configuration, credentials, and workspace.
## Create Backup
Run the backup script:
```bash
./scripts/backup.sh [backup_dir]
```
Default backup location: `~/openclaw-backups/`
Output: `openclaw-YYYY-MM-DD_HHMM.tar.gz`
## What Gets Backed Up
- `openclaw.json` — main config
- `credentials/` — API keys, tokens
- `agents/` — agent configs, auth profiles
- `workspace/` — memory, SOUL.md, user files
- `telegram/` — session data
- `cron/` — scheduled tasks
## Excluded
- `completions/` — cache, regenerated automatically
- `*.log` — logs
## Setup Daily Backup with Cron
Use OpenClaw cron for daily backups with notification:
```json
{
"name": "daily-backup",
"schedule": {"kind": "cron", "expr": "0 3 * * *", "tz": "UTC"},
"payload": {
"kind": "agentTurn",
"message": "Run ~/.openclaw/backup.sh and report result to user."
},
"sessionTarget": "isolated",
"delivery": {"mode": "announce"}
}
```
## Restore
See [references/restore.md](references/restore.md) for step-by-step restore instructions.
Quick restore:
```bash
openclaw gateway stop
mv ~/.openclaw ~/.openclaw-old
tar -xzf ~/openclaw-backups/openclaw-YYYY-MM-DD_HHMM.tar.gz -C ~
openclaw gateway start
```
## Rotation
Script keeps last 7 backups automatically.