Skip to content
Kitbay
Skill

claude-api

Updated on Nov 6, 2026192,611GitHub starsIncludes scripts

A reference skill from Anthropic for writing code against the Claude API and Anthropic's SDKs.

What the skill teaches

A reference skill from Anthropic for writing code against the Claude API and Anthropic's SDKs. It detects the project's language among Python, TypeScript, Java, Go, Ruby, C#, PHP and cURL, requires the official SDK, and stops to ask if it finds another provider's SDK in the file. It carries current model IDs and pricing, warns about outdated patterns, and covers thinking and effort settings, prompt caching, streaming, tool use, batches, files, server tools, cloud providers such as Bedrock and Vertex AI, and Managed Agents. Subcommands handle model migration, prompt audits, cost reviews and evaluation building, and a few helper scripts are included.

Capabilities

  • Write Claude API code with the official SDK for the project's language
  • Migrate code to newer Claude models
  • Set up prompt caching, tool use, streaming and batches
  • Review prompts and API costs