본문으로 건너뛰기
cccskills
무료GitHub에 공개

anthropic-agent-sdk

Claude Agent SDK (code.claude.com/docs/en/agent-sdk) の TypeScript / Python リファレンス。

query(), ClaudeAgentOptions / Options, fallbackModel, maxTurns, maxBudgetUsd, custom tools (in-process MCP), createSdkMcpServer, hooks, permissions (canUseTool), subagents, sessions (resume / fork), streaming, structured outputs, Agent Skills (SKILL.md), slash commands (/compact, /clear), tool search, hosting / observability。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(54)

  • SKILL.md5.9 KB
  • references/api-reference/python.md49.0 KB
  • references/api-reference/README.md380 B
  • references/api-reference/typescript.md58.5 KB
  • references/control/modifying-system-prompts.md2.9 KB
  • references/control/permissions.md3.3 KB
  • references/control/README.md795 B
  • references/control/user-input.md3.2 KB
  • references/extending/custom-tools.md4.1 KB
  • references/extending/hooks.md6.4 KB
  • references/extending/mcp.md3.7 KB
  • references/extending/plugins.md1.8 KB
  • references/extending/README.md2.1 KB
  • references/extending/skills.md4.6 KB
  • references/extending/slash-commands.md4.1 KB
  • references/extending/subagents.md4.6 KB
  • references/extending/tool-search.md2.7 KB
  • references/getting-started/agent-loop.md4.1 KB
  • references/getting-started/claude-code-features.md2.7 KB
  • references/getting-started/configuration.md6.8 KB
  • references/getting-started/examples.md1.3 KB
  • references/getting-started/migration-guide.md2.2 KB
  • references/getting-started/overview.md2.5 KB
  • references/getting-started/quickstart.md2.7 KB
  • references/getting-started/README.md1.5 KB
  • references/operations/cost-tracking.md10.6 KB
  • references/operations/hosting.md12.8 KB
  • references/operations/observability.md10.7 KB
  • references/operations/README.md1.0 KB
  • references/operations/secure-deployment.md11.1 KB
  • references/operations/troubleshooting.md7.3 KB
  • references/sessions-io/file-checkpointing.md3.5 KB
  • references/sessions-io/README.md2.4 KB
  • references/sessions-io/session-storage.md6.0 KB
  • references/sessions-io/sessions.md5.1 KB
  • references/sessions-io/streaming-output.md3.8 KB
  • references/sessions-io/streaming-vs-single-mode.md2.7 KB
  • references/sessions-io/structured-outputs.md2.9 KB
  • references/sessions-io/todo-tracking.md3.4 KB
  • samples/configure-agent.md3.2 KB
  • samples/custom-tools.md2.2 KB
  • samples/hooks.md2.4 KB
  • samples/mcp-servers.md2.4 KB
  • samples/minimal-agent.md2.8 KB
  • samples/permissions.md3.1 KB
  • samples/README.md2.4 KB
  • samples/sessions.md2.0 KB
  • samples/streaming.md1.6 KB
  • samples/structured-outputs.md1.9 KB
  • samples/subagents.md3.8 KB
  • samples/system-prompts.md2.4 KB
  • scripts/README.md289 B
  • scripts/runtime.md4.0 KB
  • scripts/setup.md2.3 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

anthropic-agent-sdk

Claude Agent SDK (code.claude.com/docs/en/agent-sdk) — TypeScript / Python でエージェントをビルドする公式 SDK の リファレンス。query() によるエージェントループ実行、custom tools(in-process MCP)、外部 MCP 接続、hooks、 subagents、permissions(canUseTool)、セッションの永続化・再開・分岐、streaming、structured outputs、 本番ホスティングをカバーする。

Claude Code CLI 本体は anthropic-claude-code / anthropic-claude-code-extend、Messages API 直接呼び出しは anthropic-api-core、Claude API 側の tool use / Agent Skills / MCP は anthropic-api-tools-mcp を参照 (本スキルは SDK 経由でエージェントをビルド・運用する側を担当)。

Source: https://code.claude.com/docs/en/agent-sdk 、2026-10-16 取得(その時点の npm @anthropic-ai/claude-agent-sdk 0.3.301 / PyPI claude-agent-sdk 0.2.168)。

