← Back to Skills Marketplace
echoflying

Config Rollback

by echoflying · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ✓ Security Clean
244
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install openclaw-config-rollback
Description
OpenClaw 配置回滚管理 - 备份、超时保护、自动回滚
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install openclaw-config-rollback
  3. After installation, invoke the skill by name or use /openclaw-config-rollback
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug openclaw-config-rollback
Version 1.0.2
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is Config Rollback?

OpenClaw 配置回滚管理 - 备份、超时保护、自动回滚. It is an AI Agent Skill for Claude Code / OpenClaw, with 244 downloads so far.

How do I install Config Rollback?

Run "/install openclaw-config-rollback" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Config Rollback free?

Yes, Config Rollback is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Config Rollback support?

Config Rollback is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Config Rollback?

It is built and maintained by echoflying (@echoflying); the current version is v1.0.2.

💬 Comments