validate_skill
Checks a draft, registered, or local skill for errors and warnings without publishing or changing content, so you can fix issues before publishing or after editing.
Instructions
Validate a draft, registered canonical skill, or local skill file/directory without publishing or changing skill content. Use before publish_skill or after editing a skill; get_skill_detail reads registered metadata. Accepts an ID/name or path and does not require project initialization at this interface. Returns a validation report with errors and warnings; inspect the report rather than treating a successful tool envelope as proof that the skill is valid.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"skill_or_path": "<skill_or_path>"
},
"name": "validate_skill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Optional scope for selector lookup. Omitted lets the validator resolve the draft/path or registered skill. | |
| skill_or_path | Yes | Registered skill selector, draft slug, or local SKILL.md file/directory path to validate. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||