claude-api
Reference for building LLM applications with the Claude API and SDKs: models, tool use, streaming, caching, batches and managed agents, per language.
- Kind
- Skill
- Works with
- Claude Code
- Source
- anthropics/skills @ 33375500bcea
- Path
- skills/claude-api/SKILL.md
- Jobs
- Documentation, Implementation
- Topics
- LLM apps & RAG, Agents & MCP
Credit
- Made by
- anthropics
- Original
- github.com/anthropics/skills/blob/33375500bcea98d610eb30ce10a…
- License
- Apache-2.0
Listed by Skill Manifest; not made by us.
InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
Install factsScanned 3 Nov 2026
- Adds
- .claude/skills/claude-api/ (the skill folder)
- 65 other files in the folder: LICENSE.txt, csharp/claude-api/README.md, csharp/claude-api/batches.md, csharp/claude-api/files-api.md and 61 more
- Runs scripts
- Yes
- my_script.py
- command line in the text (LICENSE.txt)
- shell block in the text (csharp/claude-api/README.md)
- shell block in the text (curl/examples.md)
- Uses the network
- Yes
- curl / wget (curl/examples.md)
- curl / wget (curl/managed-agents.md)
- downloads packages (go/claude-api/README.md)
- downloads packages (go/managed-agents/README.md)
- Needs secrets
- Yes
- ANTHROPIC_API_KEY
- ANTHROPIC_AUTH_TOKEN
- ANTHROPIC_IDENTITY_TOKEN
- ANTHROPIC_FOUNDRY_API_KEY
- Reads environment variables
- ANTHROPIC_API_KEY
- ANTHROPIC_AUTH_TOKEN
- ANTHROPIC_IDENTITY_TOKEN
- HEADERS
- SESSION_ID
- FILE_ID
- Reads outside the project
- ~/.config/anthropic/ (SKILL.md)
- ~/.nuget/packages/anthropic/*/lib/*/Anthropic.dll (csharp/claude-api/README.md)
- /usr/bin/env (csharp/claude-api/README.md)
- /mnt/session/outputs/ (curl/managed-agents.md)
- and 6 more
- Calls other skills
- /jar
- /version
- /dependency
- /memories
- /json
- /text
- and 20 more
- What it does
- Publishes to an outside platform
- Needs a paid account or key
- Source revision
- 33375500bcea
- Licence
- Apache-2.0
- Last activity
- 16 Nov 2026
- Source changed after the scan
- Yes
- Last push 16 Nov 2026, scanned 3 Nov 2026; read it again before you rely on this scan
- Review
- Reviewed
Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.
- 4 files in the skill folder were not scanned: typescript/claude-api/README.md (over the scan limit), typescript/claude-api/streaming.md (over the scan limit), typescript/claude-api/tool-use.md (over the scan limit), typescript/managed-agents/README.md (over the scan limit)
# 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. ## Before You Start Scan the target file (or, if no target file, the prompt and project) for non-Anthropic provider markers - `import openai`, `from openai`, `langchain_openai`, `OpenAI(`, `gpt-4`, `gpt-5`, file names like `agent-openai.py` or `*-generic.py`, or any explicit instruction to keep the code provider-neutral. If you find any, stop and tell the user that this skill produces Claude/Anthropic SDK code; ask whether they want to switch the file to Claude or want a non-Claude implementation. Do not edit a non-Anthropic file with Anthropic SDK calls. (Exception: the `prompt-audit` subcommand is non-interactive and does not stop here - it records non-Anthropic provider markers in its report's stated assumptions and never proposes switching a non-Anthropic file to the Anthropic SDK.) ## Output Requirement When the user asks you to add, modify, or implement a Claude feature, your code must call Claude through one of: …