ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified system Safety 4/5

config-rollback

Auto-rollback protection for config changes. Backs up before edit, sets a 5-minute system timer to restore if things go wrong. Works with any service config, not just OpenClaw.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/2233admin/config-rollback
Or

What This Skill Does

The config-rollback skill is an essential safety utility for OpenClaw users who frequently modify system configurations. Its primary function is to establish a 'fail-safe' mechanism whenever you make changes to sensitive files like openclaw.json. The skill works by creating an immediate backup of your current configuration and scheduling a system-level 'at' task to automatically restore this backup and restart the OpenClaw gateway if you do not cancel the task within five minutes. This prevents permanent lockouts or service downtime caused by syntax errors or incorrect configuration parameters.

Installation

To add this skill to your OpenClaw environment, execute the following command in your terminal:

clawhub install openclaw/skills/skills/2233admin/config-rollback

Ensure that the at daemon is installed and running on your host machine, as the skill relies on this system-level scheduler to perform its rollback operations outside of the OpenClaw process context.

Use Cases

The config-rollback skill is highly recommended for any task that involves modifying the behavior of the OpenClaw gateway. Primary use cases include:

  • Updating channel configurations or API endpoints.
  • Modifying proxy routing tables to change network traffic flow.
  • Installing or updating plugins that alter core functionality.
  • Adjusting active model parameters or inference settings.
  • Any scenario where a configuration change necessitates a full service restart.

Example Prompts

  1. "OpenClaw, I need to update my model API key, please enable automatic rollback before I start."
  2. "Enable config-rollback and then change my routing to use the new Japan endpoint."
  3. "Automatic rollback please! I'm about to manually edit the gateway settings to optimize latency."

Tips & Limitations

  • Manual Cancellation: The most important step is to remember to call atrm <job-id> once you confirm your changes are successful. If you fail to do this, the system will revert your changes 5 minutes after they were made, regardless of whether they worked.
  • System Dependency: This skill requires access to system-level commands like cp and at. Ensure your OpenClaw agent has the necessary permissions to execute these tasks on the host operating system.
  • Not a Backup Solution: This is a temporary safety net, not a replacement for permanent backups. Always maintain a separate Git repository for your configuration history.

Metadata

Author@2233admin
Stars4473
Views1
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-2233admin-config-rollback": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#system-admin#backup#safety#automation#config
Safety Score: 4/5

Flags: file-write, file-read, code-execution