{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "An agent skill record that describes a capability the agent can perform, with examples and property references.",
      "key": "tid",
      "record": {
        "properties": {
          "content": {
            "description": "The skill itself.",
            "type": "string"
          },
          "createdAt": {
            "description": "ISO 8601 timestamp when this skill record was created.",
            "type": "string"
          },
          "description": {
            "description": "Instructions for when and how to use this skill.",
            "type": "string"
          },
          "examples": {
            "description": "Strong references to example records demonstrating this skill.",
            "items": {
              "ref": "com.atproto.repo.strongRef",
              "type": "ref"
            },
            "type": "array"
          },
          "name": {
            "description": "Human-readable name of the skill.",
            "type": "string"
          },
          "property_references": {
            "description": "Annotated path-value pairs describing fields within the example records. Each entry either carries a literal string value or a strongRef that resolves (recursively) to the value at that path.",
            "items": {
              "ref": "#propertyReference",
              "type": "ref"
            },
            "type": "array"
          }
        },
        "required": [
          "name",
          "description",
          "content",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "propertyReference": {
      "description": "A single path-annotated value reference within a skill's example records. Carries either a literal string or a strongRef pointing to the value.",
      "properties": {
        "path": {
          "description": "JSONPath-like dotted path into the resolved example tree, e.g. '.examples[].value.payload.value.user_data'.",
          "type": "string"
        },
        "ref": {
          "description": "Strong reference to a record that contains the example data.",
          "ref": "com.atproto.repo.strongRef",
          "type": "ref"
        }
      },
      "required": [
        "path"
      ],
      "type": "object"
    }
  },
  "id": "com.publicdomainrelay.temp.agent.skill",
  "lexicon": 1
}
