anthropic_skills
Create Skill
Changed onCreate 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 URLhttps://api.flock.io (the document declares no server; this is the origin it was published from)
- URLhttps://api.flock.io/v1/skills
- AuthAPI key in header x-litellm-api-key
Query parameters
custom_llm_providerstring nullable
Response
Successful Response
Changes
- info
api tag
anthropic_skillsadded - info
api tag
[beta] Anthropic Skills APIremoved
- info
- info
api tag
[beta] Anthropic Skills APIadded - info
api tag
anthropic_skillsremoved
- info