api-testing

api-testing is a skill for Claude Code, Codex from Aryan-Jhaveri/mcp-statcan. It costs 52 tokens per session (752 once invoked), scanned A, original, MIT.

An API testing skill checks endpoints and application traffic against an API contract. It can run a single request, a saved collection request, a reusable collection of checks, or an application's actual calls.

In plain words
What is it for?
Use it to test an endpoint, run collection assertions, create regression checks, or verify that a real application's calls match the API contract.
Why use it?
Saved requests preserve authentication, variables, payloads, and assertions, making checks repeatable. The results show what the evidence proves instead of treating any successful HTTP response as correctness.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to test an endpoint, run collection assertions, create regression checks, or verify that a real application's calls match the API contract.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aryan-jhaveri/mcp-statcan/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 Aryan-Jhaveri/mcp-statcan --skill api-testing
Clone the repo
git clone --depth 1 https://github.com/Aryan-Jhaveri/mcp-statcan

Made for: Claude Code, Codex.

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/aryan-jhaveri/mcp-statcan/api-testing/github.svg)](https://agentmods.dev/skills/aryan-jhaveri/mcp-statcan/api-testing)
Your own site
<a href="https://agentmods.dev/skills/aryan-jhaveri/mcp-statcan/api-testing"><img src="https://agentmods.dev/badge/skills/aryan-jhaveri/mcp-statcan/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/aryan-jhaveri/mcp-statcan/api-testing"><img src="https://agentmods.dev/badge/skills/aryan-jhaveri/mcp-statcan/api-testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 752 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00052 $0.00752
Opus 5.5 $0.00021 $0.00301
Sonnet 5.5 $0.00010 $0.00150
Haiku 4.5 $0.00005 $0.00075

Measured today against content hash 5875263235d3, 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 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 today.

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.

postman/skills/api-testing/SKILL.md · 58 lines

How it starts

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

API Testing

Saved requests preserve the auth, payloads, variables, and assertions that make an API check reproducible. The useful result is evidence about an intended guarantee; a successful HTTP exchange alone does not establish correctness.

  1. Choose the smallest execution mode that answers the question:

    Evidence needed Use
    One endpoint with no saved request postman request <url>
    Behavior of an existing saved request postman collection run <collection-path> -i <request-id-name-or-path>
    Reusable regression checks postman collection run <path-or-id>
    Whether a real app's calls match the contract postman application test
  2. Reuse a matching request under postman/collections/ before reconstructing its HTTP fields. Running it through the collection retains inherited auth, variables, and scripts. postman request takes a URL, not a request YAML path; for an unsaved request with an existing payload file, --body @path preserves that file as the source. See collection-schema-v3 when editing the saved request.

  3. Derive assertions from the contract and the behavior at risk. A test that merely repeats the current implementation can bless its bug. Preserve existing guarantees and add checks for the changed behavior; put reusable pm.test assertions in the collection so later runs and teammates inherit them. Inline --script-post-request assertions suit a one-off check.

  4. Choose a real or mocked target according to the claim. --use-mock lets a collection run exercise request and assertion logic without a live backend; --mock alone only starts one. --use-mock replaces the variable's whole value, base path included (see api-mocking). Passing against that mock does not verify the service the mock stands in for.

  5. Reuse environment resolution with -e and variables. Use a CSV/JSON file through -d for simple iteration; use datasets when the inputs need queries, joins, or reusable views. Export reports such as -r junit,html when ci-integration needs evidence beyond terminal output.

  6. Use application test when the application's actual traffic is the subject. It runs an existing command, such as --command "npx playwright test", captures its traffic, and matches it against collections. --capture-only instead exports a v3 collection organized by host; that captures behavior without validating it. Results are recorded in the connected workspace by default; --report-events=false keeps the run local when required.

Use command-specific -h for supported options and bootstrap for unresolved CLI setup or authentication when using workspace resources. A bare URL or local collection does not require a workspace binding.

Read the full file on GitHub · 58 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. today First seen · 58 lines · 52 tokens per session scan A 5875263235d3

Subscribe to this mod's changes

api-testing is a skill published in the GitHub repository Aryan-Jhaveri/mcp-statcan (7 stars, last pushed yesterday), licensed MIT. It adds 52 tokens to every session and 752 once invoked, about $0.0002 per session on Opus 5.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-10-27.

Related

Other skills, from other repositories

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

testing

Testing and code quality context for Jest, React Testing Library, ESLint, and test patterns. Use when writing tests or fixing linting issues.

Team-Commonly/commonly · 31 tokens

testing

Verify a Skyvern deployment is working correctly by smoke-testing the backend API, frontend rendering, browser session provisioning, and workflow execution. Use when the user says 'is Skyvern working', 'test my deployment', 'verify the installation', 'smoke test', or needs to check that a self-hosted or local Skyvern…

Skyvern-AI/skyvern · 71 tokens

phone

Use when the user wants phone-number intelligence (lookup, carrier, line type, SIM-swap / call-forwarding fraud signals), US/CA number provisioning (rent a phone number), or outbound AI voice calls (Bland.ai under the hood — schedule, confirm, follow-up). Pay per call in USDC.

BlockRunAI/blockrun-mcp · 66 tokens

capture-api-response-test-fixture

For provider response parsing tests, we aim at storing test fixtures with the true responses from the providers (unless they are too large in which case some cutting that does not change semantics is advised).

vercel/ai · 13 tokens

emulate-seed

Generate emulate seed configs for stateful API emulation. Wraps Vercel's emulate tool for GitHub, Vercel, Google OAuth, Slack, Apple Auth, Microsoft Entra, AWS, Okta, Clerk, Resend, Stripe, and MongoDB Atlas APIs — full state machines, not mocks. Use when setting up test environments, CI pipelines, integration tests…

yonatangross/orchestkit · 86 tokens