{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Skill Provenance",
  "description": "Provenance metadata for learned and imported skills. Required in ~/.claude/skills/learned/* and ~/.claude/skills/imported/*",
  "type": "object",
  "properties": {
    "source": {
      "type": "string",
      "minLength": 1,
      "description": "Origin (URL, path, or identifier)"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "ISO 8601 timestamp"
    },
    "confidence": {
      "type": "number",
      "minimum": 0,
      "maximum": 1,
      "description": "Confidence score 0-1"
    },
    "author": {
      "type": "string",
      "minLength": 1,
      "description": "Who or what produced the skill"
    }
  },
  "required": ["source", "created_at", "confidence", "author"],
  "additionalProperties": true
}
