anthropic_skills

Create Skill

Create a new skill on Anthropic.

Requires ?beta=true query parameter.

Model-based routing (for multi-account support):

  • Pass model via header: x-litellm-model: claude-account-1
  • Pass model via query: ?model=claude-account-1
  • Pass model via form field: model=claude-account-1

Example usage:

# Basic usage
curl -X POST "http://localhost:4000/v1/skills?beta=true"       -H "Content-Type: multipart/form-data"       -H "Authorization: Bearer your-key"       -F "display_title=My Skill"       -F "files[]=@skill.zip"

# With model-based routing
curl -X POST "http://localhost:4000/v1/skills?beta=true"       -H "Content-Type: multipart/form-data"       -H "Authorization: Bearer your-key"       -H "x-litellm-model: claude-account-1"       -F "display_title=My Skill"       -F "files[]=@skill.zip"

Returns: Skill object with id, display_title, etc.

post/v1/skills

Query parameters

custom_llm_providerstring nullable

Response

Successful Response

created_atstring required
display_titlestring nullable
idstring required
latest_versionstring nullable
sourcestring required
typestring
updated_atstring required

Changes

Changed in 3 of the 42 revisions of this API.6

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • ○

      api tag anthropic_skills added

      api-tag-added

    • ○

      api tag [beta] Anthropic Skills API removed

      api-tag-removed

    This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • ○

      api tag [beta] Anthropic Skills API added

      api-tag-added

    • ○

      api tag anthropic_skills removed

      api-tag-removed