Skip to content
Code Generation
Skill

/claude-api

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

BOOST
From plugin
claude-code-rev
3.3k2 skills
Install
$ npx -y skills add oboard/claude-code-rev --skill claude-api --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/claude-api

Context preview

The summary Claude sees to decide when to auto-load this skill.

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

SKILL.md

claude-api.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.
Read more
Ships withclaude-code-rev

This repository is a restored Claude Code source tree reconstructed primarily from source maps and missing-module backfilling. It is not the original upstream repository state.

Get the whole plugin
Stats
3,324
Stars
3,792
Forks
Maintained
Maintenance
TypeScript
Language
2mo ago
Last commit
6mo ago
Created
2d ago
Added

Repo: oboard/claude-code-rev

Other skills on claude-code-rev.