Quay lại danh sách
Claude Code NativeĐộ khó: beginner

/claude-api

Load Claude API and Managed Agents reference material for your project's language. Also activates automatically when your code imports the Anthropic SDK.

Dùng được với:Claude

Khi nào dùng

Use when building apps with the Claude API or Anthropic SDK. Auto-activates on import detection. Run /claude-api migrate to update existing code to a newer model.

Ví dụ sử dụng

/claude-api
/claude-api migrate
/claude-api managed-agents-onboard

Select Model

<skill name="/claude-api">
<purpose>
# /claude-api — Claude Code Bundled Skill

## What It Does
Loads **Claude API reference material** for your project's language and the Managed Agents reference. Covers tool use, streaming, batches, structured outputs, and common pitfalls.

## Supported Languages
Python, TypeScript, Java, Go, Ruby, C#, PHP, cURL

## Auto-Activation
Activates automatically when your code imports:
- `anthropic`
- `@anthropic-ai/sdk`
- `claude_agent_sdk`

You may never need to invoke it manually.

## Commands

### Load reference
```
/claude-api
```

### Migrate existing code to a newer model
```
/claude-api migrate
```
Claude asks which files to scan and which model to target, then updates:
- Model IDs
- Thinking configuration
- Parameters that changed between versions

### Onboard to Managed Agents
```
/claude-api managed-agents-onboard
```
Interactive walkthrough that creates a new Managed Agent from scratch — walks through tool definitions, system prompts, and deployment.
</purpose>
</skill>

Skill liên quan