api-testing

api-testing is a skill for Claude Code from Postman-Devrel/postman-claude-code-plugin. It costs 118 tokens per session (1,054 once invoked), scanned A, original, Apache-2.0.

A command-line tool for testing web APIs, from one request to a collection of checks or a comparison with real application traffic. A collection is a saved group of API requests and tests.

In plain words
What is it for?
Use it for one-off endpoint checks, collection test runs, CI health checks, and testing browser, command-line, or service traffic against a collection.
Why use it?
It lets you check an endpoint, run saved assertions, or verify that an application's requests still match an API contract instead of relying only on an HTTP status code.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the postman plugin — 13 skills, 1 hook, 1 MCP server shipped together

Good fit Use it for one-off endpoint checks, collection test runs, CI health checks, and testing browser, command-line, or service traffic against a collection.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/postman-devrel/postman-claude-code-plugin/api-testing
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 Postman-Devrel/postman-claude-code-plugin --skill api-testing
Clone the repo
git clone --depth 1 https://github.com/Postman-Devrel/postman-claude-code-plugin

Made for: Claude Code.

Or install postman, the plugin that ships this one along with the rest of its 13 skills, 1 hook, 1 MCP server.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/postman-devrel/postman-claude-code-plugin/api-testing/github.svg)](https://agentmods.dev/skills/postman-devrel/postman-claude-code-plugin/api-testing)
Your own site
<a href="https://agentmods.dev/skills/postman-devrel/postman-claude-code-plugin/api-testing"><img src="https://agentmods.dev/badge/skills/postman-devrel/postman-claude-code-plugin/api-testing/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-testing

Your own site · 80×15
<a href="https://agentmods.dev/skills/postman-devrel/postman-claude-code-plugin/api-testing"><img src="https://agentmods.dev/badge/skills/postman-devrel/postman-claude-code-plugin/api-testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 118 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,054 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.00118 $0.01054
Opus 5.5 $0.00047 $0.00422
Sonnet 5.5 $0.00024 $0.00211
Haiku 4.5 $0.00012 $0.00105

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

Security

Grade A, and why

api-testing 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.

## `postman request` — over curl, not instead of testing
skills/api-testing/SKILL.md · 85 lines

How it starts

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

API Testing

Overview

Three tools, matched to what already exists:

Have Use
Just a URL to check postman request
A collection with pm.test assertions saved in it postman collection run
A real app (browser flow, CLI, service) whose traffic should match a collection's contract postman application test

Don't reach for the heavier tool when the lighter one already answers the question — a one-off endpoint check doesn't need a collection, and a collection run doesn't need Playwright.

postman request — over curl, not instead of testing

A single request with Postman's resolution built in: -e resolves {{variables}} from an environment file the same way a collection run would, --auth-* flags cover basic/bearer/digest/oauth/aws/etc. without hand-building headers, and --retry/--timeout handle flaky endpoints. --script-post-request can run pm.test(...) assertions inline — the exit code counts failed assertions, not just HTTP status, so a 200 with a failing test still exits nonzero. Useful for a quick check or a CI health check; not the place to accumulate assertions that should outlive one command — those belong saved in a collection.

collection run — the assertion suite

Debugging a request's behavior during a run (why a pm.test failed, what a request actually sends) means reading the request's own YAML — see the collection-schema-v3 skill for that file format before assuming a field's shape.

Runs every request in a collection (or a subset via -i, repeatable), executing whatever pm.test scripts are already saved in it. -d/--iteration-data (or the beta --iteration-data-dataset + --iteration-data-view pair) drives data-driven runs across a CSV/JSON file or a Postman Dataset. -r junit,html for CI-consumable reports. --use-mock/--mock redirects the run at a mock instead of a real backend (see the api-mocking skill) — reach for this to test request/assertion logic without depending on a live service.

Read the full file on GitHub · 85 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. 1mo ago First seen · 85 lines · 118 tokens per session scan A 7419daa5c0f8

Subscribe to this mod's changes

api-testing is a skill published in the GitHub repository Postman-Devrel/postman-claude-code-plugin (41 stars, last pushed 21d ago), licensed Apache-2.0. It adds 118 tokens to every session and 1,054 once invoked, about $0.0005 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-09-20.

Related

Other skills, from other repositories

postman

Full API lifecycle management through Postman. Sync OpenAPI specs to collections, generate typed client code, run API tests, create mock servers, publish documentation, audit security against OWASP Top 10, and discover APIs across workspaces. Requires the Postman MCP Server. Use this skill when the user mentions…

Postman-Devrel/agent-skills · 111 tokens

spring-mcp-contracts

Develops and verifies JSON contracts of the Spring plugin's MCP tools using Java/Kotlin PSI, UAST, scoped Spring models and bounded response regression tests. Use when changing an endpoint lookup or contract tool, URL matching, the call-chain trace, a bean lookup or listing tool, a parameter source or requiredness, a…

explyt/spring-plugin · 102 tokens

postman-api-readiness

Analyze any API for AI agent compatibility. Scans OpenAPI specs across 8 pillars (48 checks), scores agent-readiness 0-100, and provides prioritized fix recommendations. Use this skill when the user asks: "Is my API agent-ready?", "Scan my API", "Analyze my OpenAPI spec", "What's wrong with my API for AI agents?"…

Postman-Devrel/agent-skills · 108 tokens

mem0-test-integration

Verify a Mem0 integration produced by /mem0-integrate. Runs in the same workspace on the same branch (loose coupling) — installs dependencies, runs the repo's native test suite, then exercises a real end-to-end smoke flow against the user's API key. Produces a scorecard. TRIGGER when: user has just run /mem0-integrate…

mem0ai/mem0 · 207 tokens

prowler-test-api

Testing patterns for Prowler API: JSON:API, Celery tasks, RLS isolation, RBAC. Trigger: When writing tests for api/ (JSON:API requests/assertions, cross-tenant isolation, RBAC, Celery tasks, viewsets/serializers).

prowler-cloud/prowler · 62 tokens

python-sdk

Implement or modify Python SDK behavior under python/composio, including tools, toolkits, sessions, auth configs, connected accounts, client integration, and shared Python models. Use for Python core runtime/API work; pair with python-testing and cross-sdk-parity when TypeScript must match.

ComposioHQ/composio · 60 tokens