Skip to content
Back to skills

Claude

ASecurity

An open-source Agent Skill that provides Claude with up-to-date API reference material, SDK documentation, and best practices for building applications with the Claude API. --- The `claude-api` skill is an open-source [Agent Skill](/docs/en/agents-and-tools/agent-skills/overview) that provides Claude with detailed, up-to-date reference material for building applications with the Claude API and [Agent SDK](/docs/en/agent-sdk/overview). It covers 8 programming languages: Python, TypeScript, Jav...

  • 14 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 6, 2026
ai-agentsjavascripttypescriptpythonrustgojavarubyphpswiftc++

Works with

  • claude code
  • terminal
  • cli
  • api
  • mcp

Security analysis

A100/100

Pro scans all 21 files and shows the line behind each finding

Scanned October 6, 2026

npx -y skills add integry/propr --skill claude --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Claude?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Claude
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/integry-claude/badge)](https://www.skillsdirectory.com/skills/integry-claude)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Claude API skill

An open-source Agent Skill that provides Claude with up-to-date API reference material, SDK documentation, and best practices for building applications with the Claude API.

---

The `claude-api` skill is an open-source [Agent Skill](/docs/en/agents-and-tools/agent-skills/overview) that provides Claude with detailed, up-to-date reference material for building applications with the Claude API and [Agent SDK](/docs/en/agent-sdk/overview). It covers 8 programming languages: Python, TypeScript, Java, Go, Ruby, C#, PHP, and cURL.

The skill comes bundled with [Claude Code](https://code.claude.com/docs/en/overview) and is also available in the open-source [Anthropic skills repository](https://github.com/anthropics/skills/tree/main/skills/claude-api), where you can install it in any environment that supports Agent Skills.

The skill uses [progressive disclosure](/docs/en/agents-and-tools/agent-skills/overview#three-types-of-skill-content-three-levels-of-loading) to keep context efficient: Claude loads only the documentation relevant to your project's language and the specific task at hand (tool use, streaming, batches, and so on), rather than loading everything at once.

## What the skill provides

When triggered, the skill equips Claude with:

- **Language-specific SDK documentation:** Installation, quick start, common patterns, and error handling for your project's language
- **Tool use guidance:** Language-specific examples and [conceptual foundations](/docs/en/agents-and-tools/tool-use/overview) for function calling
- **Streaming patterns:** Implementation details for building chat UIs and handling incremental display
- **Batch processing:** Offline batch processing at 50% cost
- **Agent SDK reference:** Installation, built-in tools, permissions, MCP integration, and common patterns (Python and TypeScript)
- **Current model information:** Model IDs, context window sizes, and pricing
- **Common pitfalls:** Detailed guidance on avoiding frequent mistakes when integrating with the API

## When the skill activates

The skill activates in two ways:

**Automatic activation** occurs when Claude detects that your code imports an Anthropic SDK:

- `anthropic` (Python)
- `@anthropic-ai/sdk` (TypeScript/JavaScript)
- `claude_agent_sdk` (Agent SDK)

**Manual invocation** by typing `/claude-api` in any environment where the skill is installed.

The skill does not activate for general programming tasks, ML/data-science work, or code that imports other AI SDKs (such as OpenAI).

## Supported languages

The skill detects your project's language automatically by examining project files (for example, `requirements.txt` for Python, `tsconfig.json` for TypeScript, `go.mod` for Go) and loads the appropriate documentation.

| Language   | SDK documentation | Tool runner | Agent SDK |
|------------|-------------------|-------------|-----------|
| Python     | Yes               | Yes (beta)  | Yes       |
| TypeScript | Yes               | Yes (beta)  | Yes       |
| Java       | Yes               | No          | No        |
| Go         | Yes               | No          | No        |
| Ruby       | Yes               | Yes (beta)  | No        |
| C#         | Yes               | No          | No        |
| PHP        | Yes               | No          | No        |
| cURL       | Yes               | N/A         | N/A       |

If your project uses multiple languages, Claude asks which one applies. For unsupported languages (Rust, Swift, C++), the skill provides cURL/raw HTTP examples.

## How to use the skill

### In Claude Code (bundled)

The skill ships with [Claude Code](https://code.claude.com/docs/en/overview) and requires no installation. When you ask Claude to help build something with the Claude API, or when your project already imports an Anthropic SDK, the skill activates automatically.

You can also invoke it directly:

```text
/claude-api
```

For more about how bundled skills work in Claude Code, see the [Claude Code skills documentation](https://code.claude.com/docs/en/skills#bundled-skills).

### From the skills repository

The skill source is available in the [Anthropic skills repository](https://github.com/anthropics/skills). You can install it using the `npx` command:

```bash
npx skills add https://github.com/anthropics/skills --skill claude-api
```

Or install it as a Claude Code [plugin](https://code.claude.com/docs/en/plugins):

```bash
/plugin marketplace add anthropics/skills
/plugin install claude-api@anthropic-agent-skills
```

## Example usage

Here are examples of tasks the skill helps Claude handle:

**Building a chat application:**
```text
Build a streaming chat UI with the Claude API in TypeScript
```

**Working with the Agent SDK:**
```text
Create an agent with file and terminal tools using the Agent SDK
```

In each case, the skill loads the relevant language-specific documentation and guides Claude through the implementation using current API patterns and best practices.

## Next steps

<CardGroup cols={2}>
  <Card
    title="Agent Skills overview"
    icon="graduation-cap"
    href="/docs/en/agents-and-tools/agent-skills/overview"
  >
    Learn about how Agent Skills work and the progressive disclosure model
  </Card>
  <Card
    title="Client SDKs"
    icon="code"
    href="/docs/en/api/client-sdks"
  >
    Browse the official Anthropic SDKs for all supported languages
  </Card>
  <Card
    title="Agent SDK"
    icon="cube"
    href="/docs/en/agent-sdk/overview"
  >
    Build AI agents with built-in tools, permissions, and MCP support
  </Card>
  <Card
    title="Skills repository"
    icon="github-logo"
    href="https://github.com/anthropics/skills"
  >
    Explore the public Anthropic skills repository on GitHub
  </Card>
</CardGroup>

Files in this skill

  • agent-loop.md28.4 KB
  • best-practices.md40.6 KB
  • build-a-tool-using-agent.md47.7 KB
  • claude-api-skill.md5.6 KB
  • claude-code-features.md15.2 KB
  • cli.md1.5 KB
  • client-sdks.md7.8 KB
  • cost-tracking.md10.9 KB
  • csharp.md14.3 KB
  • custom-tools.md30.5 KB
  • define-tools.md22.6 KB
  • enterprise.md12.5 KB
  • eval-tool.md5.3 KB
  • file-checkpointing.md25.8 KB
  • go.md27 KB
  • handle-tool-calls.md9 KB
  • headless.md9.5 KB
  • hooks.md33.6 KB
  • how-tool-use-works.md8.4 KB
  • implement-tool-use.md64.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…