Skip to content
cccskills
FreePublished on GitHub

anthropic-api-core

Claude API (platform.claude.com) の Messages API リファレンス。

streaming (SSE), thinking (adaptive) / preserved thinking / effort, prompt caching, context editing, compaction (on-demand / threshold), structured outputs, Message Batches, token counting, vision / PDF, Files API, citations, embeddings (Voyage AI), errors, rate limits, beta headers, Bedrock / Vertex AI / Foundry 経由アクセス。

The English summary is being prepared. Showing the original description.

Works withAWSGoogle Cloud
See how to install

Files included (94)

  • SKILL.md6.9 KB
  • references/api-basics/beta-headers.md3.0 KB
  • references/api-basics/beta.md4.2 KB
  • references/api-basics/claude-platform-on-aws-iam-actions.md4.9 KB
  • references/api-basics/errors.md4.0 KB
  • references/api-basics/ip-addresses.md1.4 KB
  • references/api-basics/overview.md2.4 KB
  • references/api-basics/rate-limits.md3.0 KB
  • references/api-basics/README.md1.6 KB
  • references/api-basics/service-tiers.md2.1 KB
  • references/api-basics/supported-regions.md4.2 KB
  • references/api-basics/versioning.md1.1 KB
  • references/caching-context/cache-diagnostics.md2.3 KB
  • references/caching-context/compaction-background.md2.7 KB
  • references/caching-context/compaction-keep-recent-turns.md2.2 KB
  • references/caching-context/compaction-on-demand.md6.4 KB
  • references/caching-context/compaction-thinking-blocks.md5.2 KB
  • references/caching-context/compaction-threshold.md5.7 KB
  • references/caching-context/compaction.md4.1 KB
  • references/caching-context/context-editing.md3.3 KB
  • references/caching-context/context-windows.md2.8 KB
  • references/caching-context/prompt-caching.md3.0 KB
  • references/caching-context/README.md2.0 KB
  • references/endpoints/batches-cancel.md1.1 KB
  • references/endpoints/batches-create.md2.6 KB
  • references/endpoints/batches-delete.md1012 B
  • references/endpoints/batches-list.md1.7 KB
  • references/endpoints/batches-results.md1.8 KB
  • references/endpoints/batches-retrieve.md1.6 KB
  • references/endpoints/completions-create.md2.4 KB
  • references/endpoints/files-delete.md1.3 KB
  • references/endpoints/files-download.md1.3 KB
  • references/endpoints/files-list.md2.4 KB
  • references/endpoints/files-retrieve_metadata.md1.5 KB
  • references/endpoints/files-upload.md2.7 KB
  • references/endpoints/messages-count_tokens.md1.9 KB
  • references/endpoints/messages-create.md7.4 KB
  • references/endpoints/models-list.md3.7 KB
  • references/endpoints/models-retrieve.md1.5 KB
  • references/endpoints/README.md2.7 KB
  • references/getting-started/get-api-key.md1020 B
  • references/getting-started/get-started.md2.0 KB
  • references/getting-started/intro.md2.3 KB
  • references/getting-started/README.md484 B
  • references/messages/batch-processing.md3.8 KB
  • references/messages/citations.md3.4 KB
  • references/messages/embeddings.md2.9 KB
  • references/messages/fallback-credit.md4.1 KB
  • references/messages/fast-mode.md3.3 KB
  • references/messages/files.md5.3 KB
  • references/messages/handling-stop-reasons.md2.6 KB
  • references/messages/mid-conversation-system-messages.md6.8 KB
  • references/messages/multilingual-support.md1.7 KB
  • references/messages/overview.md1.9 KB
  • references/messages/pdf-support.md3.3 KB
  • references/messages/README.md3.4 KB
  • references/messages/refusals-and-fallback.md5.0 KB
  • references/messages/search-results.md3.1 KB
  • references/messages/streaming.md3.9 KB
  • references/messages/structured-outputs.md4.7 KB
  • references/messages/task-budgets.md3.9 KB
  • references/messages/token-counting.md2.4 KB
  • references/messages/vision-coordinates.md3.7 KB
  • references/messages/vision.md3.1 KB
  • references/messages/working-with-messages.md3.7 KB
  • references/platforms/claude-in-amazon-bedrock.md3.5 KB
  • references/platforms/claude-in-microsoft-foundry.md3.2 KB
  • references/platforms/claude-on-amazon-bedrock-legacy.md2.7 KB
  • references/platforms/claude-on-vertex-ai.md2.7 KB
  • references/platforms/claude-platform-on-aws.md3.7 KB
  • references/platforms/README.md1.1 KB
  • references/thinking/effort.md2.9 KB
  • references/thinking/extended-thinking.md2.4 KB
  • references/thinking/mid-conversation-effort-example.md2.1 KB
  • references/thinking/preserved-thinking.md11.0 KB
  • references/thinking/README.md1.5 KB
  • references/thinking/thinking-steering-and-cost.md2.8 KB
  • references/thinking/thinking-tool-workflows.md2.0 KB
  • references/thinking/thinking-troubleshooting.md4.7 KB
  • references/thinking/thinking.md7.1 KB
  • samples/basic-message.md1.9 KB
  • samples/batch-processing.md2.7 KB
  • samples/compaction-on-demand.md5.2 KB
  • samples/extended-thinking.md2.4 KB
  • samples/prompt-caching.md2.4 KB
  • samples/README.md1.6 KB
  • samples/streaming.md2.8 KB
  • samples/structured-outputs.md2.9 KB
  • samples/token-counting.md1.9 KB
  • samples/vision-pdf.md3.0 KB
  • scripts/curl-endpoints.md6.0 KB
  • scripts/headers.md5.5 KB
  • scripts/README.md420 B
  • scripts/setup.md3.7 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

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 本体の呼び出し方を担当)。

