claude-api SKILL.md skillA

claude-api from anthropics/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add anthropics/skills/claude-api@git:20261009.dbd4588

Pins git:20261009.dbd4588 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
anthropics/skills
Path
skills/claude-api/SKILL.md
Versions recorded
10
Latest version
git:20261009.dbd4588, committed Oct 9, 2026
First version recorded
Jul 24, 2026
Size
105,146 bytes
Repository stars
182,395
License
none declared

Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER — read BEFORE opening the target file; don't skip because it "looks like a one-liner" — whenever: the prompt names Claude/Anthropic in any form (Claude, Anthropic, Fable, Opus, Sonnet, Haiku, `anthropic`, `@anthropic-ai`, `claude-*`, `us.anthropic.*`, `[1m]`); the user asks about an LLM (pricing/model choice/limits/caching) — never…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Building LLM-Powered Applications with Claude

This skill helps you build LLM-powered applications with Claude. Choose the right surface based on your needs, detect the project language, then read the relevant language-specific documentation.

## Before You Start

Scan the target file (or, if no target file, the prompt and project) for non-Anthropic provider markers - `import openai`, `from openai`, `langchain_openai`, `OpenAI(`, `gpt-4`, `gpt-5`, file names like `agent-openai.py` or `*-generic.py`, or any explicit instruction to keep the code provider-neutral. If you find any, stop and tell the user that this skill produces Claude/Anthropic SDK code; ask whether they want to switch the file to Claude or want a non-Claude implementation. Do not edit a non-Anthropic file with Anthropic SDK calls. (Exception: the `prompt-audit` subcommand is non-interactive and does not stop here - it records non-Anthropic provider markers in its report's stated assumptions and never proposes switching a non-Anthropic file to the Anthropic SDK.)

## Output Requirement

When the user asks you to add, modify, or implement a Claude feature, your code must call Claude through one of:
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add anthropics/skills/claude-api@sha256:40537cca17c4aa86

The line at the top of this page pins the label git:20261009.dbd4588, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_2fhqh542qpsf74vu.svg)](https://markdownregistry.com/a/art_2fhqh542qpsf74vu)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 10 versions of this file, between Jul 24, 2026 and Oct 9, 2026, about one every 9 days.

versioncommittedcommitsizeaudit
git:20261009.dbd4588 latest2026-10-09 dbd4588 105,146 BA view · diff
git:20261009.9d630802026-10-09 9d63080 103,911 BA view · diff
git:20261005.683bc882026-10-05 683bc88 103,457 BA view · diff
git:20260929.8a1541c2026-09-29 8a1541c 101,724 BA view · diff
git:20260910.34040c92026-09-10 34040c9 86,198 BA view · diff
git:20260901.53048662026-09-01 5304866 85,701 BA view · diff
git:20260821.3b3fad92026-08-21 3b3fad9 75,707 BA view · diff
git:20260813.f6656c12026-08-13 f6656c1 74,327 BA view · diff
git:20260807.f17010c2026-08-07 f17010c 72,716 BA view · diff
git:20260724.b29e7cf2026-07-24 b29e7cf 71,590 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (105146 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

anthropics/skills · 182,395 stars · license none declared · pushed 2026-10-09 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_2fhqh542qpsf74vu
GET https://markdownregistry.com/api/v1/resolve?ref=anthropics/skills/claude-api
GET https://markdownregistry.com/api/v1/blob/40537cca17c4aa86e4ce83ced39efcbfb1204905e3cf4c4ff98f2eab011e4b7f

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from anthropics/skills

academy-guide SKILL.md skill
anthropics/skills · skills/academy-guide/SKILL.md · Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it…
git:20260818.0a64e39 · audit A · 182,395 stars
algorithmic-art SKILL.md skill
anthropics/skills · skills/algorithmic-art/SKILL.md · Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users…
git:20251201.ef74077 · audit B · 182,395 stars
brand-guidelines SKILL.md skill
anthropics/skills · skills/brand-guidelines/SKILL.md · Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having…
git:20251201.ef74077 · audit A · 182,395 stars
canvas-design SKILL.md skill
anthropics/skills · skills/canvas-design/SKILL.md · Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user…
git:20251201.ef74077 · audit A · 182,395 stars
discernment-nudge SKILL.md skill
anthropics/skills · skills/discernment-nudge/SKILL.md · After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts…
git:20260817.f379e5a · audit A · 182,395 stars
doc-coauthoring SKILL.md skill
anthropics/skills · skills/doc-coauthoring/SKILL.md · Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation…
git:20251204.0075614 · audit A · 182,395 stars
docx SKILL.md skill
anthropics/skills · skills/docx/SKILL.md · Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word…
git:20260717.fa0fa64 · audit A · 182,395 stars
frontend-design SKILL.md skill
anthropics/skills · skills/frontend-design/SKILL.md · Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with…
git:20260903.41bbe19 · audit A · 182,395 stars
internal-comms SKILL.md skill
anthropics/skills · skills/internal-comms/SKILL.md · A set of resources to help me write all kinds of internal communications, using the formats that my company likes to…
git:20251201.ef74077 · audit A · 182,395 stars
mcp-builder SKILL.md skill
anthropics/skills · skills/mcp-builder/SKILL.md · Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external…
git:20251201.ef74077 · audit A · 182,395 stars
pdf SKILL.md skill
anthropics/skills · skills/pdf/SKILL.md · Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables…
git:20260204.4e6907a · audit A · 182,395 stars
pptx SKILL.md skill
anthropics/skills · skills/pptx/SKILL.md · Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes…
git:20260717.fa0fa64 · audit A · 182,395 stars

Every file in anthropics/skills

Other files named claude-api

claude-api SKILL.md skill
hashgraph-online/awesome-codex-plugins · plugins/Colin4k1024/tsp/skills/claude-api/SKILL.md · Anthropic Claude API patterns for Python and TypeScript. Covers Messages API, streaming, tool use, vision, extended…
git:20260512.6523792 · audit A · 1,352 stars
claude-api SKILL.md skill
kocoro-lab/kocoro · internal/skills/bundled/skills/claude-api/SKILL.md · Build apps with the Claude API or Anthropic SDK. TRIGGER when: code imports…
git:20260313.0cda0f4 · audit A · 415 stars
claude-api SKILL.md skill
nikships/droidproxy · .agents/skills/claude-api/SKILL.md · Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching…
git:20260630.b4f6da6 · audit A · 124 stars
claude-api SKILL.md skill
rudycity/superagent · .agents/skills/claude-api/SKILL.md · Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching…
git:20260626.019dba9 · audit A · 52 stars
claude-api SKILL.md skill
esonhugh/claude-code · src/skills/bundled/claude-api/SKILL.md
git:20260331.4178dd7 · audit C · 43 stars
claude-api SKILL.md skill
skateddu/claude-code-python-setup · .claude/skills/claude-api/SKILL.md · Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching…
git:20261007.90c97c1 · audit A · 28 stars
claude-api SKILL.md skill
lichangzheng10086/doyin_ai_video · .agents/skills/claude-api/SKILL.md · Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching…
git:20261012.de18eb6 · audit A · 28 stars
claude-api SKILL.md skill
archubbuck/workspace-architect · assets/skills/claude-api/SKILL.md · Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching…
git:20261009.e408263 · audit A · 19 stars

Browse by kind, by grade A, or by owner.