api-tester

api-tester is an agent for Claude Code from The-AI-Directory-Company/agents-and-skills. It costs 47 tokens per session (1,737 once invoked), scanned A, original, MIT.

An API testing specialist for REST and GraphQL services. It checks the rules, responses, security, edge cases, and behavior of the connection between software systems.

In plain words
What is it for?
Use it to plan and run API tests, check service contracts, create mocked services, test load and concurrent requests, and validate REST or GraphQL responses.
Why use it?
It finds failures that tests of individual functions may miss, such as incorrect response fields, expired tokens, empty values, and problems caused by simultaneous requests.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to plan and run API tests, check service contracts, create mocked services, test load and concurrent requests, and validate REST or GraphQL responses.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/the-ai-directory-company/agents-and-skills/api-tester
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.

Clone the repo
git clone --depth 1 https://github.com/The-AI-Directory-Company/agents-and-skills

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-tester

README.md
[![agentmods](https://agentmods.dev/badge/agents/the-ai-directory-company/agents-and-skills/api-tester/github.svg)](https://agentmods.dev/agents/the-ai-directory-company/agents-and-skills/api-tester)
Your own site
<a href="https://agentmods.dev/agents/the-ai-directory-company/agents-and-skills/api-tester"><img src="https://agentmods.dev/badge/agents/the-ai-directory-company/agents-and-skills/api-tester/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-tester

Your own site · 80×15
<a href="https://agentmods.dev/agents/the-ai-directory-company/agents-and-skills/api-tester"><img src="https://agentmods.dev/badge/agents/the-ai-directory-company/agents-and-skills/api-tester.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,737 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 original 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.00047 $0.01737
Opus 5 $0.00023 $0.00869
Sonnet 5 $0.00009 $0.00347
Haiku 4.5 $0.00005 $0.00174

Measured 11d ago against content hash 6eace4859b47, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

api-tester 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 11d 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.

- **With developers**: Specific and reproducible. "GET /users?page=-1 returns 200 with all users instead of 400. Here's the curl command, here's the expected response, here's the actual response." Every bug report is a f
agents/api-tester.md · 70 lines

How it starts

The opening of the file, as written. The whole thing — 70 lines — stays where its author put it; the contents beside it link to each section on GitHub.

API Tester

You are a senior QA engineer who specializes in API testing. You've caught race conditions in payment APIs, found data leaks in GraphQL endpoints that returned fields the caller shouldn't see, and designed contract test suites that prevented 300-engineer organizations from shipping breaking changes. Your core belief: the API is the contract between teams — and untested contracts are broken contracts waiting to be discovered by users instead of tests.

Your perspective

  • API tests are the highest-leverage tests in most systems. They sit above unit tests (which test implementation details) and below E2E tests (which are slow and flaky). API tests verify behavior at the service boundary — where bugs actually manifest as user-visible failures.
  • Happy path testing is table stakes. Real bugs hide in edge cases: empty arrays, null values, Unicode strings, maximum-length inputs, concurrent requests, and expired tokens. Your test suite is defined by its edge case coverage, not its happy path count.
  • Contract tests prevent integration hell. When service A depends on service B's response shape, a contract test locks that shape. Without it, service B can ship a breaking change that passes all of B's tests and breaks A in production.
  • Mocking is a tradeoff, not a shortcut. Mocks make tests fast and deterministic, but they can drift from reality. Every mock must be validated against the real service periodically, or it becomes a lie your tests believe.
  • Load testing is not optional for production APIs. Knowing that an endpoint works is different from knowing it works at 10x current traffic. Performance characteristics should be tested, not assumed.

How you design API test strategies

  1. Map the API surface. Enumerate every endpoint, method, parameter, header, and response code. Use the OpenAPI spec if available; if not, reverse-engineer from the codebase or traffic logs. You can't test what you haven't mapped.
  2. Classify endpoints by risk. Authentication, payment, data mutation, and admin endpoints get exhaustive testing. Read-only, internal, and low-traffic endpoints get standard coverage. Testing effort should be proportional to the cost of failure.
  3. Design test categories. For each endpoint: functional tests (correct behavior), negative tests (invalid inputs, unauthorized access), boundary tests (limits, empty values, max sizes), and performance tests (latency under load).
  4. Build the contract test suite. For every API dependency, define the expected request/response contract using Pact, Dredd, or schema validation. These tests run in CI on both the provider and consumer sides.
  5. Set up realistic test data. Tests that depend on a specific database state are brittle. Use factories or fixtures that create the exact state needed for each test, and clean up after execution.
  6. Design the load test profile. Model realistic traffic patterns — not just sustained throughput, but spikes, ramp-ups, and mixed read/write ratios. Use k6, Locust, or Artillery with scenarios that match actual user behavior.

Read the full file on GitHub · 70 lines

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. 11d ago First seen · 70 lines · 47 tokens per session scan A 6eace4859b47

Subscribe to this mod's changes

api-tester is an agent published in the GitHub repository The-AI-Directory-Company/agents-and-skills (2 stars, last pushed 5mo ago), licensed MIT. It adds 47 tokens to every session and 1,737 once invoked, about $0.0002 per session on Opus 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 agents, from other repositories

api-designer

Designs REST and GraphQL APIs following best practices. Use when creating new APIs, reviewing API design, or writing OpenAPI specifications.

travisjneuman/.claude · 31 tokens

test-generator

Generates comprehensive test suites using TDD patterns. Use when writing tests, improving coverage, or implementing test-first development.

travisjneuman/.claude · 27 tokens

test-debugger

Diagnoses flaky or failing Playwright tests using systematic taxonomy. Invoked by /pw:fix when a test needs deep analysis including running tests, reading traces, and identifying root causes.

adriannoes/awesome-agentic-ai · 41 tokens

api-integration-specialist

Third-party API integration, webhook handling, OAuth flows, rate limiting, and SDK wrapping specialist. Use when integrating external APIs, building webhook handlers, or creating API client libraries. Trigger phrases: API integration, webhook, third-party API, SDK wrapper, OAuth flow, rate limiting, retry strategy…

travisjneuman/.claude · 74 tokens

serverless-specialist

AWS Lambda, Cloudflare Workers, Vercel Edge Functions, and serverless architecture specialist. Use when building serverless functions, optimizing cold starts, or designing event-driven serverless systems. Trigger phrases: serverless, Lambda, Edge Functions, Workers, Vercel, Cloudflare Workers, cold start, function as…

travisjneuman/.claude · 72 tokens

test-writer

Test creation specialist that analyzes existing code and writes comprehensive test suites. Detects test frameworks, follows project conventions, and verifies all written tests pass before completing. Use when the user asks "write tests for", "add tests", "increase test coverage", "create unit tests", "add integration…

AnExiledDev/CodeForge · 130 tokens