claude-api

Generate and maintain Claude API integrations across eight SDK languages.

180k|21.4k|Updated Sep 22, 2025
Ready to run
npx skills add https://github.com/anthropics/skills --skill claude-api-anthropics
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: claude-api
Source: https://github.com/anthropics/skills/tree/main/skills/claude-api
Command: npx skills add https://github.com/anthropics/skills --skill claude-api-anthropics

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Writing Claude API code from memory often produces stale model IDs, deprecated parameters, and incorrect SDK usage across languages. This Skill provides authoritative, version-current reference for building applications with the Anthropic SDK, covering model selection, pricing, streaming, tool use, and agent patterns. ## Core Features & Use Cases - Multi-language SDK guidance: Language-specific documentation for Python, TypeScript, Java, Go, Ruby, C#, PHP, and cURL, with automatic language detection from project files. - Migration and upgrade workflows: Subcommands for model migration (migrate), prompt auditing (prompt-audit), SDK upgrades (upgrade), and cost optimization (cost-optimize). - Agent architecture patterns: Decision frameworks for choosing between single API calls, tool use workflows, Tool Runner, and Managed Agents. - Use Case: A developer asks to add streaming to their Python app. The Skill detects the language, reads the Python-specific reference, and generates code using claude-opus-5-5 with adaptive thinking and eager input streaming. ## Quick Start Use the claude-api skill to add streaming to my Python script that calls the Anthropic SDK.

Frequently Asked Questions about claude-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What model ID should I use for Claude Opus 5.5?▼

Use the exact model string `claude-opus-5-5` for Claude Opus 5.5. Never append date suffixes like `claude-opus-5-5-20260401`. The Skill's model table lists current IDs including `claude-opus-5-5`, `claude-sonnet-5-5`, and `claude-haiku-5-5`.