{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "SkillsListResponse", "type": "object", "required": [ "data" ], "properties": { "data": { "type": "array", "items": { "$ref": "#/definitions/SkillsListEntry" } } }, "definitions": { "AbsolutePathBuf": { "description": "A path that is guaranteed to be absolute and normalized (though it is not guaranteed to be canonicalized or exist on the filesystem).\n\nIMPORTANT: When deserializing an `AbsolutePathBuf`, a base path must be set using [AbsolutePathBufGuard::new]. If no base path is set, the deserialization will fail unless the path being deserialized is already absolute.", "type": "string" }, "SkillDependencies": { "type": "object", "required": [ "tools" ], "properties": { "tools": { "type": "array", "items": { "$ref": "#/definitions/SkillToolDependency" } } } }, "SkillErrorInfo": { "type": "object", "required": [ "message", "path" ], "properties": { "message": { "type": "string" }, "path": { "type": "string" } } }, "SkillInterface": { "type": "object", "properties": { "brandColor": { "type": [ "string", "null" ] }, "defaultPrompt": { "type": [ "string", "null" ] }, "displayName": { "type": [ "string", "null" ] }, "iconLarge": { "anyOf": [ { "$ref": "#/definitions/AbsolutePathBuf" }, { "type": "null" } ] }, "iconSmall": { "anyOf": [ { "$ref": "#/definitions/AbsolutePathBuf" }, { "type": "null" } ] }, "shortDescription": { "type": [ "string", "null" ] } } }, "SkillMetadata": { "type": "object", "required": [ "description", "enabled", "name", "path", "scope" ], "properties": { "dependencies": { "anyOf": [ { "$ref": "#/definitions/SkillDependencies" }, { "type": "null" } ] }, "description": { "type": "string" }, "enabled": { "type": "boolean" }, "interface": { "anyOf": [ { "$ref": "#/definitions/SkillInterface" }, { "type": "null" } ] }, "name": { "type": "string" }, "path": { "$ref": "#/definitions/AbsolutePathBuf" }, "scope": { "$ref": "#/definitions/SkillScope" }, "shortDescription": { "description": "Legacy short_description from SKILL.md. Prefer SKILL.json interface.short_description.", "type": [ "string", "null" ] } } }, "SkillScope": { "type": "string", "enum": [ "user", "repo", "system", "admin" ] }, "SkillToolDependency": { "type": "object", "required": [ "type", "value" ], "properties": { "command": { "type": [ "string", "null" ] }, "description": { "type": [ "string", "null" ] }, "transport": { "type": [ "string", "null" ] }, "type": { "type": "string" }, "url": { "type": [ "string", "null" ] }, "value": { "type": "string" } } }, "SkillsListEntry": { "type": "object", "required": [ "cwd", "errors", "skills" ], "properties": { "cwd": { "type": "string" }, "errors": { "type": "array", "items": { "$ref": "#/definitions/SkillErrorInfo" } }, "skills": { "type": "array", "items": { "$ref": "#/definitions/SkillMetadata" } } } } } }