ディレクトリ構成

skills/anthropic-agent-sdk/
  SKILL.md
  references/
    getting-started/
      README.md
      agent-loop.md
      claude-code-features.md
      configuration.md
      examples.md
      migration-guide.md
      overview.md
      quickstart.md
    api-reference/
      README.md
      python.md
      typescript.md
    extending/
      README.md
      custom-tools.md
      hooks.md
      mcp.md
      plugins.md
      skills.md
      slash-commands.md
      subagents.md
      tool-search.md
    sessions-io/
      README.md
      file-checkpointing.md
      session-storage.md
      sessions.md
      streaming-output.md
      streaming-vs-single-mode.md
      structured-outputs.md
      todo-tracking.md
    control/
      README.md
      modifying-system-prompts.md
      permissions.md
      user-input.md
    operations/
      README.md
      cost-tracking.md
      hosting.md
      observability.md
      secure-deployment.md
      troubleshooting.md
  samples/
    README.md
    minimal-agent.md
    configure-agent.md
    custom-tools.md
    mcp-servers.md
    hooks.md
    permissions.md
    subagents.md
    sessions.md
    streaming.md
    structured-outputs.md
    system-prompts.md
  scripts/
    README.md
    setup.md
    runtime.md

探索手順

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

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

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

タスクカテゴリ参照 README
Agent SDK の概要・エージェントループの仕組みを知りたい・インストールして最初のエージェントを作りたい・Claude Code SDK からの移行・SDK 内で Claude Code の機能(CLAUDE.md, Agent Skills, hooks)を使いたい・options オブジェクトを組み立てたい(model / fallbackModel, env / cwd / maxTurns / maxBudgetUsd)・セッション中に model や permission mode を変更したい(setModel / setPermissionMode / applyFlagSettings / updateSettings)・動かせるサンプルプロジェクトを探したい(claude-agent-sdk-demos / Claude Cookbook)getting-startedreferences/getting-started/README.md
query() や ClaudeAgentOptions / Options など TypeScript / Python の完全な型・関数シグネチャを確認したいapi-referencereferences/api-reference/README.md
custom tools(in-process MCP, createSdkMcpServer)を定義したい・外部 MCP サーバーに接続したい・hooks でツール呼び出しを制御したい・plugins・Agent Skills (SKILL.md) の skills オプション・コマンド名による呼び出し(/compact, /clear, カスタムコマンド。slash-commands は skills に統合済み)・subagents・tool search を扱いたいextendingreferences/extending/README.md
セッションの永続化・再開・分岐(resume / fork)・外部ストレージへの保存・file checkpointing・todo 管理・streaming 出力・structured outputs を扱いたいsessions-ioreferences/sessions-io/README.md
system prompt をカスタマイズしたい・permission mode や canUseTool で権限制御したい・ユーザー入力/承認フローを扱いたいcontrolreferences/control/README.md
本番環境へのホスティング・セキュアなデプロイ・OpenTelemetry での observability・コスト/トークン追跡・エラーのトラブルシューティングを知りたいoperationsreferences/operations/README.md
典型的な使い方を知りたい(最小エージェント, options 構成(configure-agent), custom tools, MCP サーバー接続, hooks, permissions, subagents, セッション継続, streaming, structured outputs, system prompt カスタマイズ)samplessamples/README.md
SDK インストール・API キー設定・ホスティング用テレメトリー環境変数を知りたいscriptsscripts/README.md

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

amd-rocm

무료

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。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Fandhe-AI/agent-reference-skills42026년 10월 18일 업데이트

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 によるページング処理。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Fandhe-AI/agent-reference-skills42026년 10월 18일 업데이트

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。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Fandhe-AI/agent-reference-skills42026년 10월 18일 업데이트

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

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Fandhe-AI/agent-reference-skills42026년 10월 18일 업데이트

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。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Fandhe-AI/agent-reference-skills42026년 10월 18일 업데이트

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

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Fandhe-AI/agent-reference-skills42026년 10월 18일 업데이트

Fandhe-AI의 스킬 모두 보기

이 스킬의 문제 신고