Skip to content
Back to skills

Claude Api

ASecurity

Use this skill when the user is building against Anthropic APIs or SDKs, including `@anthropic-ai/sdk`, `anthropic`, or Agent SDK integrations.

  • 3,292 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 26, 2026
ai-agentsapi

Works with

  • api

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned May 27, 2026

npx -y skills add oboard/claude-code-rev --skill claude-api --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Claude Api?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Claude Api
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/oboard-claude-api/badge)](https://www.skillsdirectory.com/skills/oboard-claude-api)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Claude API

Use this skill when the user is building against Anthropic APIs or SDKs, including `@anthropic-ai/sdk`, `anthropic`, or Agent SDK integrations.

## What This Skill Covers

- Messages API basics across supported languages
- Streaming responses and incremental rendering
- Prompt caching for repeated context
- Tool use and agent-style orchestration
- Batches and Files API workflows
- Model selection and error handling

## Working Rules

- Prefer Anthropic official docs and SDK idioms over generic LLM advice.
- Keep examples aligned with the user’s detected language when possible.
- Use the language-specific `README.md` for standard request flow, auth, and request shape.
- Use the shared docs for topics that cut across all SDKs, such as models, caching, tool-use concepts, and error codes.
- If the user asks for exact current model IDs, feature availability, or pricing, verify against Anthropic’s live docs before answering.

## Reading Guide

- Basic request/response flow: `{lang}/claude-api/README.md`
- Streaming output: `{lang}/claude-api/streaming.md`
- Tool use: `shared/tool-use-concepts.md` and `{lang}/claude-api/tool-use.md`
- Prompt caching: `shared/prompt-caching.md`
- Batch processing: `{lang}/claude-api/batches.md`
- File upload flows: `{lang}/claude-api/files-api.md`
- Model choice or naming: `shared/models.md`
- API and SDK failures: `shared/error-codes.md`
- Live sources for fresh answers: `shared/live-sources.md`

## Response Style

- Give production-usable examples, not pseudocode, when the user asks for implementation help.
- Call out when you are making an inference from the docs rather than repeating an explicit guarantee.
- If the user’s request depends on fast-changing details such as model names or pricing, browse Anthropic docs and cite the relevant page.

Files in this skill

  • SKILL.md1.8 KB
  • csharp/claude-api.md1.6 KB
  • curl/examples.md1.6 KB
  • go/claude-api.md1.2 KB
  • java/claude-api.md1.4 KB
  • php/claude-api.md1.3 KB
  • python/agent-sdk/README.md2.1 KB
  • python/agent-sdk/patterns.md2 KB
  • python/claude-api/README.md1.8 KB
  • python/claude-api/batches.md1.9 KB
  • python/claude-api/files-api.md1.7 KB
  • python/claude-api/streaming.md1.3 KB
  • python/claude-api/tool-use.md1.9 KB
  • ruby/claude-api.md1021 B
  • shared/error-codes.md1.5 KB
  • shared/live-sources.md1.1 KB
  • shared/models.md1.5 KB
  • shared/prompt-caching.md1.3 KB
  • shared/tool-use-concepts.md1.3 KB
  • typescript/agent-sdk/README.md1.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.