Quick start
The Skills API allows you to create, manage, and use skills in your API applications:For complete API documentation and examples, see the Skills API Quickstart in the Claude API documentation.
Using Anthropic’s pre-built skills
Anthropics provides production-grade skills that you can use directly in your API applications without uploading them yourself.Available pre-built skills
- Document processing
- Development tools
- Creative & design
- xlsx: Excel spreadsheet creation and analysis
- docx: Word document generation and editing
- pptx: PowerPoint presentation building
- pdf: PDF reading, extraction, manipulation, and form filling
Referencing pre-built skills
To use Anthropic’s pre-built skills, reference them by name:Creating custom skills
Custom skills extend Claude with domain-specific knowledge and workflows tailored to your application.Skill structure
A skill consists of aSKILL.md file with YAML frontmatter and markdown instructions:
Uploading skills via API
Managing skills
List all skills
Retrieve all skills in your account:Get skill details
Retrieve information about a specific skill:Update a skill
Modify an existing skill:Delete a skill
Remove a skill from your account:Advanced: Skills with bundled resources
Skills can include scripts, reference documents, and assets for complex workflows.Directory structure
Uploading skills with resources
When uploading via API, package the entire skill directory:Referencing bundled resources
In your SKILL.md, guide Claude to use bundled resources:Keep SKILL.md focused
Aim for under 500 lines in the main file. Use progressive disclosure:- Metadata (name + description): Always in context (~100 words)
- SKILL.md body: Loaded when skill triggers (<500 lines)
- Bundled resources: Loaded as needed (unlimited size)
Test skills thoroughly
Create test cases covering different phrasings and edge cases:Version your skills
Include version information in skill metadata:Error handling
Handle common errors when working with the Skills API:Rate limits and quotas
- Skills API calls count toward your standard API rate limits
- Each account has a quota for total stored skills (contact support for limits)
- Skill content size is limited to 10MB per skill (including all bundled resources)