Skip to content
Claude API Reference

Claude API Reference Skill

Authoritative reference for the Claude API and Anthropic SDKs — model IDs, pricing, parameters, streaming, tool use, MCP, agents, prompt caching, and token counting.

GitHub Docs

Install

Install with the skills CLI

One command for Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf and dozens of other agents. Needs Node.js; the skill is fetched straight from anthropics/skills.

$ npx skills add anthropics/skills --skill claude-api

Run it in a terminal. The CLI finds the agents installed on your machine, asks which ones to add the skill to, and whether to install it into the folder you ran it from or for all your projects.

Other ways to install

Copy the whole skill folder — SKILL.md and any scripts or references beside it — into ~/.claude/skills/claude-api/, where Claude Code picks it up in every project. Only git is needed.

tmp=$(mktemp -d) && \
  git clone --depth 1 --branch main https://github.com/anthropics/skills.git "$tmp" && \
  mkdir -p ~/.claude/skills && \
  cp -R "$tmp"/skills/claude-api ~/.claude/skills/claude-api

No scripts or references next to it? Saving the SKILL.md alone as ~/.claude/skills/claude-api/SKILL.md works too.

Using another agent? Its personal skills folder
Codex
~/.agents/skills/
Cursor
~/.cursor/skills/
GitHub Copilot
~/.copilot/skills/
Gemini CLI
~/.gemini/skills/
Windsurf
~/.codeium/windsurf/skills/
OpenCode
~/.config/opencode/skills/

About

A reference skill for building on the Claude API and the Anthropic SDKs. It covers current model IDs and pricing, request parameters, streaming, tool use, the Model Context Protocol, agent patterns, prompt caching, token counting, and model-migration guidance — so integrations use accurate, up-to-date details instead of guesses from memory.

SKILL.md

The instructions your agent loads, as published by Anthropic.

SKILL.md

Claude API Reference

Use this skill whenever you are writing code against the Claude API or Anthropic SDK, or answering questions about models, pricing, limits, or caching.

Covers
  • Model IDs and pricing for the current Claude lineup
  • Messages API parameters, streaming, and stop reasons
  • Tool use, the Tool Runner loop, and MCP
  • Managed agents, prompt caching, and token counting
  • Migrating between model versions
Why use it

LLM details change often; answering from memory produces stale model names and wrong prices. This skill grounds answers in current reference material.

Install

Replicate's official skill for running models via its API — predictions, polling, Prefer: wait, webhooks with signature validation, streaming and file handling.

Create, edit, and optimize Agent Skills — scaffold new skills, refine existing ones, run evals, and tune descriptions for reliable triggering.

Skill: Notion API

by intellectronica

New

Gives a coding agent the Notion REST API as curl and jq calls: search, pages, blocks, databases, data sources, users and comments, with token handling, pagination, rate limits and confirmation before any change.

Featured

Inngest's durable-execution playbook as an agent skill — steps and memoisation, event and cron triggers, idempotency, cancellation, retries and non-retriable errors.

Browse all skills →