Overview
- Skill Key
- halfmoon82/config-preflight-validator
- Author
- DeepEye
- Source Repo
- openclaw/skills
- Version
- 1.0.0
- Source Path
- skills/halfmoon82/config-preflight-validator
- Latest Commit SHA
- cadeaae41f6dfeba1a03352ec1ba43a1ed1828b0
OpenClaw 配置预校验工具。在执行 config.patch 或修改 openclaw.json 前进行本地 Schema 验证,提供具体的错误字段描述。
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 config-preflight-validator 技能。 若已安装,则直接安装 config-preflight-validator 技能。
# 🔍 Config Preflight Validator
解决 "Validation issues" 错误信息模糊的问题,在调用网关 API 前给出具体错误字段描述。
## 🎯 功能特性
- **Schema 同步**:自动从 `gateway config.schema` 获取最新规范。
- **本地校验**:在提交修改前,基于 JSON Schema 验证数据结构。
- **特定规则检查**:针对 `plugins.allow` 等列表格式、`channels` 对象格式进行硬编码校验。
## 🚀 使用方法
### 校验补丁
```bash
python3 ~/.openclaw/workspace/.lib/config-preflight-validator.py --patch '{"plugins": {"allow": ["new-plugin"]}}'
```
### 校验完整文件
```bash
python3 ~/.openclaw/workspace/.lib/config-preflight-validator.py --file ~/.openclaw/openclaw.json
```
### 更新 Schema 缓存
```bash
python3 ~/.openclaw/workspace/.lib/config-preflight-validator.py --update-schema
```
## 🛠️ 安装要求
- Python 3.9+
- 推荐安装 `jsonschema` (pip install jsonschema)
capt-marbles
Task Router
capncoconut
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay, check marketplace stats, or manage agent credentials. Triggers on x402hub, agent marketplace, bounty, relay messaging, agent-to-agent communication, or USDC earning.
capevace
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
captchasco
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.
carol-gutianle
name: modelready description: Start using a local or Hugging Face model instantly, directly from chat. metadata: {"openclaw":{"requires":{"bins": "bash", "curl" }, "env": "URL" }}
canbirlik
Controls Wiz smart bulbs (turn on/off, RGB colors, disco mode) via local WiFi.