config-guard
CommunityStop config crashes with preflight validation.
Software Engineering#rollback#config-validation#openclaw#schema-validation#auto-backup#gateway-health-check
AuthorjzOcb
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Prevents OpenClaw gateway crashes caused by AI or humans editing openclaw.json without validation by enforcing backups, schema checks, and semantic guards before config changes reach the gateway.
Core Features & Use Cases
- Auto-backup and rollback: Captures timestamped copies before edits and restores them automatically if the gateway health check fails after apply --restart flows.
- Deep validation: Runs JSON syntax, schema-required fields (commands.native*), semantic checks (model names, browser profile color, placeholders), critical field diff warnings, and hooks into git commits for staged config files.
- Safe patch workflows: Provides scripts for apply, rollback, diff, and safe-config-patch that merge patches, validate merged results, signal the gateway to reload, and warn about critical field removals.
Quick Start
Ask the guard to run scripts/config-guard.sh check on your openclaw.json before committing any edits to keep the gateway safe.
Dependency Matrix
Required Modules
None requiredComponents
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: config-guard Download link: https://github.com/jzOcb/config-guard/archive/main.zip#config-guard Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.