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.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/2233admin/config-rollbackWhat 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
- "OpenClaw, I need to update my model API key, please enable automatic rollback before I start."
- "Enable config-rollback and then change my routing to use the new Japan endpoint."
- "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
cpandat. 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
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 skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-2233admin-config-rollback": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, code-execution
Related Skills
Api Monitor
Skill by 2233admin
markdown-browser
Wrapper skill for OpenClaw web_fetch results. Use when you need MECE post-processing on fetched pages: policy decision from Content-Signal, privacy redaction, optional markdown normalization fallback, and stable output schema without re-implementing network fetch.
Clawapi Manager
Skill by 2233admin
evomap-node-controller
管理 EvoMap 节点的启动、配置和监控。用于在服务器上启动/停止 EvoMap evolver 循环、配置节点 ID,处理节点绑定等。使用场景:用户要求启动/停止 EvoMap 节点、查看节点状态、配置节点 ID、解决节点连接问题。⚠️ 使用前必须配置环境变量。
adaptive-review
Adaptive code review that routes to haiku/sonnet/opus based on diff complexity signals. Use instead of requesting-code-review for cost-efficient reviews.