Tool use: shared/tool-use-concepts.md and {lang}/claude-api/tool-use.md
Prompt caching: shared/prompt-caching.md
Batch processing: {lang}/claude-api/batches.md
File upload flows: {lang}/claude-api/files-api.md
Model choice or naming: shared/models.md
API and SDK failures: shared/error-codes.md
Live sources for fresh answers: shared/live-sources.md
Response Style
Give production-usable examples, not pseudocode, when the user asks for implementation help.
Call out when you are making an inference from the docs rather than repeating an explicit guarantee.
If the user’s request depends on fast-changing details such as model names or pricing, browse Anthropic docs and cite the relevant page.
1---2name: claude-api3description: Claude API4---5# Claude API67Use this skill when the user is building against Anthropic APIs or SDKs, including `@anthropic-ai/sdk`, `anthropic`, or Agent SDK integrations.89## What This Skill Covers1011- Messages API basics across supported languages12- Streaming responses and incremental rendering13- Prompt caching for repeated context14- Tool use and agent-style orchestration15- Batches and Files API workflows16- Model selection and error handling1718## Working Rules1920- Prefer Anthropic official docs and SDK idioms over generic LLM advice.21- Keep examples aligned with the user’s detected language when possible.22- Use the language-specific `README.md` for standard request flow, auth, and request shape.23- Use the shared docs for topics that cut across all SDKs, such as models, caching, tool-use concepts, and error codes.24- If the user asks for exact current model IDs, feature availability, or pricing, verify against Anthropic’s live docs before answering.2526## Reading Guide2728- Basic request/response flow: `{lang}/claude-api/README.md`29- Streaming output: `{lang}/claude-api/streaming.md`30- Tool use: `shared/tool-use-concepts.md` and `{lang}/claude-api/tool-use.md`31- Prompt caching: `shared/prompt-caching.md`32- Batch processing: `{lang}/claude-api/batches.md`33- File upload flows: `{lang}/claude-api/files-api.md`34- Model choice or naming: `shared/models.md`35- API and SDK failures: `shared/error-codes.md`36- Live sources for fresh answers: `shared/live-sources.md`3738## Response Style3940- Give production-usable examples, not pseudocode, when the user asks for implementation help.41- Call out when you are making an inference from the docs rather than repeating an explicit guarantee.42- If the user’s request depends on fast-changing details such as model names or pricing, browse Anthropic docs and cite the relevant page.
Run npx skillmds@latest add oboard/claude-api in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Claude API It is listed under Integrations & APIs on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
oboard (@oboard) published this skill. Their other Agent Skills are listed on their SkillMD profile.