対象: platform.claude.com Markdown twins の取得日 2026-10-16(URL にバージョンが無いため取得日を pin とする)。scripts/ の setup.md / headers.md と curl-endpoints.md の files エンドポイントは 2026-10-17 に再確認。

ディレクトリ構成

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
      preserved-thinking.md
      thinking-steering-and-cost.md
      thinking-tool-workflows.md
      thinking-troubleshooting.md
      thinking.md
    caching-context/
      README.md
      cache-diagnostics.md
      compaction.md
      compaction-background.md
      compaction-keep-recent-turns.md
      compaction-on-demand.md
      compaction-threshold.md
      compaction-thinking-blocks.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
    compaction-on-demand.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 (GA)・fast mode・task budgets・多言語対応を知りたいmessagesreferences/messages/README.md
思考(adaptive thinking / effort)・レガシー extended thinking(固定 budget_tokens)・preserved thinking(block_binding.prefix_mismatch_behavior, input_transformations)・display: "updates"・思考のツール連携やトラブルシューティングを知りたいthinkingreferences/thinking/README.md
prompt caching(cache_control)・context editing・compaction on demand(compaction param, compact-2026-09-04)/ 閾値 compaction(compact_20260112)・直近ターン保持・バックグラウンド 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, compaction on demand)samplessamples/README.md
API キー設定・SDK/CLI インストール・curl でのエンドポイント呼び出し・ヘッダー指定例を知りたいscriptsscripts/README.md

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

AMD ROCm / HIP GPU コンピューティングリファレンス。 hipMalloc, hipLaunchKernelGGL, HIP Graph, hipGreenCtx, HIPRTC, hipify, rocBLAS, MIOpen, RCCL, hipThreads, libhipcxx, rocprofv3, amd-smi, rocminfo, TheRock / Core SDK 10, CDNA1-4 / RDNA1-4, MI300 / MI350 / MI350P, gfx942, Matrix Core, wave32/64。

The English summary is being prepared. Showing the original description.

Fandhe-AI/agent-reference-skills4Updated Oct 18, 2026

Android アプリ開発 (Kotlin) の推奨アーキテクチャリファレンス。 Jetpack, androidx, UI layer, Domain layer, Data layer, state holder, UDF, SSOT, オフラインファースト, モジュール化, ViewModel, viewModelScope, SavedStateHandle, Lifecycle, repeatOnLifecycle, collectAsStateWithLifecycle, LiveData, Hilt による DI, Paging 3 によるページング処理。

The English summary is being prepared. Showing the original description.

Fandhe-AI/agent-reference-skills4Updated Oct 18, 2026

Android アプリ開発 (Kotlin) のバックグラウンド・非同期処理リファレンス。 Jetpack androidx WorkManager: Worker, CoroutineWorker, WorkRequest, Constraints, WorkInfo, WorkContinuation, expedited work, テスト。 Service: フォアグラウンドサービス, バウンドサービス, AIDL, Messenger。 AlarmManager, PendingIntent, BroadcastReceiver, JobScheduler, Doze。 Kotlin コルーチン, Flow, StateFlow, SharedFlow, Channel。

The English summary is being prepared. Showing the original description.

Fandhe-AI/agent-reference-skills4Updated Oct 18, 2026

Android アプリ開発 (Kotlin) の Gradle ビルドシステムリファレンス。 Android Gradle Plugin (AGP), Kotlin DSL (build.gradle.kts), version catalog, KSP, R8/ProGuard, App Bundle, baseline profile。

The English summary is being prepared. Showing the original description.

Fandhe-AI/agent-reference-skills4Updated Oct 18, 2026

Android Jetpack Compose (Kotlin) の androidx Material3 コンポーネントリファレンス。 Button, IconButton, FloatingActionButton, Checkbox, Switch, Slider, TextField, SearchBar, DropdownMenu, Chip, DatePicker, TimePicker, Card, Scaffold, Dialog, BottomSheet, TopAppBar, NavigationBar, NavigationRail, Tab, Snackbar, ProgressIndicator, Badge, Icon, MaterialTheme, ColorScheme, Typography, Shapes。

The English summary is being prepared. Showing the original description.

Fandhe-AI/agent-reference-skills4Updated Oct 18, 2026

Android Jetpack Compose (Kotlin) のアニメーション・描画リファレンス。 androidx.compose.animation / graphics API。 AnimatedVisibility, AnimatedContent, animate*AsState, Animatable, AnimationSpec, Canvas, DrawScope, Brush, Path, Color, Image。

The English summary is being prepared. Showing the original description.

Fandhe-AI/agent-reference-skills4Updated Oct 18, 2026

See all skills by Fandhe-AI

Report a problem with this skill