ck_skill_validate
Validate skill output against a JSON Schema to enforce typed, structured results. Accepts output with schema or skill name to use built-in schema.
Instructions
Validate skill output against a JSON Schema defined in the skill's result-schema frontmatter field. Skills can define a result_schema in their frontmatter; agents call this tool after running a skill to enforce typed, structured output. Accepts output + schema directly, or output + skill_name to validate against the skill's built-in schema.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output | Yes | The skill output to validate. Can be a JSON string or plain text, up to 100KB. | |
| project_root | No | Absolute path to the project root. Only used when skill_name is provided. | |
| schema | No | JSON Schema as a string to validate against. Required if skill_name is not provided. | |
| skill_name | No | Optional skill name to use the skill's built-in result_schema. If provided, schema is not required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | No | ||
| skill_name | No | ||
| valid | No |