Claude API Skill · Development

Master Claude API Integrations with Anthropic SDKs

Integrate Claude Opus 4.6 into your apps.

Use adaptive thinking and streaming for 100% reliable LLM responses. Download the AI Agent Skill for coding now.

  • Anthropic SDK
  • Claude Opus
  • LLM API
  • Adaptive Thinking
  • Python
  • TypeScript

About This Skill

This skill provides 4 core pillars for building LLM-powered applications: surface selection, integration triggers, model defaults like Claude Opus 4.6, and multi-language support for Python and TypeScript.

Quick Start

  1. 1Install the Anthropic SDK for your language (Python or TypeScript)
  2. 2Configure the Claude Opus 4.6 model string in your client
  3. 3Enable adaptive thinking and streaming for complex reasoning tasks
Example Command
import Anthropic from '@anthropic-ai/sdk';

Core Capabilities

Building LLM-Powered Applications

Choose the right surface and architecture for your Claude-powered apps based on specific project needs.

When to Use

Automatically triggers when importing anthropic, @anthropic-ai/sdk, or claude_agent_sdk in your project.

Defaults

Standardizes on Claude Opus 4.6 with adaptive thinking and streaming enabled for high-performance output.

Language Detection

Automatically detects Python or TypeScript environments to provide contextually relevant code examples.

Usage Examples

Input

Set up a Claude client in Python

Output

import anthropic client = anthropic.Anthropic() # Using claude-opus-4-6 with adaptive thinking

Before

Waiting for full JSON response which often timed out during long generations.

After

Real-time streaming with .finalMessage() helper for improved reliability and UX.

Input

Configure adaptive thinking for a complex prompt

Output

thinking: { type: 'adaptive' }

SKILL.md

---
name: claude-api
description: "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."
risk: unknown
source: "https://github.com/anthropics/skills"
date_added: "2026-03-21"
license: Complete terms in LICENSE.txt
---

# 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:

1. **Look at project files** to infer the language:

   - `*.py`, `requirements.txt`, `pyproject.toml`, `setup.py`, `Pipfile` → **Python** — read from `python/`
   - `*.ts`, `*.tsx`, `package.json`, `tsconfig.json` → **TypeScript** — read from `typescript/`
   - `*.js`, `*.jsx` (no `.ts` files present) → **TypeScript** — JS uses the same SD

Frequently Asked Questions

FAQ

Which tools are compatible with this skill?
It is compatible with the official Anthropic SDKs for Python and TypeScript, as well as the Claude Agent SDK.
Who is the target audience?
Software developers and AI engineers building production-grade applications using Anthropic's LLMs.
How does this differ from standard OpenAI integrations?
This skill specifically optimizes for Claude-specific features like adaptive thinking and the Opus 4.6 model architecture.
Which programming languages are supported?
It provides dedicated support and file detection for Python, TypeScript, and JavaScript.
What results can I expect?
Faster development cycles with pre-configured defaults for streaming and complex reasoning via Claude Opus 4.6.

Discussion

Discussion

0 comments
U

Trigger Phrases

Use these phrases to activate this skill in your AI coding assistant:

import anthropicuse Claude APIinstall @anthropic-ai/sdkClaude Opus 4.6 setupAnthropic Agent SDK