Skill Issue
← Browse

claude-api

Anthropic's official skill for building with the Claude API and Agent SDK.

  • For people who code
  • Needs: A coding tool such as Claude Code; the apps it helps you build need an Anthropic account…
by anthropics
Add to your AI

What it does

Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration.
anthropics, in the skill's own instructions
Instructions the AI follows

This is the skill's own instruction file. It's written for the AI, so it can read like a list of orders. You don't need to read it to use the skill.

Instruction file26 min read

This skill helps you build LLM-powered applications with Claude. Choose the right surface based on your needs, detect the project language, then read the relevant language-specific documentation.

Scan the target file (or, if no target file, the prompt and project) for non-Anthropic provider markers - import openai, from openai, langchain_openai, OpenAI(, gpt-4, gpt-5, file names like agent-openai.py or *-generic.py, or any explicit instruction to keep the code provider-neutral. If you find any, stop and tell the user that this skill produces Claude/Anthropic SDK code; ask whether they want to switch the file to Claude or want a non-Claude implementation. Do not edit a non-Anthropic file with Anthropic SDK calls. (Exception: the prompt-audit subcommand is non-interactive and does not stop here - it records non-Anthropic provider markers in its report's stated assumptions and never proposes switching a non-Anthropic file to the Anthropic SDK.)

From skills/claude-api/SKILL.md in anthropics/skills · read from GitHub at commit main

Try it

  1. 1Add claude-api to your AI
  2. 2Ask for something like this
Your AI
  • Add a Claude-powered summary button to our app, using the official SDK and current model.

  • Build a small agent with the Claude Agent SDK that can search our docs and answer questions.

  • Our Claude API costs are high. Check how we call it and add prompt caching where it helps.

Example prompts written from the skill's instructions.

Safety

SafeDetails

All three scanners ran and found nothing that could steal your data or hijack your AI.

What it can do
  • Runs commands on your computer
  • Goes online
  • Reads keys or settings
  • Asks for wide access to your files

No clear license.

Scanners
SkillSpector 2.12.0 · HoneyBadger 0.8.1 · agentscan 1.2.2
Scanned on
Nov 9, 2026
  • Secret scanNoticedagentscan: secrets high shared/managed-agents-onboarding-from-url.md:213 Secret-like assignment Contains something that looks like a key or password. (LLM02 Sensitive Information Disclosure)HoneyBadger: ss-sensitive-paths CRITICAL Sensitive path references ([.env .env .env .env .env .env .env ~/.ssh/ id_rsa .env .env ~/.ssh/ id_rsa .env]) combined with external URLs suggest data exfiltration Mentions secret files and also web addresses. (LLM02 Sensitive Information Disclosure)SkillSpector: AS2 HIGH shared/prompt-audit.md:33 MCP Config Access Reads your connector (MCP) settings. (LLM02 Sensitive Information Disclosure)
  • Dangerous commandsNoticedagentscan: filesystem medium shared/managed-agents-self-hosted-sandboxes.md:187 permission escalation (chmod 777 / chown) Can delete or overwrite your files. (LLM06 Excessive Agency)agentscan: filesystem medium shared/managed-agents-self-hosted-sandboxes.md:247 permission escalation (chmod 777 / chown) Can delete or overwrite your files. (LLM06 Excessive Agency)agentscan: shell medium curl/managed-agents.md:410 Invokes bash Can run commands on your computer. (LLM06 Excessive Agency)
  • Network callsNoticedagentscan: exfil high shared/anthropic-cli.md:24 Environment/command interpolation in URL Builds web addresses from your settings or commands. (LLM02 Sensitive Information Disclosure)agentscan: exfil medium shared/anthropic-cli.md:24 Environment variable in URL Builds web addresses from your settings or commands. (LLM02 Sensitive Information Disclosure)agentscan: exfil medium typescript/managed-agents/README.md:81 Environment variable in URL Builds web addresses from your settings or commands. (LLM02 Sensitive Information Disclosure)
  • PermissionsNoticedSkillSpector: AS3 MEDIUM shared/anthropic-cli.md:171 Skill Enumeration Looks up your other installed skills. (LLM06 Excessive Agency)SkillSpector: AS3 MEDIUM shared/managed-agents-onboarding-from-url.md:108 Skill Enumeration Looks up your other installed skills. (LLM06 Excessive Agency)SkillSpector: EA1 MEDIUM shared/managed-agents-quickstarts/performance-tuner.md:52 Unrestricted Tool Access Lets your AI use any tool. (LLM06 Excessive Agency)
  • Prompt injectionNoticedSkillSpector: AE1 HIGH SKILL.md:128 Incomplete referenced artifact analysisSkillSpector: AE1 HIGH SKILL.md:200 Incomplete referenced artifact analysisSkillSpector: AE1 HIGH SKILL.md:204 Incomplete referenced artifact analysis
  • LicenseNoticedGitHub API: No license found. License is missing or unclear. (LLM03 Supply Chain)
  • MaintenancePassed
Human review

No person has signed this one off yet.

Three open-source scanners (SkillSpector, HoneyBadger, agentscan) check this exact version. Heads up means it could steal your data or hijack your AI. What it can do is listed, not warned about. Scanners miss things.

How we check: only harm earns a Heads up, meaning prompt injection (OWASP LLM01) or data leaks (LLM02), in files the skill ships. Abilities like running commands (LLM06) are listed, not warned about. No AI is used for this step. OWASP

Details

Stars
200kwhole repo
Last updated
Nov 16, 2026on GitHub

GitHub numbers are a snapshot from Nov 24, 2026, not live.

Community

Comments

See all Build skills

How to add claude-api to Claude

Press Add to your AI at the top of this page and pick Claude, or do it yourself:

  1. Download the skill. Keep the .zip as it is.
  2. On Claude's skills page, click +, then Create skill, then Upload a skill.
  3. Pick the file you downloaded and switch the skill on.

Works on every Claude plan, Free included. Code execution and file creation need to be on in Claude's settings. How to add a skill to Claude, step by step.

In ChatGPT

Skills are on ChatGPT Business, Enterprise, Healthcare and Edu plans. Download the skill. Keep the .zip as it is. In ChatGPT, open Plugins in the sidebar, then the Skills tab, then Create, then Upload from your computer. Pick the file you downloaded. ChatGPT checks it, then it's ready. More on ChatGPT.

For AI apps and agents: the skill's instructions as plain text, at the version we scanned.

On these lists