[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6KWYWEV737EHS70YX0ZF7Z4":3,"skill-same:01M6KWYWEV737EHS70YX0ZF7Z4":173},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":15,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":40,"linkOnly":41,"markdownContent":42,"markdownBody":43,"frontMatter":44,"refName":46,"commitSha":47,"skillDirectory":48,"forksCount":13,"repositoryHtmlUrl":49,"repositoryHomepageUrl":6,"ownerHtmlUrl":50,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":51,"install":52,"resources":65},"01M6KWYWEV737EHS70YX0ZF7Z4","claude-api",null,"Build apps with the Claude API or Anthropic SDK. TRIGGER when: code imports `anthropic`\u002F`@anthropic-ai\u002Fsdk`\u002F`claude_agent_sdk`, or user asks to use Claude API, Anthropic SDKs, or Agent SDK. DO NOT TRIGGER when: code imports `openai`\u002Fother AI SDK, general programming, or ML\u002Fdata-science tasks.","endman100\u002Fskill-router-nexus","endman100","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F31997019?v=4","01M6KPDX17BYDWW4RRB0TNGGMX","01M6KPDX64Y2QBEWVFG5W5PWPF",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FLLM-and-Chatbot\u002Fclaude-api\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FLLM-and-Chatbot\u002Fclaude-api\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39],"api","claude api","use","when","imports","sdks","anthropic sdk","data-science","agent sdk","apps","trigger","do","general","programming","science","data","ai sdk","openai","code","tasks","ml","2026-11-10 10:12:30",false,"---\nname: claude-api\ndescription: \"Build apps with the Claude API or Anthropic SDK. TRIGGER when: code imports `anthropic`\u002F`@anthropic-ai\u002Fsdk`\u002F`claude_agent_sdk`, or user asks to use Claude API, Anthropic SDKs, or Agent SDK. DO NOT TRIGGER when: code imports `openai`\u002Fother AI SDK, general programming, or ML\u002Fdata-science tasks.\"\nlicense: Complete terms in LICENSE.txt\n---\n\n# Building LLM-Powered Applications with Claude\n\nThis skill helps you build LLM-powered applications with Claude. Choose the right surface based on your needs, detect the project language, then read the relevant language-specific documentation.\n\n## Defaults\n\nUnless the user requests otherwise:\n\nFor the Claude model version, please use Claude Opus 4.6, which you can access via the exact model string `claude-opus-4-6`. Please default to using adaptive thinking (`thinking: {type: \"adaptive\"}`) for anything remotely complicated. And finally, please default to streaming for any request that may involve long input, long output, or high `max_tokens` — it prevents hitting request timeouts. Use the SDK's `.get_final_message()` \u002F `.finalMessage()` helper to get the complete response if you don't need to handle individual stream events\n\n---\n\n## Language Detection\n\nBefore reading code examples, determine which language the user is working in:\n\n1. **Look at project files** to infer the language:\n\n   - `*.py`, `requirements.txt`, `pyproject.toml`, `setup.py`, `Pipfile` → **Python** — read from `python\u002F`\n   - `*.ts`, `*.tsx`, `package.json`, `tsconfig.json` → **TypeScript** — read from `typescript\u002F`\n   - `*.js`, `*.jsx` (no `.ts` files present) → **TypeScript** — JS uses the same SDK, read from `typescript\u002F`\n   - `*.java`, `pom.xml`, `build.gradle` → **Java** — read from `java\u002F`\n   - `*.kt`, `*.kts`, `build.gradle.kts` → **Java** — Kotlin uses the Java SDK, read from `java\u002F`\n   - `*.scala`, `build.sbt` → **Java** — Scala uses the Java SDK, read from `java\u002F`\n   - `*.go`, `go.mod` → **Go** — read from `go\u002F`\n   - `*.rb`, `Gemfile` → **Ruby** — read from `ruby\u002F`\n   - `*.cs`, `*.csproj` → **C#** — read from `csharp\u002F`\n   - `*.php`, `composer.json` → **PHP** — read from `php\u002F`\n\n2. **If multiple languages detected** (e.g., both Python and TypeScript files):\n\n   - Check which language the user's current file or question relates to\n   - If still ambiguous, ask: \"I detected both Python and TypeScript files. Which language are you using for the Claude API integration?\"\n\n3. **If language can't be inferred** (empty project, no source files, or unsupported language):\n\n   - Use AskUserQuestion with options: Python, TypeScript, Java, Go, Ruby, cURL\u002Fraw HTTP, C#, PHP\n   - If AskUserQuestion is unavailable, default to Python examples and note: \"Showing Python examples. Let me know if you need a different language.\"\n\n4. **If unsupported language detected** (Rust, Swift, C++, Elixir, etc.):\n\n   - Suggest cURL\u002Fraw HTTP examples from `curl\u002F` and note that community SDKs may exist\n   - Offer to show Python or TypeScript examples as reference implementations\n\n5. **If user needs cURL\u002Fraw HTTP examples**, read from `curl\u002F`.\n\n### Language-Specific Feature Support\n\n| Language   | Tool Runner | Agent SDK | Notes                                 |\n| ---------- | ----------- | --------- | ------------------------------------- |\n| Python     | Yes (beta)  | Yes       | Full support — `@beta_tool` decorator |\n| TypeScript | Yes (beta)  | Yes       | Full support — `betaZodTool` + Zod    |\n| Java       | Yes (beta)  | No        | Beta tool use with annotated classes  |\n| Go         | Yes (beta)  | No        | `BetaToolRunner` in `toolrunner` pkg  |\n| Ruby       | Yes (beta)  | No        | `BaseTool` + `tool_runner` in beta    |\n| cURL       | N\u002FA         | N\u002FA       | Raw HTTP, no SDK features             |\n| C#         | No          | No        | Official SDK                          |\n| PHP        | Yes (beta)  | No        | `BetaRunnableTool` + `toolRunner()`   |\n\n---\n\n## Which Surface Should I Use?\n\n> **Start simple.** Default to the simplest tier that meets your needs. Single API calls and workflows handle most use cases — only reach for agents when the task genuinely requires open-ended, model-driven exploration.\n\n| Use Case                                        | Tier            | Recommended Surface       | Why                                     |\n| ----------------------------------------------- | --------------- | ------------------------- | --------------------------------------- |\n| Classification, summarization, extraction, Q&A  | Single LLM call | **Claude API**            | One request, one response               |\n| Batch processing or embeddings                  | Single LLM call | **Claude API**            | Specialized endpoints                   |\n| Multi-step pipelines with code-controlled logic | Workflow        | **Claude API + tool use** | You orchestrate the loop                |\n| Custom agent with your own tools                | Agent           | **Claude API + tool use** | Maximum flexibility                     |\n| AI agent with file\u002Fweb\u002Fterminal access          | Agent           | **Agent SDK**             | Built-in tools, safety, and MCP support |\n| Agentic coding assistant                        | Agent           | **Agent SDK**             | Designed for this use case              |\n| Want built-in permissions and guardrails        | Agent           | **Agent SDK**             | Safety features included                |\n\n> **Note:** The Agent SDK is for when you want built-in file\u002Fweb\u002Fterminal tools, permissions, and MCP out of the box. If you want to build an agent with your own tools, Claude API is the right choice — use the tool runner for automatic loop handling, or the manual loop for fine-grained control (approval gates, custom logging, conditional execution).\n\n### Decision Tree\n\n```\nWhat does your application need?\n\n1. Single LLM call (classification, summarization, extraction, Q&A)\n   └── Claude API — one request, one response\n\n2. Does Claude need to read\u002Fwrite files, browse the web, or run shell commands\n   as part of its work? (Not: does your app read a file and hand it to Claude —\n   does Claude itself need to discover and access files\u002Fweb\u002Fshell?)\n   └── Yes → Agent SDK — built-in tools, don't reimplement them\n       Examples: \"scan a codebase for bugs\", \"summarize every file in a directory\",\n                 \"find bugs using subagents\", \"research a topic via web search\"\n\n3. Workflow (multi-step, code-orchestrated, with your own tools)\n   └── Claude API with tool use — you control the loop\n\n4. Open-ended agent (model decides its own trajectory, your own tools)\n   └── Claude API agentic loop (maximum flexibility)\n```\n\n### Should I Build an Agent?\n\nBefore choosing the agent tier, check all four criteria:\n\n- **Complexity** — Is the task multi-step and hard to fully specify in advance? (e.g., \"turn this design doc into a PR\" vs. \"extract the title from this PDF\")\n- **Value** — Does the outcome justify higher cost and latency?\n- **Viability** — Is Claude capable at this task type?\n- **Cost of error** — Can errors be caught and recovered from? (tests, review, rollback)\n\nIf the answer is \"no\" to any of these, stay at a simpler tier (single call or workflow).\n\n---\n\n## Architecture\n\nEverything goes through `POST \u002Fv1\u002Fmessages`. Tools and output constraints are features of this single endpoint — not separate APIs.\n\n**User-defined tools** — You define tools (via decorators, Zod schemas, or raw JSON), and the SDK's tool runner handles calling the API, executing your functions, and looping until Claude is done. For full control, you can write the loop manually.\n\n**Server-side tools** — Anthropic-hosted tools that run on Anthropic's infrastructure. Code execution is fully server-side (declare it in `tools`, Claude runs code automatically). Computer use can be server-hosted or self-hosted.\n\n**Structured outputs** — Constrains the Messages API response format (`output_config.format`) and\u002For tool parameter validation (`strict: true`). The recommended approach is `client.messages.parse()` which validates responses against your schema automatically. Note: the old `output_format` parameter is deprecated; use `output_config: {format: {...}}` on `messages.create()`.\n\n**Supporting endpoints** — Batches (`POST \u002Fv1\u002Fmessages\u002Fbatches`), Files (`POST \u002Fv1\u002Ffiles`), Token Counting, and Models (`GET \u002Fv1\u002Fmodels`, `GET \u002Fv1\u002Fmodels\u002F{id}` — live capability\u002Fcontext-window discovery) feed into or support Messages API requests.\n\n---\n\n## Current Models (cached: 2026-02-17)\n\n| Model             | Model ID            | Context        | Input $\u002F1M | Output $\u002F1M |\n| ----------------- | ------------------- | -------------- | ---------- | ----------- |\n| Claude Opus 4.6   | `claude-opus-4-6`   | 200K (1M beta) | $5.00      | $25.00      |\n| Claude Sonnet 4.6 | `claude-sonnet-4-6` | 200K (1M beta) | $3.00      | $15.00      |\n| Claude Haiku 4.5  | `claude-haiku-4-5`  | 200K           | $1.00      | $5.00       |\n\n**ALWAYS use `claude-opus-4-6` unless the user explicitly names a different model.** This is non-negotiable. Do not use `claude-sonnet-4-6`, `claude-sonnet-4-5`, or any other model unless the user literally says \"use sonnet\" or \"use haiku\". Never downgrade for cost — that's the user's decision, not yours.\n\n**CRITICAL: Use only the exact model ID strings from the table above — they are complete as-is. Do not append date suffixes.** For example, use `claude-sonnet-4-5`, never `claude-sonnet-4-5-20250514` or any other date-suffixed variant you might recall from training data. If the user requests an older model not in the table (e.g., \"opus 4.5\", \"sonnet 3.7\"), read `shared\u002Fmodels.md` for the exact ID — do not construct one yourself.\n\nA note: if any of the model strings above look unfamiliar to you, that's to be expected — that just means they were released after your training data cutoff. Rest assured they are real models; we wouldn't mess with you like that.\n\n**Live capability lookup:** The table above is cached. When the user asks \"what's the context window for X\", \"does X support vision\u002Fthinking\u002Feffort\", or \"which models support Y\", query the Models API (`client.models.retrieve(id)` \u002F `client.models.list()`) — see `shared\u002Fmodels.md` for the field reference and capability-filter examples.\n\n---\n\n## Thinking & Effort (Quick Reference)\n\n**Opus 4.6 — Adaptive thinking (recommended):** Use `thinking: {type: \"adaptive\"}`. Claude dynamically decides when and how much to think. No `budget_tokens` needed — `budget_tokens` is deprecated on Opus 4.6 and Sonnet 4.6 and must not be used. Adaptive thinking also automatically enables interleaved thinking (no beta header needed). **When the user asks for \"extended thinking\", a \"thinking budget\", or `budget_tokens`: always use Opus 4.6 with `thinking: {type: \"adaptive\"}`. The concept of a fixed token budget for thinking is deprecated — adaptive thinking replaces it. Do NOT use `budget_tokens` and do NOT switch to an older model.**\n\n**Effort parameter (GA, no beta header):** Controls thinking depth and overall token spend via `output_config: {effort: \"low\"|\"medium\"|\"high\"|\"max\"}` (inside `output_config`, not top-level). Default is `high` (equivalent to omitting it). `max` is Opus 4.6 only. Works on Opus 4.5, Opus 4.6, and Sonnet 4.6. Will error on Sonnet 4.5 \u002F Haiku 4.5. Combine with adaptive thinking for the best cost-quality tradeoffs. Use `low` for subagents or simple tasks; `max` for the deepest reasoning.\n\n**Sonnet 4.6:** Supports adaptive thinking (`thinking: {type: \"adaptive\"}`). `budget_tokens` is deprecated on Sonnet 4.6 — use adaptive thinking instead.\n\n**Older models (only if explicitly requested):** If the user specifically asks for Sonnet 4.5 or another older model, use `thinking: {type: \"enabled\", budget_tokens: N}`. `budget_tokens` must be less than `max_tokens` (minimum 1024). Never choose an older model just because the user mentions `budget_tokens` — use Opus 4.6 with adaptive thinking instead.\n\n---\n\n## Compaction (Quick Reference)\n\n**Beta, Opus 4.6 and Sonnet 4.6.** For long-running conversations that may exceed the 200K context window, enable server-side compaction. The API automatically summarizes earlier context when it approaches the trigger threshold (default: 150K tokens). Requires beta header `compact-2026-01-12`.\n\n**Critical:** Append `response.content` (not just the text) back to your messages on every turn. Compaction blocks in the response must be preserved — the API uses them to replace the compacted history on the next request. Extracting only the text string and appending that will silently lose the compaction state.\n\nSee `{lang}\u002Fclaude-api\u002FREADME.md` (Compaction section) for code examples. Full docs via WebFetch in `shared\u002Flive-sources.md`.\n\n---\n\n## Prompt Caching (Quick Reference)\n\n**Prefix match.** Any byte change anywhere in the prefix invalidates everything after it. Render order is `tools` → `system` → `messages`. Keep stable content first (frozen system prompt, deterministic tool list), put volatile content (timestamps, per-request IDs, varying questions) after the last `cache_control` breakpoint.\n\n**Top-level auto-caching** (`cache_control: {type: \"ephemeral\"}` on `messages.create()`) is the simplest option when you don't need fine-grained placement. Max 4 breakpoints per request. Minimum cacheable prefix is ~1024 tokens — shorter prefixes silently won't cache.\n\n**Verify with `usage.cache_read_input_tokens`** — if it's zero across repeated requests, a silent invalidator is at work (`datetime.now()` in system prompt, unsorted JSON, varying tool set).\n\nFor placement patterns, architectural guidance, and the silent-invalidator audit checklist: read `shared\u002Fprompt-caching.md`. Language-specific syntax: `{lang}\u002Fclaude-api\u002FREADME.md` (Prompt Caching section).\n\n---\n\n## Reading Guide\n\nAfter detecting the language, read the relevant files based on what the user needs:\n\n### Quick Task Reference\n\n**Single text classification\u002Fsummarization\u002Fextraction\u002FQ&A:**\n→ Read only `{lang}\u002Fclaude-api\u002FREADME.md`\n\n**Chat UI or real-time response display:**\n→ Read `{lang}\u002Fclaude-api\u002FREADME.md` + `{lang}\u002Fclaude-api\u002Fstreaming.md`\n\n**Long-running conversations (may exceed context window):**\n→ Read `{lang}\u002Fclaude-api\u002FREADME.md` — see Compaction section\n\n**Prompt caching \u002F optimize caching \u002F \"why is my cache hit rate low\":**\n→ Read `shared\u002Fprompt-caching.md` + `{lang}\u002Fclaude-api\u002FREADME.md` (Prompt Caching section)\n\n**Function calling \u002F tool use \u002F agents:**\n→ Read `{lang}\u002Fclaude-api\u002FREADME.md` + `shared\u002Ftool-use-concepts.md` + `{lang}\u002Fclaude-api\u002Ftool-use.md`\n\n**Batch processing (non-latency-sensitive):**\n→ Read `{lang}\u002Fclaude-api\u002FREADME.md` + `{lang}\u002Fclaude-api\u002Fbatches.md`\n\n**File uploads across multiple requests:**\n→ Read `{lang}\u002Fclaude-api\u002FREADME.md` + `{lang}\u002Fclaude-api\u002Ffiles-api.md`\n\n**Agent with built-in tools (file\u002Fweb\u002Fterminal):**\n→ Read `{lang}\u002Fagent-sdk\u002FREADME.md` + `{lang}\u002Fagent-sdk\u002Fpatterns.md`\n\n### Claude API (Full File Reference)\n\nRead the **language-specific Claude API folder** (`{language}\u002Fclaude-api\u002F`):\n\n1. **`{language}\u002Fclaude-api\u002FREADME.md`** — **Read this first.** Installation, quick start, common patterns, error handling.\n2. **`shared\u002Ftool-use-concepts.md`** — Read when the user needs function calling, code execution, memory, or structured outputs. Covers conceptual foundations.\n3. **`{language}\u002Fclaude-api\u002Ftool-use.md`** — Read for language-specific tool use code examples (tool runner, manual loop, code execution, memory, structured outputs).\n4. **`{language}\u002Fclaude-api\u002Fstreaming.md`** — Read when building chat UIs or interfaces that display responses incrementally.\n5. **`{language}\u002Fclaude-api\u002Fbatches.md`** — Read when processing many requests offline (not latency-sensitive). Runs asynchronously at 50% cost.\n6. **`{language}\u002Fclaude-api\u002Ffiles-api.md`** — Read when sending the same file across multiple requests without re-uploading.\n7. **`shared\u002Fprompt-caching.md`** — Read when adding or optimizing prompt caching. Covers prefix-stability design, breakpoint placement, and anti-patterns that silently invalidate cache.\n8. **`shared\u002Ferror-codes.md`** — Read when debugging HTTP errors or implementing error handling.\n9. **`shared\u002Flive-sources.md`** — WebFetch URLs for fetching the latest official documentation.\n\n> **Note:** For Java, Go, Ruby, C#, PHP, and cURL — these have a single file each covering all basics. Read that file plus `shared\u002Ftool-use-concepts.md` and `shared\u002Ferror-codes.md` as needed.\n\n### Agent SDK\n\nRead the **language-specific Agent SDK folder** (`{language}\u002Fagent-sdk\u002F`). Agent SDK is available for **Python and TypeScript only**.\n\n1. **`{language}\u002Fagent-sdk\u002FREADME.md`** — Installation, quick start, built-in tools, permissions, MCP, hooks.\n2. **`{language}\u002Fagent-sdk\u002Fpatterns.md`** — Custom tools, hooks, subagents, MCP integration, session resumption.\n3. **`shared\u002Flive-sources.md`** — WebFetch URLs for current Agent SDK docs.\n\n---\n\n## When to Use WebFetch\n\nUse WebFetch to get the latest documentation when:\n\n- User asks for \"latest\" or \"current\" information\n- Cached data seems incorrect\n- User asks about features not covered here\n\nLive documentation URLs are in `shared\u002Flive-sources.md`.\n\n## Common Pitfalls\n\n- Don't truncate inputs when passing files or content to the API. If the content is too long to fit in the context window, notify the user and discuss options (chunking, summarization, etc.) rather than silently truncating.\n- **Opus 4.6 \u002F Sonnet 4.6 thinking:** Use `thinking: {type: \"adaptive\"}` — do NOT use `budget_tokens` (deprecated on both Opus 4.6 and Sonnet 4.6). For older models, `budget_tokens` must be less than `max_tokens` (minimum 1024). This will throw an error if you get it wrong.\n- **Opus 4.6 prefill removed:** Assistant message prefills (last-assistant-turn prefills) return a 400 error on Opus 4.6. Use structured outputs (`output_config.format`) or system prompt instructions to control response format instead.\n- **`max_tokens` defaults:** Don't lowball `max_tokens` — hitting the cap truncates output mid-thought and requires a retry. For non-streaming requests, default to `~16000` (keeps responses under SDK HTTP timeouts). For streaming requests, default to `~64000` (timeouts aren't a concern, so give the model room). Only go lower when you have a hard reason: classification (`~256`), cost caps, or deliberately short outputs.\n- **128K output tokens:** Opus 4.6 supports up to 128K `max_tokens`, but the SDKs require streaming for values that large to avoid HTTP timeouts. Use `.stream()` with `.get_final_message()` \u002F `.finalMessage()`.\n- **Tool call JSON parsing (Opus 4.6):** Opus 4.6 may produce different JSON string escaping in tool call `input` fields (e.g., Unicode or forward-slash escaping). Always parse tool inputs with `json.loads()` \u002F `JSON.parse()` — never do raw string matching on the serialized input.\n- **Structured outputs (all models):** Use `output_config: {format: {...}}` instead of the deprecated `output_format` parameter on `messages.create()`. This is a general API change, not 4.6-specific.\n- **Don't reimplement SDK functionality:** The SDK provides high-level helpers — use them instead of building from scratch. Specifically: use `stream.finalMessage()` instead of wrapping `.on()` events in `new Promise()`; use typed exception classes (`Anthropic.RateLimitError`, etc.) instead of string-matching error messages; use SDK types (`Anthropic.MessageParam`, `Anthropic.Tool`, `Anthropic.Message`, etc.) instead of redefining equivalent interfaces.\n- **Don't define custom types for SDK data structures:** The SDK exports types for all API objects. Use `Anthropic.MessageParam` for messages, `Anthropic.Tool` for tool definitions, `Anthropic.ToolUseBlock` \u002F `Anthropic.ToolResultBlockParam` for tool results, `Anthropic.Message` for responses. Defining your own `interface ChatMessage { role: string; content: unknown }` duplicates what the SDK already provides and loses type safety.\n- **Report and document output:** For tasks that produce reports, documents, or visualizations, the code execution sandbox has `python-docx`, `python-pptx`, `matplotlib`, `pillow`, and `pypdf` pre-installed. Claude can generate formatted files (DOCX, PDF, charts) and return them via the Files API — consider this for \"report\" or \"document\" type requests instead of plain stdout text.\n","# Building LLM-Powered Applications with Claude\n\nThis skill helps you build LLM-powered applications with Claude. Choose the right surface based on your needs, detect the project language, then read the relevant language-specific documentation.\n\n## Defaults\n\nUnless the user requests otherwise:\n\nFor the Claude model version, please use Claude Opus 4.6, which you can access via the exact model string `claude-opus-4-6`. Please default to using adaptive thinking (`thinking: {type: \"adaptive\"}`) for anything remotely complicated. And finally, please default to streaming for any request that may involve long input, long output, or high `max_tokens` — it prevents hitting request timeouts. Use the SDK's `.get_final_message()` \u002F `.finalMessage()` helper to get the complete response if you don't need to handle individual stream events\n\n---\n\n## Language Detection\n\nBefore reading code examples, determine which language the user is working in:\n\n1. **Look at project files** to infer the language:\n\n   - `*.py`, `requirements.txt`, `pyproject.toml`, `setup.py`, `Pipfile` → **Python** — read from `python\u002F`\n   - `*.ts`, `*.tsx`, `package.json`, `tsconfig.json` → **TypeScript** — read from `typescript\u002F`\n   - `*.js`, `*.jsx` (no `.ts` files present) → **TypeScript** — JS uses the same SDK, read from `typescript\u002F`\n   - `*.java`, `pom.xml`, `build.gradle` → **Java** — read from `java\u002F`\n   - `*.kt`, `*.kts`, `build.gradle.kts` → **Java** — Kotlin uses the Java SDK, read from `java\u002F`\n   - `*.scala`, `build.sbt` → **Java** — Scala uses the Java SDK, read from `java\u002F`\n   - `*.go`, `go.mod` → **Go** — read from `go\u002F`\n   - `*.rb`, `Gemfile` → **Ruby** — read from `ruby\u002F`\n   - `*.cs`, `*.csproj` → **C#** — read from `csharp\u002F`\n   - `*.php`, `composer.json` → **PHP** — read from `php\u002F`\n\n2. **If multiple languages detected** (e.g., both Python and TypeScript files):\n\n   - Check which language the user's current file or question relates to\n   - If still ambiguous, ask: \"I detected both Python and TypeScript files. Which language are you using for the Claude API integration?\"\n\n3. **If language can't be inferred** (empty project, no source files, or unsupported language):\n\n   - Use AskUserQuestion with options: Python, TypeScript, Java, Go, Ruby, cURL\u002Fraw HTTP, C#, PHP\n   - If AskUserQuestion is unavailable, default to Python examples and note: \"Showing Python examples. Let me know if you need a different language.\"\n\n4. **If unsupported language detected** (Rust, Swift, C++, Elixir, etc.):\n\n   - Suggest cURL\u002Fraw HTTP examples from `curl\u002F` and note that community SDKs may exist\n   - Offer to show Python or TypeScript examples as reference implementations\n\n5. **If user needs cURL\u002Fraw HTTP examples**, read from `curl\u002F`.\n\n### Language-Specific Feature Support\n\n| Language   | Tool Runner | Agent SDK | Notes                                 |\n| ---------- | ----------- | --------- | ------------------------------------- |\n| Python     | Yes (beta)  | Yes       | Full support — `@beta_tool` decorator |\n| TypeScript | Yes (beta)  | Yes       | Full support — `betaZodTool` + Zod    |\n| Java       | Yes (beta)  | No        | Beta tool use with annotated classes  |\n| Go         | Yes (beta)  | No        | `BetaToolRunner` in `toolrunner` pkg  |\n| Ruby       | Yes (beta)  | No        | `BaseTool` + `tool_runner` in beta    |\n| cURL       | N\u002FA         | N\u002FA       | Raw HTTP, no SDK features             |\n| C#         | No          | No        | Official SDK                          |\n| PHP        | Yes (beta)  | No        | `BetaRunnableTool` + `toolRunner()`   |\n\n---\n\n## Which Surface Should I Use?\n\n> **Start simple.** Default to the simplest tier that meets your needs. Single API calls and workflows handle most use cases — only reach for agents when the task genuinely requires open-ended, model-driven exploration.\n\n| Use Case                                        | Tier            | Recommended Surface       | Why                                     |\n| ----------------------------------------------- | --------------- | ------------------------- | --------------------------------------- |\n| Classification, summarization, extraction, Q&A  | Single LLM call | **Claude API**            | One request, one response               |\n| Batch processing or embeddings                  | Single LLM call | **Claude API**            | Specialized endpoints                   |\n| Multi-step pipelines with code-controlled logic | Workflow        | **Claude API + tool use** | You orchestrate the loop                |\n| Custom agent with your own tools                | Agent           | **Claude API + tool use** | Maximum flexibility                     |\n| AI agent with file\u002Fweb\u002Fterminal access          | Agent           | **Agent SDK**             | Built-in tools, safety, and MCP support |\n| Agentic coding assistant                        | Agent           | **Agent SDK**             | Designed for this use case              |\n| Want built-in permissions and guardrails        | Agent           | **Agent SDK**             | Safety features included                |\n\n> **Note:** The Agent SDK is for when you want built-in file\u002Fweb\u002Fterminal tools, permissions, and MCP out of the box. If you want to build an agent with your own tools, Claude API is the right choice — use the tool runner for automatic loop handling, or the manual loop for fine-grained control (approval gates, custom logging, conditional execution).\n\n### Decision Tree\n\n```\nWhat does your application need?\n\n1. Single LLM call (classification, summarization, extraction, Q&A)\n   └── Claude API — one request, one response\n\n2. Does Claude need to read\u002Fwrite files, browse the web, or run shell commands\n   as part of its work? (Not: does your app read a file and hand it to Claude —\n   does Claude itself need to discover and access files\u002Fweb\u002Fshell?)\n   └── Yes → Agent SDK — built-in tools, don't reimplement them\n       Examples: \"scan a codebase for bugs\", \"summarize every file in a directory\",\n                 \"find bugs using subagents\", \"research a topic via web search\"\n\n3. Workflow (multi-step, code-orchestrated, with your own tools)\n   └── Claude API with tool use — you control the loop\n\n4. Open-ended agent (model decides its own trajectory, your own tools)\n   └── Claude API agentic loop (maximum flexibility)\n```\n\n### Should I Build an Agent?\n\nBefore choosing the agent tier, check all four criteria:\n\n- **Complexity** — Is the task multi-step and hard to fully specify in advance? (e.g., \"turn this design doc into a PR\" vs. \"extract the title from this PDF\")\n- **Value** — Does the outcome justify higher cost and latency?\n- **Viability** — Is Claude capable at this task type?\n- **Cost of error** — Can errors be caught and recovered from? (tests, review, rollback)\n\nIf the answer is \"no\" to any of these, stay at a simpler tier (single call or workflow).\n\n---\n\n## Architecture\n\nEverything goes through `POST \u002Fv1\u002Fmessages`. Tools and output constraints are features of this single endpoint — not separate APIs.\n\n**User-defined tools** — You define tools (via decorators, Zod schemas, or raw JSON), and the SDK's tool runner handles calling the API, executing your functions, and looping until Claude is done. For full control, you can write the loop manually.\n\n**Server-side tools** — Anthropic-hosted tools that run on Anthropic's infrastructure. Code execution is fully server-side (declare it in `tools`, Claude runs code automatically). Computer use can be server-hosted or self-hosted.\n\n**Structured outputs** — Constrains the Messages API response format (`output_config.format`) and\u002For tool parameter validation (`strict: true`). The recommended approach is `client.messages.parse()` which validates responses against your schema automatically. Note: the old `output_format` parameter is deprecated; use `output_config: {format: {...}}` on `messages.create()`.\n\n**Supporting endpoints** — Batches (`POST \u002Fv1\u002Fmessages\u002Fbatches`), Files (`POST \u002Fv1\u002Ffiles`), Token Counting, and Models (`GET \u002Fv1\u002Fmodels`, `GET \u002Fv1\u002Fmodels\u002F{id}` — live capability\u002Fcontext-window discovery) feed into or support Messages API requests.\n\n---\n\n## Current Models (cached: 2026-02-17)\n\n| Model             | Model ID            | Context        | Input $\u002F1M | Output $\u002F1M |\n| ----------------- | ------------------- | -------------- | ---------- | ----------- |\n| Claude Opus 4.6   | `claude-opus-4-6`   | 200K (1M beta) | $5.00      | $25.00      |\n| Claude Sonnet 4.6 | `claude-sonnet-4-6` | 200K (1M beta) | $3.00      | $15.00      |\n| Claude Haiku 4.5  | `claude-haiku-4-5`  | 200K           | $1.00      | $5.00       |\n\n**ALWAYS use `claude-opus-4-6` unless the user explicitly names a different model.** This is non-negotiable. Do not use `claude-sonnet-4-6`, `claude-sonnet-4-5`, or any other model unless the user literally says \"use sonnet\" or \"use haiku\". Never downgrade for cost — that's the user's decision, not yours.\n\n**CRITICAL: Use only the exact model ID strings from the table above — they are complete as-is. Do not append date suffixes.** For example, use `claude-sonnet-4-5`, never `claude-sonnet-4-5-20250514` or any other date-suffixed variant you might recall from training data. If the user requests an older model not in the table (e.g., \"opus 4.5\", \"sonnet 3.7\"), read `shared\u002Fmodels.md` for the exact ID — do not construct one yourself.\n\nA note: if any of the model strings above look unfamiliar to you, that's to be expected — that just means they were released after your training data cutoff. Rest assured they are real models; we wouldn't mess with you like that.\n\n**Live capability lookup:** The table above is cached. When the user asks \"what's the context window for X\", \"does X support vision\u002Fthinking\u002Feffort\", or \"which models support Y\", query the Models API (`client.models.retrieve(id)` \u002F `client.models.list()`) — see `shared\u002Fmodels.md` for the field reference and capability-filter examples.\n\n---\n\n## Thinking & Effort (Quick Reference)\n\n**Opus 4.6 — Adaptive thinking (recommended):** Use `thinking: {type: \"adaptive\"}`. Claude dynamically decides when and how much to think. No `budget_tokens` needed — `budget_tokens` is deprecated on Opus 4.6 and Sonnet 4.6 and must not be used. Adaptive thinking also automatically enables interleaved thinking (no beta header needed). **When the user asks for \"extended thinking\", a \"thinking budget\", or `budget_tokens`: always use Opus 4.6 with `thinking: {type: \"adaptive\"}`. The concept of a fixed token budget for thinking is deprecated — adaptive thinking replaces it. Do NOT use `budget_tokens` and do NOT switch to an older model.**\n\n**Effort parameter (GA, no beta header):** Controls thinking depth and overall token spend via `output_config: {effort: \"low\"|\"medium\"|\"high\"|\"max\"}` (inside `output_config`, not top-level). Default is `high` (equivalent to omitting it). `max` is Opus 4.6 only. Works on Opus 4.5, Opus 4.6, and Sonnet 4.6. Will error on Sonnet 4.5 \u002F Haiku 4.5. Combine with adaptive thinking for the best cost-quality tradeoffs. Use `low` for subagents or simple tasks; `max` for the deepest reasoning.\n\n**Sonnet 4.6:** Supports adaptive thinking (`thinking: {type: \"adaptive\"}`). `budget_tokens` is deprecated on Sonnet 4.6 — use adaptive thinking instead.\n\n**Older models (only if explicitly requested):** If the user specifically asks for Sonnet 4.5 or another older model, use `thinking: {type: \"enabled\", budget_tokens: N}`. `budget_tokens` must be less than `max_tokens` (minimum 1024). Never choose an older model just because the user mentions `budget_tokens` — use Opus 4.6 with adaptive thinking instead.\n\n---\n\n## Compaction (Quick Reference)\n\n**Beta, Opus 4.6 and Sonnet 4.6.** For long-running conversations that may exceed the 200K context window, enable server-side compaction. The API automatically summarizes earlier context when it approaches the trigger threshold (default: 150K tokens). Requires beta header `compact-2026-01-12`.\n\n**Critical:** Append `response.content` (not just the text) back to your messages on every turn. Compaction blocks in the response must be preserved — the API uses them to replace the compacted history on the next request. Extracting only the text string and appending that will silently lose the compaction state.\n\nSee `{lang}\u002Fclaude-api\u002FREADME.md` (Compaction section) for code examples. Full docs via WebFetch in `shared\u002Flive-sources.md`.\n\n---\n\n## Prompt Caching (Quick Reference)\n\n**Prefix match.** Any byte change anywhere in the prefix invalidates everything after it. Render order is `tools` → `system` → `messages`. Keep stable content first (frozen system prompt, deterministic tool list), put volatile content (timestamps, per-request IDs, varying questions) after the last `cache_control` breakpoint.\n\n**Top-level auto-caching** (`cache_control: {type: \"ephemeral\"}` on `messages.create()`) is the simplest option when you don't need fine-grained placement. Max 4 breakpoints per request. Minimum cacheable prefix is ~1024 tokens — shorter prefixes silently won't cache.\n\n**Verify with `usage.cache_read_input_tokens`** — if it's zero across repeated requests, a silent invalidator is at work (`datetime.now()` in system prompt, unsorted JSON, varying tool set).\n\nFor placement patterns, architectural guidance, and the silent-invalidator audit checklist: read `shared\u002Fprompt-caching.md`. Language-specific syntax: `{lang}\u002Fclaude-api\u002FREADME.md` (Prompt Caching section).\n\n---\n\n## Reading Guide\n\nAfter detecting the language, read the relevant files based on what the user needs:\n\n### Quick Task Reference\n\n**Single text classification\u002Fsummarization\u002Fextraction\u002FQ&A:**\n→ Read only `{lang}\u002Fclaude-api\u002FREADME.md`\n\n**Chat UI or real-time response display:**\n→ Read `{lang}\u002Fclaude-api\u002FREADME.md` + `{lang}\u002Fclaude-api\u002Fstreaming.md`\n\n**Long-running conversations (may exceed context window):**\n→ Read `{lang}\u002Fclaude-api\u002FREADME.md` — see Compaction section\n\n**Prompt caching \u002F optimize caching \u002F \"why is my cache hit rate low\":**\n→ Read `shared\u002Fprompt-caching.md` + `{lang}\u002Fclaude-api\u002FREADME.md` (Prompt Caching section)\n\n**Function calling \u002F tool use \u002F agents:**\n→ Read `{lang}\u002Fclaude-api\u002FREADME.md` + `shared\u002Ftool-use-concepts.md` + `{lang}\u002Fclaude-api\u002Ftool-use.md`\n\n**Batch processing (non-latency-sensitive):**\n→ Read `{lang}\u002Fclaude-api\u002FREADME.md` + `{lang}\u002Fclaude-api\u002Fbatches.md`\n\n**File uploads across multiple requests:**\n→ Read `{lang}\u002Fclaude-api\u002FREADME.md` + `{lang}\u002Fclaude-api\u002Ffiles-api.md`\n\n**Agent with built-in tools (file\u002Fweb\u002Fterminal):**\n→ Read `{lang}\u002Fagent-sdk\u002FREADME.md` + `{lang}\u002Fagent-sdk\u002Fpatterns.md`\n\n### Claude API (Full File Reference)\n\nRead the **language-specific Claude API folder** (`{language}\u002Fclaude-api\u002F`):\n\n1. **`{language}\u002Fclaude-api\u002FREADME.md`** — **Read this first.** Installation, quick start, common patterns, error handling.\n2. **`shared\u002Ftool-use-concepts.md`** — Read when the user needs function calling, code execution, memory, or structured outputs. Covers conceptual foundations.\n3. **`{language}\u002Fclaude-api\u002Ftool-use.md`** — Read for language-specific tool use code examples (tool runner, manual loop, code execution, memory, structured outputs).\n4. **`{language}\u002Fclaude-api\u002Fstreaming.md`** — Read when building chat UIs or interfaces that display responses incrementally.\n5. **`{language}\u002Fclaude-api\u002Fbatches.md`** — Read when processing many requests offline (not latency-sensitive). Runs asynchronously at 50% cost.\n6. **`{language}\u002Fclaude-api\u002Ffiles-api.md`** — Read when sending the same file across multiple requests without re-uploading.\n7. **`shared\u002Fprompt-caching.md`** — Read when adding or optimizing prompt caching. Covers prefix-stability design, breakpoint placement, and anti-patterns that silently invalidate cache.\n8. **`shared\u002Ferror-codes.md`** — Read when debugging HTTP errors or implementing error handling.\n9. **`shared\u002Flive-sources.md`** — WebFetch URLs for fetching the latest official documentation.\n\n> **Note:** For Java, Go, Ruby, C#, PHP, and cURL — these have a single file each covering all basics. Read that file plus `shared\u002Ftool-use-concepts.md` and `shared\u002Ferror-codes.md` as needed.\n\n### Agent SDK\n\nRead the **language-specific Agent SDK folder** (`{language}\u002Fagent-sdk\u002F`). Agent SDK is available for **Python and TypeScript only**.\n\n1. **`{language}\u002Fagent-sdk\u002FREADME.md`** — Installation, quick start, built-in tools, permissions, MCP, hooks.\n2. **`{language}\u002Fagent-sdk\u002Fpatterns.md`** — Custom tools, hooks, subagents, MCP integration, session resumption.\n3. **`shared\u002Flive-sources.md`** — WebFetch URLs for current Agent SDK docs.\n\n---\n\n## When to Use WebFetch\n\nUse WebFetch to get the latest documentation when:\n\n- User asks for \"latest\" or \"current\" information\n- Cached data seems incorrect\n- User asks about features not covered here\n\nLive documentation URLs are in `shared\u002Flive-sources.md`.\n\n## Common Pitfalls\n\n- Don't truncate inputs when passing files or content to the API. If the content is too long to fit in the context window, notify the user and discuss options (chunking, summarization, etc.) rather than silently truncating.\n- **Opus 4.6 \u002F Sonnet 4.6 thinking:** Use `thinking: {type: \"adaptive\"}` — do NOT use `budget_tokens` (deprecated on both Opus 4.6 and Sonnet 4.6). For older models, `budget_tokens` must be less than `max_tokens` (minimum 1024). This will throw an error if you get it wrong.\n- **Opus 4.6 prefill removed:** Assistant message prefills (last-assistant-turn prefills) return a 400 error on Opus 4.6. Use structured outputs (`output_config.format`) or system prompt instructions to control response format instead.\n- **`max_tokens` defaults:** Don't lowball `max_tokens` — hitting the cap truncates output mid-thought and requires a retry. For non-streaming requests, default to `~16000` (keeps responses under SDK HTTP timeouts). For streaming requests, default to `~64000` (timeouts aren't a concern, so give the model room). Only go lower when you have a hard reason: classification (`~256`), cost caps, or deliberately short outputs.\n- **128K output tokens:** Opus 4.6 supports up to 128K `max_tokens`, but the SDKs require streaming for values that large to avoid HTTP timeouts. Use `.stream()` with `.get_final_message()` \u002F `.finalMessage()`.\n- **Tool call JSON parsing (Opus 4.6):** Opus 4.6 may produce different JSON string escaping in tool call `input` fields (e.g., Unicode or forward-slash escaping). Always parse tool inputs with `json.loads()` \u002F `JSON.parse()` — never do raw string matching on the serialized input.\n- **Structured outputs (all models):** Use `output_config: {format: {...}}` instead of the deprecated `output_format` parameter on `messages.create()`. This is a general API change, not 4.6-specific.\n- **Don't reimplement SDK functionality:** The SDK provides high-level helpers — use them instead of building from scratch. Specifically: use `stream.finalMessage()` instead of wrapping `.on()` events in `new Promise()`; use typed exception classes (`Anthropic.RateLimitError`, etc.) instead of string-matching error messages; use SDK types (`Anthropic.MessageParam`, `Anthropic.Tool`, `Anthropic.Message`, etc.) instead of redefining equivalent interfaces.\n- **Don't define custom types for SDK data structures:** The SDK exports types for all API objects. Use `Anthropic.MessageParam` for messages, `Anthropic.Tool` for tool definitions, `Anthropic.ToolUseBlock` \u002F `Anthropic.ToolResultBlockParam` for tool results, `Anthropic.Message` for responses. Defining your own `interface ChatMessage { role: string; content: unknown }` duplicates what the SDK already provides and loses type safety.\n- **Report and document output:** For tasks that produce reports, documents, or visualizations, the code execution sandbox has `python-docx`, `python-pptx`, `matplotlib`, `pillow`, and `pypdf` pre-installed. Claude can generate formatted files (DOCX, PDF, charts) and return them via the Files API — consider this for \"report\" or \"document\" type requests instead of plain stdout text.\n",{"name":5,"license":45,"description":7},"Complete terms in LICENSE.txt","main","f19b254e8975d0bfddb394686706106930d7964d","LLM-and-Chatbot\u002Fclaude-api","https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus","https:\u002F\u002Fgithub.com\u002Fendman100","2026-11-13 20:29:52",{"source":8,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add endman100\u002Fskill-router-nexus --skill claude-api",{"tool":58,"command":59},"bunx","bunx skills add endman100\u002Fskill-router-nexus --skill claude-api",{"tool":61,"command":62},"pnpm","pnpm dlx skills add endman100\u002Fskill-router-nexus --skill claude-api","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FLLM-and-Chatbot\u002Fclaude-api\u002FSKILL.md",true,[66,72,76,80,84,89,93,97,101,105,109,113,117,121,125,129,133,137,141,145,149,153,157,161,165,169],{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"csharp\u002Fclaude-api.md","REFERENCE","参考文档",14390,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FLLM-and-Chatbot\u002Fclaude-api\u002Fcsharp\u002Fclaude-api.md",{"path":73,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":74,"sourceHtmlUrl":75},"curl\u002Fexamples.md",6418,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FLLM-and-Chatbot\u002Fclaude-api\u002Fcurl\u002Fexamples.md",{"path":77,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":78,"sourceHtmlUrl":79},"go\u002Fclaude-api.md",13873,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FLLM-and-Chatbot\u002Fclaude-api\u002Fgo\u002Fclaude-api.md",{"path":81,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":82,"sourceHtmlUrl":83},"java\u002Fclaude-api.md",15095,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FLLM-and-Chatbot\u002Fclaude-api\u002Fjava\u002Fclaude-api.md",{"path":85,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":88,"sourceHtmlUrl":15},"LICENSE.txt","LICENSE","许可证",11357,{"path":90,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":91,"sourceHtmlUrl":92},"php\u002Fclaude-api.md",11161,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FLLM-and-Chatbot\u002Fclaude-api\u002Fphp\u002Fclaude-api.md",{"path":94,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":95,"sourceHtmlUrl":96},"python\u002Fagent-sdk\u002Fpatterns.md",9197,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FLLM-and-Chatbot\u002Fclaude-api\u002Fpython\u002Fagent-sdk\u002Fpatterns.md",{"path":98,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":99,"sourceHtmlUrl":100},"python\u002Fagent-sdk\u002FREADME.md",12672,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FLLM-and-Chatbot\u002Fclaude-api\u002Fpython\u002Fagent-sdk\u002FREADME.md",{"path":102,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":103,"sourceHtmlUrl":104},"python\u002Fclaude-api\u002Fbatches.md",5095,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FLLM-and-Chatbot\u002Fclaude-api\u002Fpython\u002Fclaude-api\u002Fbatches.md",{"path":106,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":107,"sourceHtmlUrl":108},"python\u002Fclaude-api\u002Ffiles-api.md",3994,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FLLM-and-Chatbot\u002Fclaude-api\u002Fpython\u002Fclaude-api\u002Ffiles-api.md",{"path":110,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":111,"sourceHtmlUrl":112},"python\u002Fclaude-api\u002FREADME.md",12105,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FLLM-and-Chatbot\u002Fclaude-api\u002Fpython\u002Fclaude-api\u002FREADME.md",{"path":114,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":115,"sourceHtmlUrl":116},"python\u002Fclaude-api\u002Fstreaming.md",5222,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FLLM-and-Chatbot\u002Fclaude-api\u002Fpython\u002Fclaude-api\u002Fstreaming.md",{"path":118,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":119,"sourceHtmlUrl":120},"python\u002Fclaude-api\u002Ftool-use.md",16933,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FLLM-and-Chatbot\u002Fclaude-api\u002Fpython\u002Fclaude-api\u002Ftool-use.md",{"path":122,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":123,"sourceHtmlUrl":124},"ruby\u002Fclaude-api.md",2935,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FLLM-and-Chatbot\u002Fclaude-api\u002Fruby\u002Fclaude-api.md",{"path":126,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":127,"sourceHtmlUrl":128},"shared\u002Ferror-codes.md",7098,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FLLM-and-Chatbot\u002Fclaude-api\u002Fshared\u002Ferror-codes.md",{"path":130,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":131,"sourceHtmlUrl":132},"shared\u002Flive-sources.md",10727,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FLLM-and-Chatbot\u002Fclaude-api\u002Fshared\u002Flive-sources.md",{"path":134,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":135,"sourceHtmlUrl":136},"shared\u002Fmodels.md",7115,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FLLM-and-Chatbot\u002Fclaude-api\u002Fshared\u002Fmodels.md",{"path":138,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":139,"sourceHtmlUrl":140},"shared\u002Fprompt-caching.md",7376,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FLLM-and-Chatbot\u002Fclaude-api\u002Fshared\u002Fprompt-caching.md",{"path":142,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":143,"sourceHtmlUrl":144},"shared\u002Ftool-use-concepts.md",14894,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FLLM-and-Chatbot\u002Fclaude-api\u002Fshared\u002Ftool-use-concepts.md",{"path":146,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":147,"sourceHtmlUrl":148},"typescript\u002Fagent-sdk\u002Fpatterns.md",4711,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FLLM-and-Chatbot\u002Fclaude-api\u002Ftypescript\u002Fagent-sdk\u002Fpatterns.md",{"path":150,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":151,"sourceHtmlUrl":152},"typescript\u002Fagent-sdk\u002FREADME.md",10834,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FLLM-and-Chatbot\u002Fclaude-api\u002Ftypescript\u002Fagent-sdk\u002FREADME.md",{"path":154,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":155,"sourceHtmlUrl":156},"typescript\u002Fclaude-api\u002Fbatches.md",2596,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FLLM-and-Chatbot\u002Fclaude-api\u002Ftypescript\u002Fclaude-api\u002Fbatches.md",{"path":158,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":159,"sourceHtmlUrl":160},"typescript\u002Fclaude-api\u002Ffiles-api.md",2261,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FLLM-and-Chatbot\u002Fclaude-api\u002Ftypescript\u002Fclaude-api\u002Ffiles-api.md",{"path":162,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":163,"sourceHtmlUrl":164},"typescript\u002Fclaude-api\u002FREADME.md",9862,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FLLM-and-Chatbot\u002Fclaude-api\u002Ftypescript\u002Fclaude-api\u002FREADME.md",{"path":166,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":167,"sourceHtmlUrl":168},"typescript\u002Fclaude-api\u002Fstreaming.md",5585,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FLLM-and-Chatbot\u002Fclaude-api\u002Ftypescript\u002Fclaude-api\u002Fstreaming.md",{"path":170,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":171,"sourceHtmlUrl":172},"typescript\u002Fclaude-api\u002Ftool-use.md",15358,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FLLM-and-Chatbot\u002Fclaude-api\u002Ftypescript\u002Fclaude-api\u002Ftool-use.md",[174,184,211,235,260,275],{"skillNo":175,"name":176,"nameZh":6,"description":177,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":178,"licenseFileUrl":179,"sourceHtmlUrl":180,"categories":181,"keywords":182,"publishedAt":183},"01M7B8ZGJ7NXTMECB5GWFAAWM4","blender-web-3d","Work with Blender from Claude — headless CLI or the Blender MCP — to build, modify, render, and publish any 3D model as a stunning, fast Three.js\u002FNext.js web experience (gltf-transform meshopt\u002FKTX2, AgX colour pipeline, custom GLSL shaders and material patches, procedural sky\u002Fplanet, bloom, adaptive quality, runtime batching, baked lightmaps, Vercel deploy). Use whenever the user wants to create, improve, fix, render, or iterate on a Blender model or scene — \"improve the model\", \"make it look stunning\", \"render this\", \"make a 3D web demo\", \"export to GLB\", \"use blender\", \"looks wrong in the browser\", \"optimize the 3D scene\", \"add shaders\", \"it's slow\", or screenshot-driven feedback on a 3D asset. Also for debugging a Three.js viewer that renders black, glows wrong, or loses\u002Fdetaches parts, and for choosing Blender MCP vs headless CLI. Ships a runnable demo model and viewer template.","MIT","https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FVideo-and-Print\u002Fblender-web-3d\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FVideo-and-Print\u002Fblender-web-3d\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":185,"name":186,"nameZh":6,"description":187,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":188,"licenseFileUrl":189,"sourceHtmlUrl":190,"categories":191,"keywords":192,"publishedAt":210},"01M6M35YSZVTJV8WKCPYTR1D7E","guizang-ppt-skill","生成横向翻页网页 PPT（单 HTML 文件），含 WebGL 背景、章节幕封、数据大字报、图片网格等模板。提供两种风格：① \"电子杂志 × 电子墨水\"（衬线 + 流体背景 + 暖色） ② \"瑞士国际主义\"（无衬线 + 网格点阵 + IKB\u002F柠檬黄\u002F柠檬绿\u002F安全橙高亮）。当用户需要制作分享 \u002F 演讲 \u002F 发布会风格的网页 PPT，或提到\"杂志风 PPT\"、\"瑞士风 PPT\"、\"Swiss Style\"、\"horizontal swipe deck\"时使用。","AGPL-3.0","https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FWeb-Design\u002Fmedia-docs-and-content\u002Fguizang-ppt-skill\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FWeb-Design\u002Fmedia-docs-and-content\u002Fguizang-ppt-skill\u002FSKILL.md",[],[193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209],"pptx","guizang","guizang ppt","guizang ppt skill","数据","webgl","html","style","ikb","swipe","image","安全","生成","文件","deck","演讲","swiss","2026-11-12 13:55:43",{"skillNo":212,"name":213,"nameZh":6,"description":214,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":178,"licenseFileUrl":215,"sourceHtmlUrl":216,"categories":217,"keywords":218,"publishedAt":210},"01M6M2975GEN1339YEPZ61XMRJ","youtube-clipper","YouTube 视频智能剪辑工具。下载视频和字幕，AI 分析生成精细章节（几分钟级别）， 用户选择片段后自动剪辑、翻译字幕为中英双语、烧录字幕到视频，并生成总结文案。 使用场景：当用户需要剪辑 YouTube 视频、生成短视频片段、制作双语字幕版本时。 关键词：视频剪辑、YouTube、字幕翻译、双语字幕、视频下载、clip video","https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FVideo-Editing\u002Fyoutube-clipper\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FVideo-Editing\u002Fyoutube-clipper\u002FSKILL.md",[],[219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,205,234],"youtube clipper","clipper","youtube","read","翻译","文案","Video","clip","关键词","总结","sonnet","下载","视频","Bash","工具","write",{"skillNo":236,"name":237,"nameZh":6,"description":238,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":239,"sourceHtmlUrl":240,"categories":241,"keywords":242,"publishedAt":210},"01M6KSWDBWVPF8ZKCVF2EXCBPH","slack-gif-creator","Toolkit for creating animated GIFs optimized for Slack, with validators for size constraints and composable animation primitives. This skill applies when users request animated GIFs or emoji animations for Slack from descriptions like \"make me a GIF for Slack of X doing Y\".","https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FCommunication\u002Fslack-gif-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FCommunication\u002Fslack-gif-creator\u002FSKILL.md",[],[243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259],"slack gif creator","gif","creator","slack","users","emoji","constraints","size","with","toolkit","composable","for","make","primitives","request","me","Animation",{"skillNo":261,"name":262,"nameZh":6,"description":263,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":178,"licenseFileUrl":264,"sourceHtmlUrl":265,"categories":266,"keywords":267,"publishedAt":40},"01M6MPCT5BXVER8HQZTW3QE9AS","create-master","基于佛教经典文献，生成特定高僧大德的 AI 教学角色","https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FMetaphysics-and-Spirituality\u002FMaster-skill\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FMetaphysics-and-Spirituality\u002FMaster-skill\u002FSKILL.md",[],[268,269,270,232,205,271,272,273,234,222,274],"create","create master","master","true","grep","edit","webfetch",{"skillNo":276,"name":277,"nameZh":6,"description":278,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":178,"licenseFileUrl":279,"sourceHtmlUrl":280,"categories":281,"keywords":282,"publishedAt":40},"01M6M43AKE95Y64E1JRXEF5QQ3","writing-dna-skill","从至少 20 篇完整文章中蒸馏可复用的写作 DNA，分析语言、文章结构、选题逻辑、素材策略、认知框架和视觉风格，并生成 Writing-DNA.md；按该 DNA 写作时会读取全部蒸馏产物和 5 篇相关原文。用于中英文作者、账号、品牌或出版物的风格分析与一致性写作。 Distill reusable Writing DNA from at least 20 complete articles for Chinese or English authors, publications, brands, and accounts; use for language, structure, topic logic, source strategy, cognitive-frame, and visual-style analysis.","https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FWriting-and-Content\u002Fwriting-dna-skill\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FWriting-and-Content\u002Fwriting-dna-skill\u002FSKILL.md",[],[283,284,285,286,254,287,288,289,205,290,291,292,293,200,294,295,296,297,298,21],"writing","writing dna skill","DNA","chinese","complete","distill","strategy","at","source","frame","logic","structure","english","analysis","visual","reusable"]