Skip to content

Development & Engineering

Claude API

Free

Anthropic's skill for building apps with the Claude API and SDKs, kept close to the current docs.

Difficulty intermediate
Version v1.1

Purpose

Install the original Claude API skill from anthropics/skills and use it in Claude Code.

Procedure

--- name: claude-api description: Anthropic's skill for building apps with the Claude API and SDKs, kept close to the current docs. ---

Claude API

Purpose

Install the original Claude API skill from anthropics/skills and use it in Claude Code.

Procedure

Source: https://github.com/anthropics/skills/tree/main/skills/claude-api Maintainer: Anthropic (anthropics/skills). Skilling lists this skill; the original lives in that repository.

Install

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

Run the two /plugin lines inside Claude Code. The plugin installs the whole claude-api set, including this skill. The manual copy installs only this one folder. Start a new Claude Code session afterwards.

Manual install (this skill only)

git clone https://github.com/anthropics/skills.git
mkdir -p ~/.claude/skills
cp -r skills/skills/claude-api ~/.claude/skills/

What it does

  • Current API and SDK usage
  • Model and feature guidance
  • Fewer outdated code samples

How to use it

Ask Claude to build or fix code that calls the Claude API.

Example requests

1. Use Claude API

Request: Ask Claude to build or fix code that calls the Claude API. Expected: Current API and SDK usage.

Dependencies

Claude Code with /plugin support, or git for the manual copy.

Compatibility

This document follows the Agent Skills layout (a folder named claude-api containing SKILL.md). Claude Code, Cursor, Codex, and Gemini CLI can load that file from the paths in the Skilling installation guide. GitHub Copilot does not load SKILL.md. Use the Copilot instructions copy, and narrow applyTo before you commit it.

Example prompts

Use Claude API

Ask Claude to build or fix code that calls the Claude API.

Expected: Current API and SDK usage.

Choose the agent

This skill is installed for one agent at a time. Pick the section you are using.

Related

  • Webapp Testing

    Test local web apps with Playwright: check behavior, capture screenshots and read browser logs.

  • MCP Builder

    Guide for building good MCP servers in Python (FastMCP) or Node/TypeScript that connect LLMs to APIs.

  • Skill Creator

    Create, edit and test your own skills, run evals and tune the description so the skill triggers.

Reviews

No reviews yet.

    Sign in to review.

    Report a problem

    Inaccurate steps, an unsafe instruction, or a licensing concern.

    Sign in to report.