claude-api
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-li
- License
- See LICENSE.txt in skill folder
- SKILL.md tokens
- 26,279
- Bundled files
- 95
- Bundled tokens (estimated)
- 493,680
Cost per 1,000 loads
Estimated input cost per 1,000 loads of SKILL.md only (characters ÷ 4). Bundled files, output tokens and execution are excluded.
| Model | Input / 1M tokens | 1,000 loads |
|---|---|---|
| Claude Opus 5 | $5.00 | $131.40 |
| Claude Sonnet 5 | $2.00 | $52.56 |
| Claude Haiku 4.5 | $1.00 | $26.28 |
Safety flags
Detected automatically from files; not a security audit.
- Runs scripts
- Yes
- Network access
- Yes
- Shell commands
- No
Works with
Open SKILL.md format
- Claude Code
- Codex
- Cursor
- GitHub Copilot
- Gemini CLI
- OpenCode
- Goose
Install
npx skills add anthropics/skills --skill claude-apiLast verified:
claude-api FAQ
What does the claude-api skill do?
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-li Source: https://github.com/anthropics/skills/blob/main/skills/claude-api/SKILL.md
What does the claude-api skill cost to load?
SKILL.md is about 26,279 tokens. Estimated input cost per 1,000 loads: Claude Opus 5 $131.40; Claude Sonnet 5 $52.56; Claude Haiku 4.5 $26.28. Estimated input cost per 1,000 loads of SKILL.md only (characters ÷ 4). Bundled files, output tokens and execution are excluded. Prices: https://docs.anthropic.com/en/docs/about-claude/pricing
How do I install the claude-api skill?
Skills CLI: npx skills add anthropics/skills --skill claude-api. Claude Code: /plugin marketplace add anthropics/skills, then install the plugin from that marketplace. Download the claude-api skill folder as a ZIP and upload it in Claude.ai skills settings.
Is the claude-api skill safe?
Automatically detected flags: runs scripts, network access. Flags are detected automatically from the skill's files and are not a security audit; review the SKILL.md before installing.