fandhe-ai/agent-reference-skills

anthropic-api-core

Claude API (platform.claude.com) の Messages API リファレンス。 streaming (SSE), thinking (adaptive) / effort, prompt caching, context editing, compaction, structured outputs, Message Batches, token counting, vision / PDF, Files API, citations, embeddings (Voyage A…

View source

How to use

  1. Copy the installation command and review the source package before installing it in your own agent environment.
  2. Check the source document for required tools, credentials and supported hosts.
  3. Describe your input and desired deliverable; review the output against the source material.
npx skills add https://github.com/fandhe-ai/agent-reference-skills --skill anthropic-api-core

Before you start

  • Installation does not include a model subscription, API allowance or permission to access your files.
  • Repository stars and installation counts describe activity, not an independent quality or security test.
Original skill document

Rendered from the source repository. Headings, examples, code, tables, links, and referenced images are preserved.

anthropic-api-core

Claude API (platform.claude.com) — Messages API を中心としたテキスト生成・ストリーミング・thinking・ prompt caching・structured outputs・Message Batches・vision/PDF・Files API をカバーする公式リファレンス。 エラーコード・レート制限・beta ヘッダー、Amazon Bedrock / Google Cloud Vertex AI / Microsoft Foundry / Claude Platform on AWS 経由でのアクセス方法を含む。

Tool use・Agent Skills (SKILL.md)・MCP connector は anthropic-api-tools-mcp、Claude Code 本体は anthropic-claude-code、 Agent SDK は anthropic-agent-sdk を参照(本スキルは Claude API 本体の呼び出し方を担当)。

ディレクトリ構成

text
skills/anthropic-api-core/
  SKILL.md
  references/
    getting-started/
      README.md
      get-started.md
      get-api-key.md
      intro.md
    api-basics/
      README.md
      beta-headers.md
      beta.md
      claude-platform-on-aws-iam-actions.md
      errors.md
      ip-addresses.md
      overview.md
      rate-limits.md
      service-tiers.md
      supported-regions.md
      versioning.md
    messages/
      README.md
      batch-processing.md
      citations.md
      embeddings.md
      fallback-credit.md
      fast-mode.md
      files.md
      handling-stop-reasons.md
      mid-conversation-system-messages.md
      multilingual-support.md
      overview.md
      pdf-support.md
      refusals-and-fallback.md
      search-results.md
      streaming.md
      structured-outputs.md
      task-budgets.md
      token-counting.md
      vision-coordinates.md
      vision.md
      working-with-messages.md
    thinking/
      README.md
      effort.md
      extended-thinking.md
      mid-conversation-effort-example.md
      thinking-steering-and-cost.md
      thinking-tool-workflows.md
      thinking-troubleshooting.md
      thinking.md
    caching-context/
      README.md
      cache-diagnostics.md
      compaction.md
      context-editing.md
      context-windows.md
      prompt-caching.md
    endpoints/
      README.md
      batches-cancel.md
      batches-create.md
      batches-delete.md
      batches-list.md
      batches-results.md
      batches-retrieve.md
      completions-create.md
      files-delete.md
      files-download.md
      files-list.md
      files-retrieve_metadata.md
      files-upload.md
      messages-count_tokens.md
      messages-create.md
      models-list.md
      models-retrieve.md
    platforms/
      README.md
      claude-in-amazon-bedrock.md
      claude-in-microsoft-foundry.md
      claude-on-amazon-bedrock-legacy.md
      claude-on-vertex-ai.md
      claude-platform-on-aws.md
  samples/
    README.md
    basic-message.md
    streaming.md
    extended-thinking.md
    batch-processing.md
    prompt-caching.md
    structured-outputs.md
    vision-pdf.md
    token-counting.md
  scripts/
    README.md
    setup.md
    curl-endpoints.md
    headers.md

探索手順

タスクからカテゴリを引き、カテゴリの README.md で目的のページを特定する:

  1. 下記マッピング表でタスクに対応するカテゴリを探す
  2. そのカテゴリの references/{category}/README.md(samples/ scripts/ は直下の README.md)を参照して目的のページを特定する
  3. 該当ページの .md を Read して詳細を確認する

タスク → カテゴリ マッピング

タスクカテゴリ参照 README
API キー取得・最初の API 呼び出し・Messages API と Managed Agents の使い分けを知りたいgetting-startedreferences/getting-started/README.md
エラーコード・レート制限・beta ヘッダー(anthropic-beta)・API バージョン(anthropic-version)・service tiers・対応リージョンを知りたいapi-basicsreferences/api-basics/README.md
Messages API でテキストを生成する・ストリーミング(SSE)・vision/PDF・citations・search results・embeddings・stop reasons を扱いたいmessagesreferences/messages/README.md
構造化出力(output_config.format)・Message Batches・Files API・fast mode・task budgets・多言語対応を知りたいmessagesreferences/messages/README.md
思考(adaptive thinking / effort)・レガシー extended thinking(固定 budget_tokens)・思考のツール連携やトラブルシューティングを知りたいthinkingreferences/thinking/README.md
prompt caching(cache_control)・context editing・compaction・context windows・cache diagnostics を扱いたいcaching-contextreferences/caching-context/README.md
Messages / Batches / Files / Models の各エンドポイントのリクエスト・レスポンス仕様(curl 相当)を確認したいendpointsreferences/endpoints/README.md
Amazon Bedrock / Google Cloud Vertex AI / Microsoft Foundry / Claude Platform on AWS 経由で Claude API を呼びたいplatformsreferences/platforms/README.md
典型的な使い方を知りたい(基本呼び出し, streaming, thinking, batches, prompt caching, structured outputs, vision/PDF, token counting)samplessamples/README.md
API キー設定・SDK/CLI インストール・curl でのエンドポイント呼び出し・ヘッダー指定例を知りたいscriptsscripts/README.md

Related by task

from this repository

More skills

All skills
fandhe-ai
Community

fandhe-frontend

Rust 製フロントエンドフレームワーク fandhe-frontend のリファレンス。 SSR / SPA / SSG / View Transitions、hydration、Document builder(SSR 組み込み)、CSP meta、単一実行ファイル配布、Vercel、既定エスケープ。 クレート core / app / interactive / server(generatepages) / headless-ui(Primitives, AutocompleteToken, passkey) / pre-styled-ui(Themes, motion) / wireframe-ui(Wireframes) / animation(data- 属性) / wasm-full。 Blocks(Hero / Pricing / Cart 等セクション例 335 件)。CLI fw。

1h installs
2
GitHub stars
4
Updated
Nov 3
fandhe-ai
Community

playwright

Playwright v1.64 (E2E / コンポーネントテストフレームワーク) リファレンス。 test, expect, page, locator, getByRole / getByText / getByLabel / getByTestId / getByRef、 toBeVisible, click, fill, route, mock, fixtures、playwright.config.ts、 auth 永続化、Credentials (passkeys / WebAuthn)、WebStorage、WebMCP、 Playwright MCP / playwright-cli、trace viewer、screencast、test locks、codegen、UI モード。

1h installs
2
GitHub stars
4
Updated
Nov 3
fandhe-ai
Community

rust

Rust 言語リファレンス。 別名: rustlang, rs (拡張子)、Rust-lang。 TRPL (The Rust Programming Language)、Rust by Example、Reference、 Cargo Book、rustc Book、rustdoc Book、Rustonomicon (Unsafe Rust)、 Edition Guide、Standard Library、Error Index。 所有権、ライフタイム、トレイト、async / await、エラーハンドリング、マクロ。

1h installs
2
GitHub stars
4
Updated
Nov 3
fandhe-ai
Community

better-auth

Better Auth (TypeScript 認証フレームワーク) v1.7 リファレンス。 認証・認可、サインアップ・サインイン、セッション管理、OAuth、パスキー、二要素認証 (2FA / TOTP)、SSO / SAML、SCIM、 OAuth Provider (OAuth 2.1 / OIDC)、MCP 認可 (@better-auth/mcp)、Infrastructure (dash / sentinel)、 プラグイン (organization, admin, magic-link, anonymous 等)。betterAuth, createAuthClient, signUp, signIn, getSession。 Next.js, Nuxt, SvelteKit, Hono, Express, Expo, TanStack, Effect 統合。

1h installs
2
GitHub stars
4
Updated
Oct 24