openclaw-cfg-safe-edit

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

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 "openclaw-cfg-safe-edit" with this command: npx skills add leon2023happy/openclaw-cfg-safe-edit

配置验证规则

触发条件

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

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

验证流程

1. 查询本地文档

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

# 列出文档结构
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 确认字段定义:

# 查看配置 schema 目录
ls /home/root1/.npm-global/lib/node_modules/openclaw/docs/cli/

# 或使用 gateway 工具查询 schema
openclaw gateway config.schema.lookup <dot-path>

3. 验证后再修改

确认配置项:

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

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

常见配置项参考

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

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

Huo15 Openclaw Enhance

火一五·克劳德·龙虾增强插件 v5.7.8 — 全面适配 openclaw 2026.4.24:peerDep ^4.24 + build/compat 同步到 4.24 + 14 处 api.on 全部去掉 as any 改成 typed hook(hookName 联合类型 + handler 自动推断 Pl...

Registry SourceRecently Updated
General

Content Trend Analyzer

Aggregates and analyzes content trends across platforms to identify hot topics, user intent, content gaps, and generates data-driven article outlines.

Registry SourceRecently Updated
General

Prompt Debugger

Debug prompts that produce unexpected AI outputs — diagnose failure modes, identify ambiguity and conflicting instructions, test variations, compare model re...

Registry SourceRecently Updated
General

Indie Maker News

独行者 Daily - 变现雷达。读对一条新闻,少走一年弯路。每天5分钟,给创业者装上商业雷达。聚焦一人公司、副业、创业变现资讯,智能分类,行动导向。用户下载即能用,无需本地部署!

Registry SourceRecently Updated