claude-api Claude Code Skill
Claude Code SkillClaude CodeAI Agents & AI App DevelopmentClaude Code Customization & WorkflowThe explanation below is AI-generated. Please verify it against the sources.
This is a Claude skill that acts as a reference guide for developers calling the Claude API through the official Anthropic SDK. It covers model selection and pricing, request parameters, streaming, tool/function calling, Model Context Protocol integration, agent-building approaches including the Managed Agents service, prompt caching, token counting, and guidance for moving code to newer models. The skill is meant to be consulted whenever Claude or Anthropic is named, or when a task is LLM-shaped and no other provider is specified, and it steps aside when another provider's SDK is clearly in use. It also exposes several named subcommands for migrating code to a new model, auditing prompts and agent configuration for outdated patterns, upgrading the SDK across a major version, reducing API spend, and building or iterating on evaluation sets. Rather than relying on memorized API details, it instructs the assistant to detect the project's programming language and consult matching reference files before writing integration code.
About the service
The underlying service is Anthropic's Claude API, a hosted large language model platform reachable through REST endpoints or official SDKs in several programming languages. It offers chat-style message completion, server-side and client-defined tool use, file and batch processing endpoints, prompt caching, and a separate Managed Agents feature that runs agent loops and sandboxed tool execution on Anthropic's own infrastructure.
What you can do with claude-api
- Look up current Claude model identifiers, context window sizes, and per-token input/output pricing
- Get help deciding between a single API call, a self-managed tool-use loop, or Anthropic's hosted Managed Agents service for a given task
- Receive language-specific setup and code guidance for Python, TypeScript, Java, Go, Ruby, C#, PHP, or raw HTTP/cURL calls to the API
- Run built-in subcommands to migrate existing integration code to a newer model, audit prompts/tool configs for outdated patterns, upgrade the SDK across a major version, or find ways to lower API costs
- Get instructions on streaming responses, prompt caching, token counting, authentication handling, and error-handling patterns for Claude API requests
- Get help setting up or configuring a Managed Agent, including scheduling, memory, multi-agent rosters, and tool approval policies
Sources
History of claude-api
- Claude Code Skill Updated skill content (SKILL.md) of claude-api
- Claude Code Skill Updated skill content (SKILL.md) of claude-api
- Claude Code Skill Updated skill content (SKILL.md) of claude-api
- Claude Code Skill Updated skill content (SKILL.md) of claude-api
- Claude Code Skill Updated skill content (SKILL.md) of claude-api
- Claude Code Skill Updated skill content (SKILL.md) of claude-api
- Claude Code Skill Updated skill content (SKILL.md) of claude-api
- Claude Code Skill Updated skill content (SKILL.md) of claude-api
- Claude Code Skill Updated skill content (SKILL.md) of claude-api
- Claude Code Skill Updated skill content (SKILL.md) of claude-api