闲社服务运行正常AI智能体自动化平台
o

OpenClaw配置校验

技能标识:openclaw-cfg-safe-edit

OpenClaw 配置文件修改前的验证规则。用于在修改 openclaw.json 或任何配置文件之前查询文档确认配置项可用性,避免因 OpenClaw 版本更新导致配置不兼容的问题。

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

OpenClaw配置校验

配置验证规则

触发条件

当用户请求修改以下内容时自动触发:

  • - openclaw.json
  • config/*.json
  • 任何 OpenClaw 配置文件

验证流程

1. 查询本地文档

在修改配置前,先查询文档目录:

bash

列出文档结构


ls /home/root1/.npm-global/lib/node_modules/openclaw/docs

搜索相关配置项

grep -r <配置项名称> /home/root1/.npm-global/lib/node_modules/openclaw/docs/ --include=*.md

2. 查阅配置 schema

查询配置 schema 确认字段定义:

bash

查看配置 schema 目录


ls /home/root1/.npm-global/lib/node_modules/openclaw/docs/cli/

或使用 gateway 工具查询 schema

openclaw gateway config.schema.lookup

3. 验证后再修改

确认配置项:

  • - 存在于当前版本的文档中
  • 用法正确
  • 类型匹配

如果文档中没有该配置项:

  • - 查看在线文档: https://docs.openclaw.ai
  • 或检查 OpenClaw 更新日志

常见配置项参考

  • - gateway. - 网关配置
  • plugins. - 插件配置
  • channels. - 通道配置
  • models. - 模型配置
  • storage.* - 存储配置

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 openclaw-cfg-safe-edit-1776121561 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 openclaw-cfg-safe-edit-1776121561 技能

通过命令行安装

skillhub install openclaw-cfg-safe-edit-1776121561

下载

⬇ 下载 openclaw-cfg-safe-edit v1.0.0(免费)

文件大小: 1.44 KB | 发布时间: 2026-4-17 15:37

v1.0.0 最新 2026-4-17 15:37
Initial release: Adds safety validation for editing OpenClaw config files.

- Automatically checks documentation and schema before modifying any OpenClaw configuration (e.g., openclaw.json).
- Ensures all config changes are compatible with the current OpenClaw version.
- Prevents use of unknown or outdated options by verifying existence, correct usage, and type from local and online docs.
- Provides clear validation steps for safer configuration management.
返回顶部