Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Validate OpenClaw configuration fields against the official Zod schema. Use when reading or writing openclaw.json to check if configuration fields exist and...
Validate OpenClaw configuration fields against the official Zod schema. Use when reading or writing openclaw.json to check if configuration fields exist and...
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
Validate OpenClaw configuration fields against the official Zod schema.
Before editing configurations - Verify a field exists before adding it Debugging config errors - Check if invalid fields are causing issues Migrating configs - Validate fields after version upgrades Reviewing configs - Ensure all fields are schema-compliant
This skill automatically manages schema synchronization: Check Version - Detects local OpenClaw version Sync Schema - Downloads matching schema from GitHub if needed Generate Fields - Parses Zod schema to extract field definitions Validate - Uses generated schema to validate configuration
# Validate a single field (auto-syncs schema if needed) python3 scripts/validate_field.py agents.defaults.model.primary # Validate entire config file python3 scripts/validate_config.py /path/to/openclaw.json # Force schema re-sync python3 scripts/sync_schema.py --force # Check current schema status python3 scripts/sync_schema.py --status
Field paths use dot notation: agents.defaults.model.primary โ agents.defaults.model.primary channels.telegram.botToken โ channels.telegram.botToken tools.web.search.provider โ tools.web.search.provider
Simply use validation commands - schema sync is automatic: # This will auto-sync schema if version mismatch detected python3 scripts/validate_field.py agents.defaults.timeoutSeconds
# Check schema status python3 scripts/sync_schema.py --status # Output: Schema version: 2.1.0 (matches OpenClaw) # Force re-sync (if needed) python3 scripts/sync_schema.py --force # Generate fresh field reference python3 scripts/generate_fields.py
Schema is cached locally at: ~/.config/openclaw/skills/config-field/ โโโ schema/ # Downloaded TypeScript schema files โโโ cache/ # Parsed schema cache โโโ schema-fields.md # Generated field reference
references/schema-fields.md - Auto-generated from official Zod schema
ScriptPurposevalidate_field.py <path>Validate single fieldvalidate_config.py <file>Validate entire configfield_info.py <path>Get field detailssync_schema.pyManage schema syncgenerate_fields.pyRegenerate field docs
agents.defaults.model.primary - Default model ID agents.defaults.workspace - Workspace path agents.defaults.timeoutSeconds - Request timeout agents.defaults.sandbox.mode - Sandbox mode
channels.telegram.botToken - Telegram bot token channels.discord.token - Discord bot token channels.slack.botToken - Slack bot token
tools.web.search.enabled - Enable web search tools.web.search.provider - Search provider tools.exec.security - Execution security mode
If you see warnings about unknown fields that should exist: # Force schema refresh python3 scripts/sync_schema.py --force
# Check field info for correct usage python3 scripts/field_info.py agents.defaults.model # Verify config syntax python3 scripts/validate_config.py ~/.config/openclaw/openclaw.json
Code helpers, APIs, CLIs, browser automation, testing, and developer operations.
Largest current source with strong distribution and engagement signals.