Back to skills
SkillHub ClubShip Full StackFull Stack
config-rollback
自动回滚保护。修改配置前先备份+设5分钟系统定时任务,改坏自动还原。当用户说"自动回滚"或需要改配置时使用此 Skill。
Packaged view
This page reorganizes the original catalog entry around fit, installability, and workflow context first. The original raw source lives below.
Stars
3,114
Hot score
99
Updated
March 20, 2026
Overall rating
C0.0
Composite score
0.0
Best-practice grade
B81.2
Install command
npx @skill-hub/cli install openclaw-skills-config-rollback
Repository
openclaw/skills
Skill path: skills/2233admin/config-rollback
自动回滚保护。修改配置前先备份+设5分钟系统定时任务,改坏自动还原。当用户说"自动回滚"或需要改配置时使用此 Skill。
Open repositoryBest for
Primary workflow: Ship Full Stack.
Technical facets: Full Stack.
Target audience: everyone.
License: Unknown.
Original source
Catalog source: SkillHub Club.
Repository owner: openclaw.
This is still a mirrored public skill entry. Review the repository before installing into production workflows.
What it helps with
- Install config-rollback into Claude Code, Codex CLI, Gemini CLI, or OpenCode workflows
- Review https://github.com/openclaw/skills before adding config-rollback to shared team environments
- Use config-rollback for development workflows
Works across
Claude CodeCodex CLIGemini CLIOpenCode
Favorites: 0.
Sub-skills: 0.
Aggregator: No.
Original source / Raw SKILL.md
---
name: config-rollback
description: 自动回滚保护。修改配置前先备份+设5分钟系统定时任务,改坏自动还原。当用户说"自动回滚"或需要改配置时使用此 Skill。
---
# Config Rollback - 自动回滚保护
## 口令
用户说"自动回滚"时触发
## 执行流程
1. **备份当前配置**
```bash
cp ~/.openclaw/openclaw.json ~/.openclaw/openclaw.json.bak
```
2. **设系统级定时任务(5分钟后)**
```bash
echo "cp ~/.openclaw/openclaw.json.bak ~/.openclaw/openclaw.json && systemctl restart openclaw-gateway" | at now + 5 minutes
```
3. **返回 job ID**
4. **用户确认正常后**
```bash
atrm <job-id>
```
## 适用场景
- 修改 channel 配置
- 修改代理路由
- 更新插件
- 修改模型配置
- 任何需要重启 gateway 的操作
## 核心原则
- 必须是系统级定时任务(at/crontab)
- 不能依赖 OpenClaw 本身
- 双重保护:git commit + 自动回滚
---
## Skill Companion Files
> Additional files collected from the skill directory layout.
### _meta.json
```json
{
"owner": "2233admin",
"slug": "config-rollback",
"displayName": "config-rollback",
"latest": {
"version": "1.0.0",
"publishedAt": 1772208471102,
"commit": "https://github.com/openclaw/skills/commit/3c1e4746444be5abb895fa3a9dcc3d123a2b216e"
},
"history": []
}
```