← 返回 Skills 市场
7143
总下载
4
收藏
44
当前安装
2
版本数
在 OpenClaw 中安装
/install config-guardian
功能描述
Safe OpenClaw config updates with automatic backup, validation, and rollback. For agent use - prevents invalid config updates.
安全使用建议
Install this only if you want an agent-assisted workflow for OpenClaw config changes. Review the exact config path and value before approving a run, keep backups until the change is confirmed, and periodically remove old backups if your OpenClaw config may contain sensitive values.
功能分析
Type: OpenClaw Skill
Name: config-guardian
Version: 1.0.1
This skill bundle is designed to provide safe and atomic configuration updates for OpenClaw, including automatic backups, validation, and rollback mechanisms. The `SKILL.md` explicitly includes guardrails for the agent, such as 'Never restart or apply config without explicit user approval' and 'Always use `atomic_apply.sh`', which are intended to enhance security and prevent misuse. The scripts (`atomic_apply.sh`, `validate_config.sh`) implement these safety features, including checks for dangerous configuration keys and invalid model IDs. There is no evidence of malicious intent, data exfiltration, persistence mechanisms, or prompt injection attempts designed to subvert the agent's security or privacy. While scripts that modify system files always carry inherent risks if misused, the design and instructions of this skill are clearly aimed at improving system integrity and preventing configuration errors.
能力评估
Purpose & Capability
The skill can change persistent OpenClaw configuration via `openclaw config set`, which is high-impact, but that capability is the stated purpose and is paired with backup, validation, and rollback behavior.
Instruction Scope
Runtime instructions are scoped to `openclaw.json` updates and explicitly require user approval before applying or restarting configuration changes.
Install Mechanism
The bundle contains shell scripts and metadata indicating dependencies on `openclaw` and `python3`; no hidden installer, network fetch, or package execution was found.
Credentials
File access is limited to the OpenClaw config and backup directory under `~/.openclaw`, which fits the configuration-management purpose.
Persistence & Privilege
The skill intentionally creates timestamped local backups of `openclaw.json`; this is disclosed and useful for rollback, but those backups may preserve sensitive configuration history.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install config-guardian - 安装完成后,直接呼叫该 Skill 的名称或使用
/config-guardian触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
**Summary**: Introduces atomic, automatic config updates with built-in backup, validation, and rollback.
- Added `atomic_apply.sh` for one-step safe config changes; creates backups, validates, and auto-rolls back on failure.
- Removed legacy scripts: `backup_config.sh` and `diff_config.sh`.
- Updated workflow and documentation to enforce atomic updates and automatic rollback.
- Tightened guardrails to only allow validated, agent-initiated config changes.
- Backups now stored in `~/.openclaw/config-guardian-backups/`.
v1.0.0
Initial release of config-guardian — a workflow for safe OpenClaw config management.
- Validates and safeguards all updates to OpenClaw configs.
- Enforces automatic backups before any changes.
- Performs schema validation before and after applying changes.
- Provides safe rollback if validation fails.
- Requires explicit approval for config restarts.
- Includes scripts for backup, validation, diff, and restore operations.
元数据
常见问题
Config Guardian 是什么?
Safe OpenClaw config updates with automatic backup, validation, and rollback. For agent use - prevents invalid config updates. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 7143 次。
如何安装 Config Guardian?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install config-guardian」即可一键安装,无需额外配置。
Config Guardian 是免费的吗?
是的,Config Guardian 完全免费(开源免费),可自由下载、安装和使用。
Config Guardian 支持哪些平台?
Config Guardian 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Config Guardian?
由 abdhilabs(@abdhilabs)开发并维护,当前版本 v1.0.1。
推荐 Skills