api-simulation

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

An API simulation runs your code against several HTTP stand-ins together as one environment. It exercises real network calls to those stand-ins instead of replacing the HTTP client or contacting real services.

In plain words
What is it for?
Use it for a service, frontend, test suite, or demo that depends on multiple APIs, either on a local port or at a deployed URL.
Why use it?
It tests configuration, timeouts, request handling, and error paths without needing service credentials or causing real side effects. The simulation also records which dependencies the code called.

Skill for Claude CodeCodex

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

Good fit Use it for a service, frontend, test suite, or demo that depends on multiple APIs, either on a local port or at a deployed URL.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aryan-jhaveri/mcp-statcan/api-simulation
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-simulation
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-simulation

README.md
[![agentmods](https://agentmods.dev/badge/skills/aryan-jhaveri/mcp-statcan/api-simulation/github.svg)](https://agentmods.dev/skills/aryan-jhaveri/mcp-statcan/api-simulation)
Your own site
<a href="https://agentmods.dev/skills/aryan-jhaveri/mcp-statcan/api-simulation"><img src="https://agentmods.dev/badge/skills/aryan-jhaveri/mcp-statcan/api-simulation/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-simulation

Your own site · 80×15
<a href="https://agentmods.dev/skills/aryan-jhaveri/mcp-statcan/api-simulation"><img src="https://agentmods.dev/badge/skills/aryan-jhaveri/mcp-statcan/api-simulation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 210 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,520 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.00210 $0.02520
Opus 5.5 $0.00084 $0.01008
Sonnet 5.5 $0.00042 $0.00504
Haiku 4.5 $0.00021 $0.00252

Measured today against content hash 271b69bc6183, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

api-simulation 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-simulation/SKILL.md · 189 lines

How it starts

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

API Simulation

A simulation serves several mocks as one environment, each reached by its routeKey: as a path prefix by default, or as an x-mock-slug header when the caller's paths can't change.

Run your code against it rather than stubbing its HTTP client in tests or calling the real services. A stub skips the client, config, timeouts and error handling that will run in production; the real services need credentials and leave side effects. A simulation runs that code over real HTTP, the same way in CI, and its log shows what each dependency was asked.

Do only what the task needs. If a .sim.yaml in postman/simulations/ already covers it, run that one, and read the <name>.context.md beside it first: it holds the commands, the preconditions and the failures earlier runs hit, so reading it costs less than rebuilding any of that from the .sim.yaml and the handlers. One request through the changed path proves a change; build failure variants only when asked how the code fails or when it must survive a failure.

postman simulation needs CLI 1.70.0 or later (postman --version; an older CLI answers postman simulation -h with its general help).

Building it

  • Members are the code's HTTP dependencies. Databases, queues and caches aren't; run them locally. api-discovery can find calls made through shared code; ask about the repo by its git remote name, because a close name matches another repo.
  • Each member needs a mock: see api-mocking, which looks for the owning team's published mock before building one. For a question, one built from the contract will do; one that invents responses can send the caller down a path the real service never would. In a mock you build, answer 501 for calls this path doesn't make: a 404 reads to the caller like a real "not found".
  • Bring in each mock you don't own as a dependency first, then build the simulation over them. postman dependency add mock <name-or-id> declares it in .postman/resources.yaml and materialises it under postman/.dependencies/, and the member's path: points there; -w <workspace> resolves a name from the workspace that owns it.
  • Prefix each mock's pm.state keys with its name. As of CLI 1.73.0, members of a local run read each other's keys, so two mocks storing orders overwrite each other.

Read the full file on GitHub · 189 lines

Files

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.

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 · 189 lines · 210 tokens per session scan A 271b69bc6183

Subscribe to this mod's changes

api-simulation is a skill published in the GitHub repository Aryan-Jhaveri/mcp-statcan (7 stars, last pushed yesterday), licensed MIT. It adds 210 tokens to every session and 2,520 once invoked, about $0.0008 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