config-guardian
Installation
SKILL.md
Config Guardian
Overview
Use this workflow whenever editing ~/.openclaw/openclaw.json or running openclaw config set/apply. It prevents invalid config, creates backups, validates against schema, and enables rollback.
Workflow (use every time)
-
Preflight
- Confirm the requested change and scope.
- Check for sensitive keys (tokens, credentials).
-
Backup
- Run
scripts/backup_config.shto create a timestamped snapshot.
- Run
-
Validate (before change)
- Run
scripts/validate_config.sh. - If validation fails, stop and report.
- Run