api-client

api-client is a skill for Claude Code from nek1987/auto-agent-harness. It costs 72 tokens per session (4,938 once invoked), scanned A, original, no licence file.

A guide to setting up application clients that retrieve data from APIs, including request libraries, authentication tokens, error handling, and response parsing. TanStack Query and Axios are among the supported tools.

In plain words
What is it for?
Use it when adding an API client, data fetching, JWT login tokens, response parsing, error handling, or paginated lists with the listed tools.
Why use it?
It helps organize repeated API communication and handle authentication, errors, and paginated results consistently.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it when adding an API client, data fetching, JWT login tokens, response parsing, error handling, or paginated lists with the listed tools.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nek1987/auto-agent-harness/api-client
Install

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.

Any agent
npx skills add nek1987/auto-agent-harness --skill api-client
Clone the repo
git clone --depth 1 https://github.com/nek1987/auto-agent-harness

Made for: Claude Code.

Wrote 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.

agentmods badge for api-client

README.md
[![agentmods](https://agentmods.dev/badge/skills/nek1987/auto-agent-harness/api-client/github.svg)](https://agentmods.dev/skills/nek1987/auto-agent-harness/api-client)
Your own site
<a href="https://agentmods.dev/skills/nek1987/auto-agent-harness/api-client"><img src="https://agentmods.dev/badge/skills/nek1987/auto-agent-harness/api-client/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for api-client

Your own site · 80×15
<a href="https://agentmods.dev/skills/nek1987/auto-agent-harness/api-client"><img src="https://agentmods.dev/badge/skills/nek1987/auto-agent-harness/api-client.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,938 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00072 $0.04938
Opus 5.5 $0.00029 $0.01975
Sonnet 5.5 $0.00014 $0.00988
Haiku 4.5 $0.00007 $0.00494

Measured 1mo ago against content hash 96d57a765d98, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

api-client 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 1mo 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.

this.client = axios.create({
.claude/skills/api-client/SKILL.md · 741 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

Files

What ships with it

1 file 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.

Changes

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.

  1. 1mo ago First seen · 741 lines · 72 tokens per session scan A 96d57a765d98

Subscribe to this mod's changes

api-client is a skill published in the GitHub repository nek1987/auto-agent-harness (4 stars, last pushed 6mo ago), with no licence file. It adds 72 tokens to every session and 4,938 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

api-design-reviewer

Use when reviewing a PR that adds or changes API endpoints, auditing an existing API for v2 migration, or establishing REST API standards — HTTP semantics, status codes, RFC 9457 problem-details errors, breaking-change detection, pagination, idempotency and concurrency control. Triggers on "API review", "REST design…

tmj-90/gaffer · 90 tokens

background-jobs

Use when a ticket moves work off the request path or adds asynchronous processing — a job queue, a worker, an outbox, "send the email later", "process uploads in the background", retries for a failed job — and the job must be idempotent, observable, bounded, and safe to run twice. Invoke for any queue, worker, or…

tmj-90/gaffer · 80 tokens

event-driven-messaging

Use when a ticket connects components through events or messages — publishing domain events, consuming from a topic or stream, an event bus, pub/sub, change-data-capture — and the design must define ownership of each event, its schema and versioning, delivery guarantees, ordering, and how consumers stay idempotent.…

tmj-90/gaffer · 109 tokens

file-uploads

Use when a ticket lets users send files — avatars, documents, CSV imports, attachments — or serves them back, and the path must be safe against oversized, malicious, or mis-typed content, store files outside the web root or in object storage, and never trust the client's filename or content type. Invoke for "let users…

tmj-90/gaffer · 93 tokens

frontend-data-fetching

Use when a ticket loads or mutates server data from the client — fetching a list or a detail, polling, live updates, mutations with cache updates or optimistic UI, loading and error states, retries, concurrent edits — and the implementation must use the repo's data layer, never fetch in a bare effect, and handle…

tmj-90/gaffer · 112 tokens

idempotency-and-retries

Use when a ticket makes an operation safe to repeat or adds retries — payment or order creation that must not double-charge, a webhook handler that receives duplicates, a client retry policy, an outbound call to a flaky dependency — and the design must guarantee exactly-once effect under at-least-once delivery. Invoke…

tmj-90/gaffer · 93 tokens