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.
Query parameters
Response
Successful Response
Changes
Changed in 3 of the 42 revisions of this API.6
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ○
added the optional property
//to the response with the statusresponse-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_skillsaddedapi-tag-added
- ○
api tag
[beta] Anthropic Skills APIremovedapi-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 APIaddedapi-tag-added
- ○
api tag
anthropic_skillsremovedapi-tag-removed
- ○