Claude Api Skill
Description
Professional-grade Claude API skill framework. Comprehensive guide covering Messages API, streaming, tool use, vision, extended thinking, batches, prompt caching, error handling, cost optimization, and production patterns.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
Claude API Skill (Professional Edition v2.0)
**The most comprehensive guide for building production-grade applications with the Anthropic Claude API.**
Master Messages API, streaming, tool use, vision, extended thinking, batches, prompt caching, optimization, error handling, and architecture patterns.
What's Inside
This enhanced skill framework covers everything needed to build scalable AI applications:
Core Concepts
- Model Selection — Comparison matrix and selection guide (Opus, Sonnet, Haiku)
- 7 Key Features — Messages, Streaming, Tool Use, Vision, Extended Thinking, Caching, Batches
Python SDK (Complete Guide)
- Installation & configuration
- Basic messages, streaming, system prompts
- Multi-turn conversations
- Tool use with examples
- Vision (images, multiple images)
- Extended thinking for complex reasoning
- Prompt caching (90% cost savings)
- Batches API (50% cost reduction)
TypeScript SDK (Complete Guide)
- Installation & configuration
- Basic messages, streaming, system prompts
- Tool use with event handlers
- Vision with image loading
- Extended thinking
- Prompt caching
- Batches API
Production Patterns
- Error handling with retry logic
- Token counting before API calls
- Structured JSON output
- Smart caching strategies
- Comprehensive logging and monitoring
Cost Optimization
- Model selection by task ($4.80/M vs $18 vs $90)
- Caching strategy (90% savings)
- Batches API (50% savings)
- Cost examples with real numbers
- Task-specific model selection
Debugging & Monitoring
- Request/response logging
- Token usage tracking
- API metrics collection
- Common pitfalls and solutions
- Quality checklist
Quick Start
Python
from anthropic import Anthropic
client = Anthropic() # reads ANTHROPIC_API_KEY from environment
message = client.messages.create(
model="claude-sonnet-4-6",
max_tokens=1024,
messages=[{"role": "user", "content": "Hello, Claude!"}]
)
print(message.con
Related Skills
Auto Update
Pull the latest ECC repo changes and reinstall the current managed targets.
Development Ecc Guide
Navigate ECC's current agents, skills, commands, hooks, install profiles, and docs from the live repository su
Development Epic Claim
Claim an epic issue, stamp coordination state, and sync local ownership.
Development Epic Publish
Publish a validated epic update back to the issue and local cache.
Development Epic Review
Mark epic review requested, approved, or changes requested.
Development Epic Unblock
Sweep blocked epic issues and reopen anything whose dependencies are closed.
Development Related Agents
Django Build Resolver
Django/Python build, migration, and dependency error resolution specialist. Fixes pip/Poetry errors, migration
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11