Anthropic Skills API

Create and manage custom Agent Skills. Skills are filesystem-based directories of instructions, scripts, and resources that Claude loads on demand via progressive disclosure. Workspace-wide sharing. The Skills API is currently in beta and requires the skills-2025-10-02 beta header.

OpenAPI Specification

anthropic-skills-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Anthropic Admin Agents Skills API
  description: Manage administrative functions for Anthropic organizations, workspaces, users, invites, and API keys.
  version: 1.0.0
  contact:
    name: Anthropic
    url: https://www.anthropic.com
    email: support@anthropic.com
  license:
    name: Anthropic API License
    url: https://www.anthropic.com/terms
servers:
- url: https://api.anthropic.com/v1
  description: Production Server
security:
- AdminApiKeyAuth: []
tags:
- name: Skills
  description: Create, list, retrieve, update, and delete Skills
paths:
  /v1/skills:
    post:
      summary: Anthropic Create Skill
      description: 'Upload a new Skill as a zip archive containing SKILL.md plus any supporting files. The Skill is added to the workspace catalog and becomes available to all workspace members.

        '
      operationId: createSkill
      tags:
      - Skills
      parameters:
      - $ref: '#/components/parameters/AnthropicVersion'
      - $ref: '#/components/parameters/AnthropicBeta'
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/CreateSkillRequest'
      responses:
        '200':
          description: Skill created successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Skill'
        4XX:
          $ref: '#/components/responses/ErrorResponse'
    get:
      summary: Anthropic List Skills
      description: Paginated list of all Skills in the current workspace.
      operationId: listSkills
      tags:
      - Skills
      parameters:
      - $ref: '#/components/parameters/AnthropicVersion'
      - $ref: '#/components/parameters/AnthropicBeta'
      - $ref: '#/components/parameters/Limit'
      - $ref: '#/components/parameters/BeforeId'
      - $ref: '#/components/parameters/AfterId'
      responses:
        '200':
          description: List of Skills.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SkillList'
        4XX:
          $ref: '#/components/responses/ErrorResponse'
  /v1/skills/{skill_id}:
    get:
      summary: Anthropic Get Skill
      description: Retrieve metadata for a single Skill.
      operationId: getSkill
      tags:
      - Skills
      parameters:
      - $ref: '#/components/parameters/AnthropicVersion'
      - $ref: '#/components/parameters/AnthropicBeta'
      - $ref: '#/components/parameters/SkillIdPath'
      responses:
        '200':
          description: Skill metadata.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Skill'
        4XX:
          $ref: '#/components/responses/ErrorResponse'
    delete:
      summary: Anthropic Delete Skill
      description: Delete a Skill from the workspace. All versions are removed.
      operationId: deleteSkill
      tags:
      - Skills
      parameters:
      - $ref: '#/components/parameters/AnthropicVersion'
      - $ref: '#/components/parameters/AnthropicBeta'
      - $ref: '#/components/parameters/SkillIdPath'
      responses:
        '200':
          description: Skill deleted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteResponse'
        4XX:
          $ref: '#/components/responses/ErrorResponse'
components:
  responses:
    ErrorResponse:
      description: Error response.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  parameters:
    AnthropicVersion:
      name: anthropic-version
      in: header
      required: true
      schema:
        type: string
        default: '2023-06-01'
    SkillIdPath:
      name: skill_id
      in: path
      required: true
      schema:
        type: string
    BeforeId:
      name: before_id
      in: query
      required: false
      schema:
        type: string
    Limit:
      name: limit
      in: query
      required: false
      schema:
        type: integer
        minimum: 1
        maximum: 100
        default: 20
    AnthropicBeta:
      name: anthropic-beta
      in: header
      required: true
      description: Must include skills-2025-10-02.
      schema:
        type: string
        default: skills-2025-10-02
    AfterId:
      name: after_id
      in: query
      required: false
      schema:
        type: string
  schemas:
    SkillList:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Skill'
        has_more:
          type: boolean
        first_id:
          type: string
        last_id:
          type: string
    CreateSkillRequest:
      type: object
      required:
      - skill_archive
      properties:
        skill_archive:
          type: string
          format: binary
          description: Zip archive containing SKILL.md and supporting files.
    DeleteResponse:
      type: object
      properties:
        id:
          type: string
        type:
          type: string
          example: skill_deleted
    Skill:
      type: object
      properties:
        id:
          type: string
          example: skill_01ABC...
        type:
          type: string
          example: skill
        display_title:
          type: string
        description:
          type: string
        latest_version:
          type: string
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    Error:
      type: object
      properties:
        type:
          type: string
        error:
          type: object
          properties:
            type:
              type: string
            message:
              type: string
  securitySchemes:
    AdminApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Your Admin API key for authentication (starts with sk-ant-admin...).