claude-api
Build apps with the Claude API or Anthropic SDK. TRIGGER when: code imports `anthropic`/`@anthropic-ai/sdk`/`claude_agent_sdk`, or user asks to use Claude API, Anthropic SDKs, or Agent SDK. DO NOT TRIGGER when: code imports `openai`/other AI SDK, general programming, or ML/data-science tasks.
newIT & Software DevelopmentAI & Automation
Building LLM-Powered Applications with Claude
This skill helps you build LLM-powered applications with Claude. Choose the right surface based on your needs, detect the project language, then read the relevant language-specific documentation.
When to Use
- Use when building with the Claude API, Anthropic SDKs, or the Agent SDK.
- Use when code imports
anthropic,@anthropic-ai/sdk, or related Claude SDK packages. - Do not use for general coding work unrelated to Claude integrations.
Defaults
Unless the user requests otherwise:
For the Claude model version, please use Claude Opus 4.6, which you can access via the exact model string claude-opus-4-6. Please default to using adaptive thinking (thinking: {type: "adaptive"}) for anything remotely complicated. And finally, please default to streaming for any request that may involve long input, long output, or high max_tokens — it prevents hitting request timeouts. Use the SDK's .get_final_message() / .finalMessage() helper to get the complete response if you don't need to handle individual stream events
Language Detection
Before reading code examples, determine which language the user is working in:
- Look at project files to infer the language:
*.py,requirements.txt,pyproject.toml,setup.py,Pipfile→ Python — read frompython/.ts,.tsx,package.json, `t
Subscribers only
The full skill, its 26 bundled files and every download is included with every paid Complete AI plan.
Details
| Source | anthropics/skills |
|---|---|
| License | Complete terms in LICENSE.txt |
| Risk label | critical ("critical" means the skill may run commands or touch files — read before use) |
| Files | LICENSE.txt, SKILL.md, csharp/claude-api.md, curl/examples.md, go/claude-api.md, java/claude-api.md, php/claude-api.md, python/agent-sdk/README.md, python/agent-sdk/patterns.md, python/claude-api/README.md, python/claude-api/batches.md, python/claude-api/files-api.md, python/claude-api/streaming.md, python/claude-api/tool-use.md, ruby/claude-api.md, shared/error-codes.md, shared/live-sources.md, shared/models.md, shared/tool-use-concepts.md, typescript/agent-sdk/README.md, typescript/agent-sdk/patterns.md, typescript/claude-api/README.md, typescript/claude-api/batches.md, typescript/claude-api/files-api.md, typescript/claude-api/streaming.md, typescript/claude-api/tool-use.md |
| Added | 2026-03-21 |
Related skills
advanced-evaluation
This skill should be used when the user asks to "implement LLM-as-judge", "compare model outputs", "create evaluation rubrics", "mitigate evaluation bias", or mentions direct scoring, pairwise comparison, position bias, evaluation pipelines, or automated quality assessment.
agent-creator
Create custom AI subagents with proper plugin structure, persona generation, and companion routing skills.
agent-framework-azure-ai-py
Build persistent agents on Azure AI Foundry using the Microsoft Agent Framework Python SDK.
agent-memory
A hybrid memory system that provides persistent, searchable knowledge management for AI agents.
agent-memory-mcp
A hybrid memory system that provides persistent, searchable knowledge management for AI agents (Architecture, Patterns, Decisions).
agent-orchestration-improve-agent
Systematic improvement of existing agents through performance analysis, prompt engineering, and continuous iteration.
