Agent skill · Backend & API

anthropic-api

Integrates Anthropic Claude API for chat, tool use, and vision capabilities. Use when building AI-powered features with Claude models including streaming, extended thinking, and multi-turn conversations.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill anthropic-api --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 10 KB
Bundled scripts: none
Path: skills/ai-llm/anthropic-api/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Anthropic Claude API Official TypeScript SDK for Anthropic's Claude AI. Access Claude models for chat, tool use, vision, and extended thinking. ## Quick Start ```bash npm install @anthropic-ai/sdk ``` ### Setup ```typescript import Anthropic from '@anthropic-ai/sdk'; const anthropic = new Anthropic({ apiKey: process.env.ANTHROPIC_API_KEY, }); ``` ## Messages API ### Basic Message ```typescript const message = await anthropic.messages.create({ model: 'claude-sonnet-4-20250514', max_tokens: 1024, messages: [ { role: 'user', content: 'Hello, Claude!' }, ], }); console.log(message.content[0].text); ``` ### System Prompt ```typescript const message = await anthropic.messages.create({ model: 'claude-sonnet-4-20250514', max_tokens: 1024, system: 'You are a helpful coding assistant.', messages: [ { role: 'user', content: 'Explain async/await in JavaScript' }, ], }); ``` ### Multi-turn Conversation ```typescript const message = await anthropic.messages.create({ model: 'claude-sonnet-4-20250514', max_tokens: 1024, messages: [ { role: 'user', content: 'What is TypeScript?' }, { role: 'assistant', content: 'TypeScript is a typed superset of JavaScript...' }, { role: 'user', content: 'How do

What's inside
Steps it walks through
  1. Quick Start
  2. Setup
  3. Messages API
  4. Basic Message
  5. System Prompt
  6. Multi-turn Conversation
  7. Streaming
  8. Basic Streaming
  9. Using .stream() Helper
  10. Stream Events
  11. Tool Use (Function Calling)
  12. Vision (Image Analysis)
  13. URL Image
  14. Base64 Image
Ships with 1 file
  • metadata.json
Commands it runs
npm install @anthropic-ai/sdk
More from claude-skill-registry
All skills →
About this skill
What does the anthropic-api skill do?

Integrates Anthropic Claude API for chat, tool use, and vision capabilities. Use when building AI-powered features with Claude models including streaming, extended thinking, and multi-turn conversations.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill anthropic-api --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going