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
Request
- Base URL: https://docs.litellm.com.cn (the document declares no server; this is the origin it was published from)
- URL: https://docs.litellm.com.cn/v1/skills
- Auth: API key in header x-litellm-api-key
Query parameters
custom_llm_providerstring nullable
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.