Anthropic SDK
The Anthropic SDK (Python `anthropic`, TypeScript `@anthropic-ai/sdk`) calls Claude models through the Messages API. Use when a user asks to add Claude to an app, build a chatbot, stream Claude responses, give Claude tools (function calling), send images or PDFs, turn on adaptive thinking, count tokens, or pick a current Claude model id. Covers client setup, streaming, tool use, vision, thinking and effort, and current model ids and breaking changes.
Install
npx skills add TerminalSkills/skills --skill anthropic-sdkgit clone --depth 1 https://github.com/TerminalSkills/skills.git /tmp/skills
mkdir -p ~/.claude/skills
cp -r /tmp/skills/skills/anthropic-sdk ~/.claude/skills/anthropic-sdkPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Anthropic SDK ## Overview The official SDKs wrap `POST /v1/messages`. Everything (text, tools, images, thinking) goes through that one endpoint. Current SDK majors: `@anthropic-ai/sdk` 1.x on npm and `anthropic` 2.x on PyPI (Python 3.10+; its HTTP layer is `httpx2`, not `httpx`). Models retire: `claude-sonnet-4-20250514`, `claude-opus-4-20250514` and `claude-opus-4-1-20250805` are retired and return errors, and `claude-sonnet-4-5-20250929` retires on 2026-11-30. Check the model status table in the Anthropic docs before hardcoding an id. ## Instructions ### Current model ids (October 2026) | Model | Id | Context | $ per 1M in/out | |---|---|---|---| | Claude Fable 5.1 (hardest reasoning, long agentic work) | `claude-fable-5-1` | 1M | 10 / 50 | | Claude Opus 5.5 (Anthropic's suggested starting point) | `claude-opus-5-5` | 1M | 4 / 20 | | Claude Sonnet 5.5 (speed and intelligence) | `claude-sonnet-5-5` | 1M | 2 / 10 | | Claude Haiku 5.5 (classification, extraction, routing) | `claude-haiku-5-5` | 1M | from 0.10 / 0.50 | Use these exact strings; do not append dates. Older active ids include `claude-opus-4-8` and `claude-sonnet-4-6`; `claude-haiku-4-5-20251001` is active but its retirement is not sooner than 2026-10-15. ### Install and create the client ```bash npm install @anthropic-ai/sdk pip install anthropic ``` ```typescript import Anthropic from "@anthropic-ai/sdk"; const anthropic = new Anthropic(); // reads ANTHROPIC_API_KEY from the environment ```
Details
- Skill name
anthropic-sdk- Repository
- TerminalSkills/skills
- Path
skills/anthropic-sdk/SKILL.md- License
- Apache-2.0
- Repo updated
- 8 November 2026
FAQ
What does the Anthropic SDK skill do?
The Anthropic SDK (Python `anthropic`, TypeScript `@anthropic-ai/sdk`) calls Claude models through the Messages API. Use when a user asks to add Claude to an app, build a chatbot, stream Claude responses, give Claude tools (function calling), send images or PDFs, turn on adaptive thinking, count tokens, or pick a current Claude model id. Covers client setup, streaming, tool use, vision, thinking and effort, and current model ids and breaking changes.
How do I install the Anthropic SDK skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add TerminalSkills/skills --skill anthropic-sdk. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Anthropic SDK popular?
It lives in TerminalSkills/skills, which has 213 GitHub stars and 34 forks.
Related skills
3dsmax Rendering
213TerminalSkills/skills
Scripts and configures production rendering in Autodesk 3ds Max with the V-Ray and Corona renderers: output size and files, render elements, denoising, light mix, batch and command-line rendering, and network rendering. Use when a user asks to set up a production render, render several cameras in one batch, render from the command line or on a render farm, add render passes for compositing, or cut render time for archviz and product shots.
3dsmax Scripting
213TerminalSkills/skills
Covers scripting Autodesk 3ds Max, the 3D modeling and rendering application, with MAXScript and Python (pymxs): scene manipulation, object creation, material assignment, camera and light setup, batch operations, and file I/O. Use when tasks involve automating repetitive 3ds Max workflows, batch processing scenes, running scripts headless with 3dsmaxbatch, creating custom tools, or scripting scene setup for archviz, product visualization, or VFX.
3proxy
213TerminalSkills/skills
3proxy is a small open-source proxy server that runs HTTP/HTTPS, SOCKS4/5, SNI and TCP/UDP port-mapping proxies from one config file. Use when a user asks to set up an HTTP or SOCKS5 proxy, add proxy users and passwords, write 3proxy access rules, chain or rotate upstream (parent) proxies, limit bandwidth, connections or monthly traffic per user, run 3proxy in Docker, or fix a 3proxy.cfg that will not start.
Anthropics Official Pack
117Peiiii/skild
All official Claude skills from anthropics/skills.
Airllm
213TerminalSkills/skills
AirLLM runs very large open language models on a small GPU (or a CPU) by loading the model one layer at a time from disk instead of holding it all in memory, at the price of slow generation. Use when the user wants to run a 70B or larger Hugging Face model locally with 4-12 GB of VRAM, asks how to fit a model that does not fit in GPU memory, or says "airllm", "layer-by-layer inference", "run Llama 70B on a small GPU", "offline batch answers from a big model".
Anything LLM
213TerminalSkills/skills
All-in-one private AI app that chats with your own documents in workspaces, using any local or hosted LLM, a built-in vector database and a developer REST API. Use when someone asks to "run AnythingLLM in Docker", "chat with my PDFs privately", "create a workspace and upload documents through the API", "generate an AnythingLLM API key", or "connect AnythingLLM to Ollama".
Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.