Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/sirhanmacx/claw-ed/claude-apinpx skills add SirhanMacx/Claw-ED --skill claude-apigit clone --depth 1 https://github.com/SirhanMacx/Claw-EDWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/sirhanmacx/claw-ed/claude-api)<a href="https://agentmods.dev/skills/sirhanmacx/claw-ed/claude-api"><img src="https://agentmods.dev/badge/skills/sirhanmacx/claw-ed/claude-api.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.04794 |
| Opus 5 | $0.00000 | $0.02397 |
| Sonnet 5 | $0.00000 | $0.00959 |
| Haiku 4.5 | $0.00000 | $0.00479 |
Grade A, and why
claude-api scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- Suggest cURL/raw HTTP examples from `curl/` and note that community SDKs may exist This is a copy
86% identical to claude-api — 41 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 257 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Building LLM-Powered Applications with Claude
This 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.
Defaults
Unless the user requests otherwise:
For the Claude model version, please use {{OPUS_NAME}}, which you can access via the exact model string {{OPUS_ID}}. 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() / .finalMessage() helper to get the complete response if you don't need to handle individual stream events
Language Detection
Before reading code examples, determine which language the user is working in:
-
Look at project files to infer the language:
*.py,requirements.txt,pyproject.toml,setup.py,Pipfile→ Python — read frompython/*.ts,*.tsx,package.json,tsconfig.json→ TypeScript — read fromtypescript/*.js,*.jsx(no.tsfiles present) → TypeScript — JS uses the same SDK, read fromtypescript/*.java,pom.xml,build.gradle→ Java — read fromjava/*.kt,*.kts,build.gradle.kts→ Java — Kotlin uses the Java SDK, read fromjava/*.scala,build.sbt→ Java — Scala uses the Java SDK, read fromjava/*.go,go.mod→ Go — read fromgo/*.rb,Gemfile→ Ruby — read fromruby/*.cs,*.csproj→ C# — read fromcsharp/*.php,composer.json→ PHP — read fromphp/
-
If multiple languages detected (e.g., both Python and TypeScript files):
- Check which language the user's current file or question relates to
- If still ambiguous, ask: "I detected both Python and TypeScript files. Which language are you using for the Claude API integration?"
What ships with it
25 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- csharp/claude-api.md 14 KB
- curl/examples.md 6.3 KB
- go/claude-api.md 14 KB
- java/claude-api.md 15 KB
- php/claude-api.md 11 KB
- python/agent-sdk/patterns.md 9.0 KB
- python/agent-sdk/README.md 12 KB
- python/claude-api/batches.md 5.0 KB
- python/claude-api/files-api.md 3.9 KB
- python/claude-api/README.md 12 KB
- python/claude-api/streaming.md 5.1 KB
- python/claude-api/tool-use.md 16 KB
- ruby/claude-api.md 2.9 KB
- shared/error-codes.md 6.9 KB
- shared/live-sources.md 10 KB
- shared/models.md 7.0 KB
- shared/prompt-caching.md 7.2 KB
- shared/tool-use-concepts.md 15 KB
- typescript/agent-sdk/patterns.md 4.6 KB
- typescript/agent-sdk/README.md 11 KB
- typescript/claude-api/batches.md 2.5 KB
- typescript/claude-api/files-api.md 2.2 KB
- typescript/claude-api/README.md 9.6 KB
- typescript/claude-api/streaming.md 5.4 KB
- typescript/claude-api/tool-use.md 15 KB
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 5d ago First seen · 257 lines · 0 tokens per session scan A 937a1112418f
claude-api is a skill published in the GitHub repository SirhanMacx/Claw-ED (58 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 4,794 tokens. A static security scan graded it A with 1 finding (makes network calls). It is 86% identical to claude-api, differing in 41 lines, and is treated as a copy.
Other skills, from other repositories
cloud-deploy-gate
The pre-deployment gate for managed AI platforms (Azure AI Foundry, Google Vertex AI, AWS Bedrock), evals packed, budget set, guardrails on, owner named. Use before any cloud deployment.
context-budget-audit
Audit the seven claimants on an LLM call's context window, set a working ceiling, and cut in the right order. Use when prompts grow, agents drift, or token bills surprise you.
error-analysis-50
Read 50 real failures by hand, cluster them into classes, fix the largest class, and extend the golden set. Use whenever an AI system's score stalls or its failures are 'mysterious'.
eval-first-development
Build the golden set and the automated scorer before touching the prompt, model, or pipeline. Use whenever an AI output's quality will need to be measured, extraction, RAG, agents, classification.
fine-tune-readiness
Decide whether fine-tuning is justified versus prompting or RAG, and gate the training dataset before any LoRA/SFT/DPO run. Use when someone says 'let's fine-tune'.
local-model-fit
Compute the VRAM/RAM budget and pick a model size and quantization before downloading anything. Use when choosing local models, planning GPU hardware, or hitting out-of-memory errors.