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/block/agent-skills/api-setupnpx skills add block/agent-skills --skill api-setupgit clone --depth 1 https://github.com/block/agent-skillsWhat 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.00013 | $0.00276 |
| Opus 5 | $0.00006 | $0.00138 |
| Sonnet 5 | $0.00003 | $0.00055 |
| Haiku 4.5 | $0.00001 | $0.00028 |
Grade A, and why
api-setup scanned grade A with 0 findings 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 2d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
API Setup
This skill helps you set up a new API integration with our standard configuration.
Steps
- Run
setup.sh <api-name>to create the integration directory - Copy
templates/config.template.jsonto your integration directory - Update the config with your API credentials
- Test the connection
Configuration
The config template includes:
api_key: Your API key (get from the provider's dashboard)endpoint: API endpoint URLtimeout: Request timeout in seconds (default: 30)
Verification
After setup, verify:
- Config file is valid JSON
- API key is set and not a placeholder
- Test connection succeeds
Troubleshooting
Connection Timeout
If you experience connection timeouts:
- Check your network connection
- Verify the endpoint URL is correct
- Increase the timeout value in config
Authentication Errors
If you get 401/403 errors:
- Verify your API key is correct
- Check if the key has the required permissions
- Ensure the key hasn't expired
What ships with it
2 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.
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.
- 2d ago First seen · 56 lines · 13 tokens per session scan A 1766b70c735c
api-setup is a skill published in the GitHub repository block/agent-skills (23 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 13 tokens to every session and 276 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
seedance-pipeline
This skill should be used when the user asks about Seedance 2.0 workflow operations, API planning, BytePlus ModelArk, Dreamina/Jimeng surfaces, provider/router APIs, China-facing surfaces, ComfyUI, post-production, stitching, batch workflow, or integration planning.
tauri-bridge-setup
How to add the tauri-agent-tools Rust dev bridge to a Tauri application.
tinyfish-integration
Integrate TinyFish web toolkit (search, fetch, browser automation) into Hermes Agent.
webhook-subscriptions
Design, implement, and debug webhook integrations with security and reliability.
linear-integration
Linear API patterns and examples for autopilot. Includes authentication, webhooks, issue CRUD, state transitions, file attachments, and comment handling.
llm-integration
Claude and OpenAI API patterns, prompt design, context management, streaming, tool use, cost control, multi-model routing.