تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

config-field

بواسطة redcontritio

Coding Agents & IDEs
255التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Validate OpenClaw configuration fields against the official Zod schema.

الوصف

ما الذي تفعله هذه المهارة

Validates OpenClaw configuration fields against the official Zod schema for openclaw.json. Automatically detects the local OpenClaw version and downloads the matching schema from GitHub. Covers 136+ fields across agents, channels, tools, logging, and session configuration.

Auto-syncs the schema to the installed OpenClaw version, so validation always runs against the correct field definitions rather than a static or outdated reference.

متى تستخدمها

  • Check if a field path exists before editing openclaw.json
  • Debug config errors caused by invalid or misspelled fields
  • Validate all fields in a config file after a version upgrade
  • Look up the expected type or format for a specific field
  • Confirm a migrated config is fully schema-compliant

مثال على سير العمل

الإدخال

User asks: Is 'agents.defaults.timeoutSeconds' a valid config field?

الوكيل
  1. 1

    Detect local OpenClaw version

  2. 2

    Check if cached schema matches that version

  3. 3

    Download matching schema from GitHub if a version mismatch is found

  4. 4

    Parse the Zod schema to extract field definitions

  5. 5

    Validate 'agents.defaults.timeoutSeconds' and return its type and constraints

الإخراج

Field 'agents.defaults.timeoutSeconds' is valid — type: number, represents the request timeout in seconds

التثبيت

clawhub install redcontritio/config-field

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط