← 返回 Skills 市场
teldyang

openclaw-backup-yyc

作者 TeldYang · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
102
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install openclaw-backup-yyc
功能描述
OpenClaw 数据备份与恢复工具。⚠️ 触发条件:用户消息必须精确等于"备份openclaw数据"、"恢复openclaw数据"(中文)或"backup openclaw data"、"restore openclaw data"(英文),其中 openclaw 不区分大小写。其他任何输入(包括部分关键词如"...
安全使用建议
This skill appears to be a straightforward local backup/restore tool. Before installing/running it: 1) review the two bundled scripts (backup.py, restore.py) yourself — they will run locally and operate on ~/.openclaw or the directory in OPENCLAW_DIR if set; 2) ensure you have Python and (optionally) curl on the host if you want the public-IP scp example to work; 3) note the backup script queries external IP services to display an scp command (no data from your system is sent other than the IP lookup), and no credentials are requested or exfiltrated; 4) the tool advises you to download backups off the server—follow that advice if backing up remote hosts; 5) if you do not trust the source, do not run the scripts with elevated privileges (avoid running as root).
功能分析
Type: OpenClaw Skill Name: openclaw-backup-yyc Version: 1.0.0 The skill bundle provides a functional utility for backing up and restoring OpenClaw configuration and data. The Python scripts (backup.py and restore.py) perform standard file operations, such as directory archiving and renaming existing folders for safety before restoration. While the backup script makes external network calls to several IP-discovery services (e.g., ip.tag.gg, ifconfig.me) to provide the user with a convenient SCP download command, the behavior is transparently documented and aligned with the stated purpose. There is no evidence of malicious intent, data exfiltration, or unauthorized execution.
能力评估
Purpose & Capability
Name/description describe a backup/restore tool and the included scripts (backup.py, restore.py) implement those functions. The files accessed (~/.openclaw) and flows (create tar.gz, list/restore archives) match the stated purpose.
Instruction Scope
SKILL.md instructs running the included Python scripts and to ask for user confirmation before operations, which matches the scripts' behavior. The backup script also attempts to resolve the server's public IP by invoking curl against several external services to produce an scp example; this network lookup is a minor side-effect not documented in SKILL.md but is explainable (for showing SCP command).
Install Mechanism
No install spec — instruction-only with bundled scripts. Nothing is downloaded or written to disk by an installer. Risk surface is limited to the provided Python scripts being executed locally.
Credentials
No required environment variables or credentials are declared. The scripts optionally honor OPENCLAW_DIR if present (not listed in requires.env) and call out to external IP services via curl. No secrets (API keys, tokens, passwords) are requested. The optional use of OPENCLAW_DIR should be noted but is proportionate to locating the data directory.
Persistence & Privilege
always is false and the skill does not request persistent or cross-skill configuration. It does not modify other skills or system-wide settings. Autonomous invocation is the platform default and not a special privilege here.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install openclaw-backup-yyc
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /openclaw-backup-yyc 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
============================================================ OpenClaw 数据备份与恢复工具 - 使用说明(中文版) ============================================================ 一、触发条件(精确匹配) 命令 功能 备份openclaw数据 执行备份 恢复openclaw数据 执行恢复 注意:openclaw 不区分大小写,但其他部分必须精确匹配。 以下输入不会触发此技能,会被当作普通对话处理: - 备份、请备份、帮我备份、怎么备份、备份OpenClaw - 恢复、请恢复、帮我恢复、恢复数据 二、备份流程 步骤1:输入命令「备份openclaw数据」 步骤2:系统显示备份范围提示 步骤3:回复「确认」或「取消」 步骤4:确认后自动创建备份压缩包 步骤5:显示备份文件路径、大小、SCP下载命令 三、恢复流程 步骤1:输入命令「恢复openclaw数据」 步骤2:系统列出所有可用备份(表格形式) 步骤3:输入序号选择备份(直接回车选最新) 步骤4:系统显示恢复警告 步骤5:回复「确认」或「取消」 步骤6:确认后执行恢复,现有文件夹自动重命名备份 四、备份内容 目录/文件 说明 openclaw.json 主配置文件 workspace/ 工作空间 agents/ 多代理配置 cron/ 定时任务数据 media/ 媒体缓存 五、备份文件命名格式 OpenClaw-Backup-YYC-YYYYMMDD-HHMMSS.tar.gz 示例:OpenClaw-Backup-YYC-20260404-221500.tar.gz 六、注意事项 1. 只备份 ~/.openclaw/ 目录下的默认内容 2. 恢复前建议再次备份当前数据 3. 恢复后需重启 Gateway:openclaw gateway restart 4. 备份文件建议下载到本地保存 5. 其他目录的文件不会被备份,需自行处理 ============================================================ OpenClaw Backup & Restore Tool - User Guide (English) ============================================================ 1. Trigger Conditions (Exact Match) Command Function backup openclaw data Execute backup restore openclaw data Execute restore Note: openclaw is case-insensitive, but other parts must match exactly. These inputs will NOT trigger this skill and will be treated as normal chat: - backup, please backup, help me backup - restore, please restore, restore data 2. Backup Flow Step 1: Input command "backup openclaw data" Step 2: System displays backup scope warning Step 3: Reply "confirm" or "cancel" Step 4: After confirmation, backup archive is created automatically Step 5: Display backup file path, size, SCP download command 3. Restore Flow Step 1: Input command "restore openclaw data" Step 2: System lists all available backups (table format) Step 3: Input sequence number to select (press Enter for latest) Step 4: System displays restore warning Step 5: Reply "confirm" or "cancel" Step 6: After confirmation, restore executes; existing folders are renamed 4. Backup Content Directory/File Description openclaw.json Main config file workspace/ Workspace agents/ Multi-agent config cron/ Cron data media/ Media cache 5. Backup File Naming Format OpenClaw-Backup-YYC-YYYYMMDD-HHMMSS.tar.gz Example: OpenClaw-Backup-YYC-20260404-221500.tar.gz 6. Notes 1. Only backs up default content in ~/.openclaw/ directory 2. Recommend backing up current data before restore 3. Restart Gateway after restore: openclaw gateway restart 4. Recommend downloading backup files locally 5. Files in other directories will NOT be backed up
元数据
Slug openclaw-backup-yyc
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

openclaw-backup-yyc 是什么?

OpenClaw 数据备份与恢复工具。⚠️ 触发条件:用户消息必须精确等于"备份openclaw数据"、"恢复openclaw数据"(中文)或"backup openclaw data"、"restore openclaw data"(英文),其中 openclaw 不区分大小写。其他任何输入(包括部分关键词如"... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 102 次。

如何安装 openclaw-backup-yyc?

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

openclaw-backup-yyc 是免费的吗?

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

openclaw-backup-yyc 支持哪些平台?

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

谁开发了 openclaw-backup-yyc?

由 TeldYang(@teldyang)开发并维护,当前版本 v1.0.0。

💬 留言讨论