{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sealgate-ai/json-schema/sealgate-ai-chat-skill-schema.json",
  "title": "ChatSkill",
  "description": "One saved skill as the composer's picker lists it (no content).",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sealgate-ai-admin-chat-api-openapi.yml#/components/schemas/ChatSkill",
  "properties": {
    "name": {
      "type": "string",
      "title": "Name",
      "description": "Skill slug; typed as /name or $name in the composer"
    },
    "description": {
      "type": "string",
      "title": "Description",
      "description": "Summary from the skill's frontmatter, may be empty",
      "default": ""
    },
    "size_bytes": {
      "type": "integer",
      "title": "Size Bytes",
      "description": "Size of the SKILL.md document",
      "default": 0
    },
    "updated_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Updated At",
      "description": "ISO timestamp of the last save"
    }
  },
  "type": "object",
  "required": [
    "name"
  ]
}