/install elegant-config-guardian
Elegant Config Guardian
Use scripts/safe_apply.sh to enforce: backup → apply → restart → health check → optional ack wait → rollback on failure.
Run
bash scripts/safe_apply.sh \
--config ~/.openclaw/openclaw.json \
--apply-cmd 'python3 /tmp/patch.py' \
--ack-timeout 60 \
--require-ack
Ack mode
When --require-ack is enabled, the script prints an ack token file path.
A successful manual ack is:
touch \x3Cack-file-path>
If timeout expires without ack, rollback is triggered automatically.
Defaults
- Health probe command:
openclaw gateway statusand requireRPC probe: ok - Restart command:
openclaw gateway restart - Backup file:
\x3Cconfig>.bak.YYYYmmdd-HHMMSS
Recommended workflow
- Prepare a deterministic patch command (
--apply-cmd). - Run with
--require-ack --ack-timeout 45for production changes. - Verify health.
- Ack explicitly only after end-to-end validation.
- Let timeout auto-rollback if validation cannot complete in time.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install elegant-config-guardian - 安装完成后,直接呼叫该 Skill 的名称或使用
/elegant-config-guardian触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Elegant Config Guardian 是什么?
Safely apply OpenClaw config changes with automatic rollback and ack timeout guard. Use when editing ~/.openclaw/openclaw.json, restarting gateway, enabling... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 436 次。
如何安装 Elegant Config Guardian?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install elegant-config-guardian」即可一键安装,无需额外配置。
Elegant Config Guardian 是免费的吗?
是的,Elegant Config Guardian 完全免费(开源免费),可自由下载、安装和使用。
Elegant Config Guardian 支持哪些平台?
Elegant Config Guardian 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Elegant Config Guardian?
由 wangwu-30(@wangwu-30)开发并维护,当前版本 v0.1.0。