HELLO, CREATORSGood work starts with a great skill.Find yours

Claude API — Anthropic Skill

anthropics/skills

Use language-specific Claude API and SDK references for streaming, tools and agent integrations.

180,350Stars21,343ForksRepository last pushed

About this Skill

Use language-specific Claude API and SDK references for streaming, tools and agent integrations. An Anthropic account and credentials for live calls; SDK dependencies and API charges depend on the task.

Why we picked it

A reference-driven route to Claude application code. It selects the relevant official SDK documentation for the project's language; examples still require an API key, a configured model and usage budget.

What it helps with

  • Add streaming to a Claude app.
  • Implement a tool-use loop.
  • Update an Anthropic SDK integration.

How this skill works

1. Choose the relevant SDK or API surface

Identify the project language and confirm the application uses Claude before choosing a supported SDK surface.

2. Implement streaming and tool-use interactions

Read the relevant reference for streaming, tool use or other requested capabilities instead of guessing API parameters.

3. Consult current documentation for model IDs and API changes

Implement the call and handle response blocks, errors and tool results explicitly.

Official claude-api instructions

An example task

Try this brief: “Show a TypeScript pattern for streaming a response and handling a tool result.”

The preview is an original SkillHey illustration of this task. Its content is fictional and is not an official Anthropic screenshot or an agent benchmark.

Second example

Try this brief: “Show how a tool result is returned to Claude after the assistant requests a tool.”

Official claude-api instructions

Install this skill or its official plugin

For this skill alone, copy its complete directory into the project Skills root using the command above. The final entry is .claude/skills/claude-api/SKILL.md. Keep references, scripts and assets with it.

CommandWhat it helps with
/plugin marketplace add anthropics/skillsRegister the official Claude Code marketplace.
/plugin install claude-api@anthropic-agent-skillsInstall the official plugin. This may include other skills; see its manifest.

Official repository and plugin manifestClaude Code skill installation documentation

Dependencies and license

An Anthropic account and credentials for live calls; SDK dependencies and API charges depend on the task.

The recipe is free to access; running an agent or external service may have its own costs.

Review this skill’s LICENSE.txt before redistributing its files.

Official claude-api instructionsOfficial repository and plugin manifest

Before you use it

  • An Anthropic account and credentials for live calls; SDK dependencies and API charges depend on the task.

Supported agents

Claude Code

Frequently asked questions

Is this a separate skill?

Yes. claude-api has its own SKILL.md and directory. It also belongs to the Anthropic Official Skills topic.

Official sources

Based on official documentation, with practical scenarios suggested by SkillHey.