← 返回 Skills 市场
Config Rollback
作者
echoflying
· GitHub ↗
· v1.0.2
· MIT-0
244
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install openclaw-config-rollback
功能描述
OpenClaw 配置回滚管理 - 备份、超时保护、自动回滚
安全使用建议
This skill appears internally consistent and implements a local backup-and-rollback flow. Before enabling or running the installer, review the provided scripts yourself (prepare-config-change.sh, rollback-guardian.sh, install.sh, config-alias.sh). Note the script will:
- copy files into ~/.openclaw and create ~/.openclaw/backups
- add a per-user cron job that runs every minute (crontab modification)
- invoke the local openclaw CLI to check status and restart the gateway
- automatically copy the most recent backup back to ~/.openclaw/openclaw.json after a 5-minute timeout
Actions you may want to take first:
- Inspect the scripts to confirm they contain only the shown behavior and no additional commands or network calls.
- Backup your existing ~/.openclaw/openclaw.json and your current crontab (crontab -l > crontab.bak).
- Confirm the openclaw CLI behaves as expected on your system (openclaw gateway status/restart).
- Be aware the scripts use date -v+5M which is BSD/macOS-specific and may behave differently on some Linux distributions; test in a safe environment.
If you trust the author and are comfortable with the cron-based guardian behavior, the skill is coherent for its stated purpose. If you do not trust the source, do not run the install script and inspect the code in a sandbox first.
功能分析
Type: OpenClaw Skill
Name: openclaw-config-rollback
Version: 1.0.2
The skill bundle provides a legitimate utility for managing configuration backups and automated rollbacks for the OpenClaw gateway. It uses shell scripts (prepare-config-change.sh, rollback-guardian.sh) and a cron job to monitor system state and restore previous configurations if a timeout occurs. No evidence of data exfiltration, malicious obfuscation, or unauthorized remote access was found; all high-risk actions (like crontab modification in install.sh) are consistent with the stated purpose of providing a 'guardian' service.
能力评估
Purpose & Capability
Name/description (config backup, timeout protection, automatic rollback) match the provided scripts and README. Required binary is only bash and the scripts act on ~/.openclaw and the openclaw CLI, which is appropriate for the stated purpose.
Instruction Scope
SKILL.md and the shell scripts confine their actions to the user's home (~/.openclaw), workspace docs, /tmp logs, and the local openclaw CLI. They create backups, write a state file, update a PENDING_VERIFICATION.md, and call openclaw gateway status/restart — all within the expected scope.
Install Mechanism
No network downloads or external installers are used. An install.sh is provided that copies bundled scripts into ~/.openclaw and adds a cron entry. This is a typical local, instruction-only install and not disproportionate to the feature set.
Credentials
The skill requests no environment variables or external credentials. It writes files under the user's home and updates the user's crontab — these are necessary for the stated functionality and are proportionate.
Persistence & Privilege
The install script modifies the user's crontab to run rollback-guardian.sh every minute and installs scripts under ~/.openclaw. This is expected for a guardian service but is a persistent change the user should explicitly review before enabling.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install openclaw-config-rollback - 安装完成后,直接呼叫该 Skill 的名称或使用
/openclaw-config-rollback触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
openclaw-config-rollback 1.0.2
- Added metadata and package files: _meta.json, package.json.
- Introduced scripts: config-alias.sh, prepare-config-change.sh, rollback-guardian.sh for managing config changes and rollbacks.
- Updated documentation and usage guide in SKILL.md: simplified usage sections, removed dependency on Node.js, and clarified instructions and best practices.
- Streamlined related file references and removed/deprecated unnecessary documentation sections.
v1.0.0
Initial release of the config-rollback skill for OpenClaw.
- Adds automated configuration backup before changes.
- Introduces a 5-minute timeout with auto-rollback if the Gateway isn't restarted in time.
- Provides scripts for preparation, rollback management, and interactive help.
- Implements status tracking and pending verification workflow.
- Supports automatic backup directory and cron-based rollback guardian.
- Includes clear setup instructions and best practices for safe configuration changes.
元数据
常见问题
Config Rollback 是什么?
OpenClaw 配置回滚管理 - 备份、超时保护、自动回滚. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 244 次。
如何安装 Config Rollback?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install openclaw-config-rollback」即可一键安装,无需额外配置。
Config Rollback 是免费的吗?
是的,Config Rollback 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Config Rollback 支持哪些平台?
Config Rollback 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Config Rollback?
由 echoflying(@echoflying)开发并维护,当前版本 v1.0.2。
推荐 Skills