config-guardian

Safe OpenClaw config updates with automatic backup, validation, and rollback. For agent use - prevents invalid config updates.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "config-guardian" with this command: npx skills add abdhilabs/config-guardian

Config Guardian

Overview

For Agent use only. Safe config updates with automatic backup, validation, and rollback. Prevents the agent from updating non-existent keys or invalid values.

When to Use

Use this skill every time you need to update openclaw.json. Prevents:

  • Updating non-existent config keys
  • Using invalid values
  • Breaking the gateway with bad config

Workflow: Atomic Apply (Default)

For all config changes - handles everything in one command:

./scripts/atomic_apply.sh <config_path> <new_value>
# Example: ./scripts/atomic_apply.sh "agents.defaults.model.primary" "minimax-portal/MiniMax-M2.5"

What it does:

  1. Creates timestamped backup automatically
  2. Applies change via openclaw config set <path> <value>
  3. Validates with openclaw doctor --non-interactive
  4. Auto-rollback if validation fails
  5. Trap ensures rollback even on crash

Backup location:

~/.openclaw/config-guardian-backups/

Guardrails

  • Never restart or apply config without explicit user approval
  • Always use atomic_apply.sh
  • If validation fails -> config auto-rolled back, don't force it

Scripts

ScriptPurpose
atomic_apply.shDefault - all-in-one safe apply
validate_config.shValidate via OpenClaw doctor
restore_config.shManual restore from backup

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

OpenClaw Guard

配置文件修改守护脚本 - 危险操作前自动备份,一键回滚

Registry SourceRecently Updated
2580Profile unavailable
General

OpenClaw Sacred Rules

Provides essential safety rules and tools for managing OpenClaw configs, backups, auth troubleshooting, and recovery to prevent system failures.

Registry SourceRecently Updated
4740Profile unavailable
Automation

Rdk X5 System

修改和管理 RDK X5 系统配置:查看系统版本/硬件信息/系统日志、rdk-backup 一键备份与恢复、apt OTA 升级、miniboot 固件更新、CPU/BPU 频率调节与温度阈值设置、config.txt 配置修改、实时内核切换、systemd 开机自启动、存储扩容。Use when the use...

Registry SourceRecently Updated
2650Profile unavailable
Automation

OpenClaw Safe Ops

Guards high-risk OpenClaw operations with preflight backups, post-change health checks, and rollback guidance. Use when running gateway restart/start/stop, c...

Registry SourceRecently Updated
4331Profile unavailable