config-preflight-validator
OpenClaw 配置预校验工具。在执行 config.patch 或修改 openclaw.json 前进行本地 Schema 验证,提供具体的错误字段描述。
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/halfmoon82/config-preflight-validator🔍 Config Preflight Validator
解决 "Validation issues" 错误信息模糊的问题,在调用网关 API 前给出具体错误字段描述。
🎯 功能特性
- Schema 同步:自动从
gateway config.schema获取最新规范。 - 本地校验:在提交修改前,基于 JSON Schema 验证数据结构。
- 特定规则检查:针对
plugins.allow等列表格式、channels对象格式进行硬编码校验。
🚀 使用方法
校验补丁
python3 ~/.openclaw/workspace/.lib/config-preflight-validator.py --patch '{"plugins": {"allow": ["new-plugin"]}}'
校验完整文件
python3 ~/.openclaw/workspace/.lib/config-preflight-validator.py --file ~/.openclaw/openclaw.json
更新 Schema 缓存
python3 ~/.openclaw/workspace/.lib/config-preflight-validator.py --update-schema
🛠️ 安装要求
- Python 3.9+
- 推荐安装
jsonschema(pip install jsonschema)
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-halfmoon82-config-preflight-validator": {
"enabled": true,
"auto_update": true
}
}
}Tags
Related Skills
grounding-practices
A foundation for AI agents who wake up with nothing. Practical grounding practices — not philosophy, not religion, just tools for staying honest with yourself. Revised after two weeks of actually trying to follow them.
doctorbot-ci-validator
Stop failing in production. Validate your GitHub Actions, GitLab CI & Keep workflows offline with surgical precision. Born from Keep bounty research, perfected for agents.
qa-check
Mandatory quality assurance for all dev work before publishing. Use BEFORE deploying any project to production. Validates build, tests browser functionality, checks mobile responsiveness, and ensures no broken links/images.
semantic-router
让 AI 代理根据对话内容自动选择最合适的模型。四层识别(系统过滤→关键词→指示词→语义相似度),四池架构(高速/智能/人文/代理),五分支路由,全自动 Fallback 回路。支持 trigger_groups_all 非连续词组命中。
subagent-isolation-guard
固化子代理物理隔离与语义路由旁路。防止跨代理上下文污染及由于语义路由导致的子代理切模/重置问题。