AI agent skill

Claude API

Up-to-date Claude API reference for model IDs, tool use, MCP, prompt caching, streaming, and SDK patterns so an agent stops guessing against stale docs.

·

When to use this skill

Use Claude API when writing or reviewing code that calls Anthropic models — model IDs, tool use, batching, caching. It is the lookup skill, not a product tutorial.

When not to use it

If you are authoring a SKILL.md, use Skill Creator / Writing Skills. If you need an MCP server, use MCP Builder. This skill will not install Claude Code for you.

How to install

  1. Personal install: create ~/.claude/skills/claude-api/SKILL.md (and any bundled scripts) so Claude Code, Claude Desktop, and compatible agents can load it in every project.
  2. Project install: commit the same folder at .claude/skills/claude-api/ so teammates get the skill with the repo.
  3. Restart the agent session after copying files so it re-scans the skills directory, then ask for the task in words that match the skill description.

Full install guide for Claude, Cursor, and Codex

What this skill does

API drift is the usual failure: a blog post names a model that no longer exists. This skill keeps the agent on current IDs, headers, and tool-use shapes.

Intended uses

  • Pick the right model ID for a batch job
  • Wire tool use without copying an outdated gist
  • Debug a 400 from the Messages API

Related skills

Related skills in this directory, for comparison before you install another skill.

coding

MCP Builder

Design and implement Model Context Protocol servers so an agent can call external tools with typed schemas instead of stuffing API docs into a skill.

View skill

coding

Skill Creator

Scaffold a new AI agent skill from a plain-language job description: folder, SKILL.md frontmatter, trigger description, and a first draft of the instructions.

View skill

coding

Systematic Debugging

A root-cause debugging loop for coding agents: reproduce, isolate, hypothesize, then change one thing — instead of shotgun patches.

View skill

Ranked Claude skills