Sign in
Explore
Skills · SkillData & AIBackend & APIsReviewed

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
License
Apache-2.0
Jobs
Documentation, Implementation
InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
# 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:
…