{
  "skill": {
    "schema": "skillflux-skill/v1",
    "id": "anthropics-skills-claude-api",
    "name": "claude-api",
    "displayName": {
      "en": "Claude API reference",
      "zh": "Claude API 参考"
    },
    "summary": {
      "en": "Anthropic’s reference skill for building with the Claude API and SDKs across languages — models, tool use, streaming, caching and managed agents.",
      "zh": "Anthropic 出品的 Claude API 参考 Skill，覆盖多种语言 SDK，包括模型、工具调用、流式输出、缓存与托管 Agent。"
    },
    "upstreamDescription": "Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration.\nTRIGGER — read BEFORE opening the target file; don't skip because it \"looks like a one-liner\" — whenever: the prompt names Claude/Anthropic in any form (Claude, Anthropic, Fable, Opus, Sonnet, Haiku, `anthropic`, `@anthropic-ai`, `claude-*`, `us.anthropic.*`, `[1m]`); the user asks about an LLM (pricing/model choice/limits/caching) — never answer from memory; OR the task is LLM-shaped with provider unstated (agent/MCP/tool-definition/multi-agent/RAG/LLM-judge/computer-use; generate/summarize/extract/classify/rewrite/converse over NL; debugging refusals/cutoffs/streaming/tool-calls/tokens).\nSKIP only when another provider is being worked on (overrides all triggers): OpenAI/GPT/Gemini/Llama/Mistral/Cohere/Ollama named in the query; OR `grep -rE 'openai|langchain_openai|google.generativeai|genai|mistralai|cohere|ollama'` over the project hits (run this grep FIRST if no provider named — don't Read the file).",
    "source": {
      "repo": "https://github.com/anthropics/skills",
      "path": "skills/claude-api",
      "commitSha": "ca45fc496a3436251f191354091d557da31c15b5",
      "pinnedAt": "2026-10-29"
    },
    "author": {
      "name": "Anthropic",
      "url": "https://github.com/anthropics"
    },
    "license": {
      "spdx": null,
      "raw": "Complete terms in LICENSE.txt",
      "file": "skills/claude-api/LICENSE.txt"
    },
    "sourceSiteSlug": "github-com-anthropics-skills",
    "category": "engineering",
    "tags": [
      "api",
      "sdk",
      "anthropic"
    ],
    "status": "listed",
    "addedAt": "2026-10-29",
    "updatedAt": "2026-10-29"
  },
  "health": {
    "schema": "skillflux-health/v1",
    "skillId": "anthropics-skills-claude-api",
    "commitSha": "ca45fc496a3436251f191354091d557da31c15b5",
    "checkerVersion": "1.0.0",
    "changedAt": "2026-10-29",
    "resultHash": "eb634ba44ccb9f6ffd30f6c225c93e63e663ebf57068215a63d38c47a62e9213",
    "checks": [
      {
        "id": "skillmd.present",
        "status": "pass",
        "value": true,
        "detail": "SKILL.md found"
      },
      {
        "id": "frontmatter.parse",
        "status": "pass",
        "value": true,
        "detail": "frontmatter parsed"
      },
      {
        "id": "frontmatter.name",
        "status": "pass",
        "value": "claude-api",
        "detail": "valid name"
      },
      {
        "id": "frontmatter.nameMatchesDir",
        "status": "pass",
        "value": true,
        "detail": "name matches its directory"
      },
      {
        "id": "frontmatter.description",
        "status": "fail",
        "value": 1068,
        "detail": "description exceeds 1024 characters"
      },
      {
        "id": "frontmatter.descriptionTrigger",
        "status": "pass",
        "value": true,
        "detail": "states when to use the skill"
      },
      {
        "id": "frontmatter.descriptionVoice",
        "status": "pass",
        "value": true,
        "detail": "third person, no XML"
      },
      {
        "id": "frontmatter.unknownKeys",
        "status": "info",
        "value": null,
        "detail": "none"
      },
      {
        "id": "body.tokensApprox",
        "status": "warn",
        "value": 25991,
        "detail": "large body; consider moving detail into referenced files"
      },
      {
        "id": "body.lines",
        "status": "warn",
        "value": 608,
        "detail": "608 lines"
      },
      {
        "id": "refs.brokenLinks",
        "status": "pass",
        "value": 0,
        "detail": "all relative links resolve"
      },
      {
        "id": "files.inventory",
        "status": "info",
        "value": 96,
        "detail": "96 files, 2079868 bytes"
      },
      {
        "id": "files.binary",
        "status": "pass",
        "value": 0,
        "detail": "no executables or archives"
      },
      {
        "id": "scripts.present",
        "status": "info",
        "value": 4,
        "detail": "shared/evals/report/build-report-lite.mjs, shared/evals/report/runner-scaffold.mjs, shared/preserved-thinking-migration/drop_block_probe.py, shared/preserved-thinking-migration/prefix_diff.py"
      },
      {
        "id": "scripts.network",
        "status": "info",
        "value": 1,
        "detail": "shared/preserved-thinking-migration/drop_block_probe.py"
      },
      {
        "id": "scripts.destructive",
        "status": "pass",
        "value": 0,
        "detail": "none found"
      },
      {
        "id": "secrets.scan",
        "status": "pass",
        "value": 0,
        "detail": "none found"
      },
      {
        "id": "instructions.risk",
        "status": "pass",
        "value": 0,
        "detail": "none found"
      },
      {
        "id": "license.detected",
        "status": "pass",
        "value": "Complete terms in LICENSE.txt",
        "detail": "declared in frontmatter"
      },
      {
        "id": "repo.activity",
        "status": "pass",
        "value": 19,
        "detail": "last changed 19 days before the check"
      },
      {
        "id": "pinned.drift",
        "status": "info",
        "value": 0,
        "detail": "unchanged since the pinned commit"
      }
    ],
    "metrics": {
      "descriptionChars": 1068,
      "bodyTokensApprox": 25991,
      "bodyLines": 608,
      "fileCount": 96,
      "totalBytes": 2079868,
      "scriptCount": 4,
      "lastCommitAt": "2026-10-09T18:45:49Z",
      "commitsSincePin": 0
    },
    "repo": {
      "stars": 184681,
      "archived": false,
      "checkedAt": "2026-10-29"
    },
    "flags": [
      "executes-code",
      "network-calls"
    ]
  },
  "benchmark": null
}
