Prerequisites
- Anthropic API key
- Python 3.7+ or curl installed
- Basic familiarity with making API requests
What are Agent Skills?
Pre-built Agent Skills extend Claude’s capabilities with specialized expertise for tasks like creating documents, analyzing data, and processing files. Anthropic provides the following pre-built Agent Skills in the API:- PowerPoint (pptx): Create and edit presentations
- Excel (xlsx): Create and analyze spreadsheets
- Word (docx): Create and edit documents
- PDF (pdf): Generate PDF documents
Want to create custom Skills? See the Agent Skills Cookbook for examples of building your own Skills with domain-specific expertise.
Step 1: List available Skills
First, let’s see what Skills are available. We’ll use the Skills API to list all Anthropic-managed Skills:pptx, xlsx, docx, and pdf.
This API returns each Skill’s metadata: its name and description. Claude loads this metadata at startup to know what Skills are available. This is the first level of progressive disclosure, where Claude discovers Skills without loading their full instructions yet.
Step 2: Create a presentation
Now we’ll use the PowerPoint Skill to create a presentation about renewable energy. We specify Skills using thecontainer parameter in the Messages API:
container.skills: Specifies which Skills Claude can usetype: "anthropic": Indicates this is an Anthropic-managed Skillskill_id: "pptx": The PowerPoint Skill identifierversion: "latest": The Skill version set to the most recently publishedtools: Enables code execution (required for Skills)- Beta headers:
code-execution-2025-08-25andskills-2025-10-02
Step 3: Download the created file
The presentation was created in the code execution container and saved as a file. The response includes a file reference with a file ID. Extract the file ID and download it using the Files API:For complete details on working with generated files, see the code execution tool documentation.
Try more examples
Now that you’ve created your first document with Skills, try these variations:Create a spreadsheet
Create a Word document
Generate a PDF
Next steps
Now that you’ve used pre-built Agent Skills, you can:API Guide
Use Skills with the Claude API
Create Custom Skills
Upload your own Skills for specialized tasks
Authoring Guide
Learn best practices for writing effective Skills
Use Skills in Claude Code
Learn about Skills in Claude Code
Use Skills in the Agent SDK
Use Skills programmatically in TypeScript and Python
Agent Skills Cookbook
Explore example Skills and implementation patterns