/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.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install elegant-config-guardian - After installation, invoke the skill by name or use
/elegant-config-guardian - Provide required inputs per the skill's parameter spec and get structured output
What is Elegant Config Guardian?
Safely apply OpenClaw config changes with automatic rollback and ack timeout guard. Use when editing ~/.openclaw/openclaw.json, restarting gateway, enabling... It is an AI Agent Skill for Claude Code / OpenClaw, with 436 downloads so far.
How do I install Elegant Config Guardian?
Run "/install elegant-config-guardian" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Elegant Config Guardian free?
Yes, Elegant Config Guardian is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Elegant Config Guardian support?
Elegant Config Guardian is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Elegant Config Guardian?
It is built and maintained by wangwu-30 (@wangwu-30); the current version is v0.1.0.