claude-api · Claude API Reference

claude-api

The authoritative reference skill for building Claude-powered applications: model IDs and pricing, request parameters, streaming, tool use, MCP, agents, prompt caching, token counting, and model migration — all verified against the skill's bundled docs, never written from memory.

Covers Python, TypeScript, Java, Go, Ruby, C#, PHP SDKs plus raw cURL, with built-in subcommand workflows: migrate, prompt-audit, upgrade, cost-optimize, and build-eval.

Example invocation: "Write a Python streaming chat example using the Claude API."

Full brief

Positioning

claude-api is a reference-manual skill for building LLM applications with the Claude API / Anthropic SDKs: it answers "how do I write this call" and "how do I migrate, audit, or optimize it." Its core discipline is never writing SDK usage from memory — function names, parameters, and model IDs always come from the skill's per-language docs; stale recall gets verified first.

Core capabilities

Workflow

  1. Scan the target file or request; confirm the language and provider (stops to confirm on non-Anthropic projects)
  2. Read the matching language reference
  3. Write the call code per the docs; compile/run to verify
  4. Subcommand mode: recognize the subcommand, then follow its dedicated guide step by step

Inputs & outputs

Input Notes
Requirement or target file Required
Language Inferred; asked when unclear
Subcommand Optional — e.g. migrate, cost-optimize

Output: SDK call code, migration/audit/cost-optimization reports.

Boundaries with adjacent skills

Fit

Before you start


claude-api is part of the Aiglade Skill library. Invoke it from the Aiglade chat box in plain language.

← All 155 skills