Install
openclaw skills install openclaw-sacred-rulesProvides essential safety rules and tools for managing OpenClaw configs, backups, auth troubleshooting, and recovery to prevent system failures.
openclaw skills install openclaw-sacred-rulesThe 8 Sacred Rules learned from production disasters. Never violate these rules.
# Always verify files exist and are valid
ls -la backup-file.json
python3 -m json.tool backup-file.json > /dev/null
Wrong: nano ~/.openclaw/openclaw.json
Right: Use Python/CLI tools that handle JSON safely
Check official docs or ask before adding ANY new configuration keys.
Sandbox mode can cascade auth failures. Always backup first and test in isolation.
If multiple model providers fail simultaneously, suspect recent config changes, not provider outages.
source ~/.openclaw/.env && openclaw auth <command>
Don't read the file directly - use openclaw status or CLI tools.
Corrupted sessions need /reset to recover.
Use the provided backup script instead of manual file copying:
scripts/safe_backup.sh
When experiencing "all providers unavailable" errors despite valid credentials, the in-memory cooldown state may be stale. Use:
scripts/reset_cooldowns.sh
This clears expired cooldowns from auth-profiles.json.
Note: This is a workaround for a bug where in-memory cooldown state doesn't refresh when file timestamps expire.
Before applying config changes:
scripts/config_validator.py ~/.openclaw/openclaw.json
When you break a rule, see references/recovery.md for step-by-step recovery procedures.
For auth issues, use the safe checker:
scripts/auth_checker.sh
Never directly read auth-profiles.json - use the checker script instead.