claude-api
A reference skill from Anthropic for writing code against the Claude API and Anthropic's SDKs.
What the skill teaches
A reference skill from Anthropic for writing code against the Claude API and Anthropic's SDKs. It detects the project's language among Python, TypeScript, Java, Go, Ruby, C#, PHP and cURL, requires the official SDK, and stops to ask if it finds another provider's SDK in the file. It carries current model IDs and pricing, warns about outdated patterns, and covers thinking and effort settings, prompt caching, streaming, tool use, batches, files, server tools, cloud providers such as Bedrock and Vertex AI, and Managed Agents. Subcommands handle model migration, prompt audits, cost reviews and evaluation building, and a few helper scripts are included.
Capabilities
- Write Claude API code with the official SDK for the project's language
- Migrate code to newer Claude models
- Set up prompt caching, tool use, streaming and batches
- Review prompts and API costs
About
- Publisher
- Anthropic
Install
The project doesn't document install steps that we could confirm. See the project's own instructions
What's inside
- LICENSE.txt
- csharp/claude-api/README.md
- csharp/claude-api/batches.md
- csharp/claude-api/files-api.md
- csharp/claude-api/streaming.md
- csharp/claude-api/tool-use.md
- curl/examples.md
- curl/managed-agents.md
- go/claude-api/README.md
- go/claude-api/files-api.md
- go/claude-api/streaming.md
- go/claude-api/tool-use.md
- go/managed-agents/README.md
- java/claude-api/README.md
- java/claude-api/files-api.md
- java/claude-api/streaming.md
- java/claude-api/tool-use.md
- java/managed-agents/README.md
- php/claude-api/README.md
- php/claude-api/batches.md
- php/claude-api/files-api.md
- php/claude-api/streaming.md
- php/claude-api/tool-use.md
- php/managed-agents/README.md
- python/claude-api/README.md
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
This skill includes scripts that your agent may run.
Details
| Fact | Value | Source |
|---|---|---|
| Type | Skill | |
| Tool | Not stated in its documentation | |
| Publisher | Anthropic | source |
| Official status | Not stated in its documentation | |
| Needs an API key or sign-in | Not stated in its documentation | |
| Includes scripts | Yes | source |
| Platforms | Not stated in its documentation | |
| AI clients | Not stated in its documentation | |
| Licence | No licence stated | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 6, 2026192,611 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository |
Copies of this skill in other repositories (5)
These differ from this skill's text. They may be adapted copies or older versions.
- claude-apiskael-dev/skael
- claude-apiskael-dev/skael
- claude-apiidexal/idexal-skills
- claude-apitassiovale/claude-code-kit
- claude-apihk-hub/agentskills
More from Anthropic
28 skills
- algorithmic-art (Skill)
- canvas-design (Skill)
- docx (Skill)
- frontend-design (Skill)
- pdf (Skill)
- pptx (Skill)
Sources
- Web pageraw.githubusercontent.com · Backs: Includes scriptsNov 15, 2026
- GitHub repositorygithub.com/anthropics/skills · Backs: Publisher, Activity, LicenceNov 11, 2026
- Skill file (SKILL.md)github.com/anthropics/skillsNov 14, 2026
- Folder in the repository (claude-api)github.com/anthropics/skills · Backs: Includes scriptsNov 14, 2026