Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

api-simulation

Skill by postmanlabs

API Simulation runs services, frontends, tests or demos against stand-ins for their HTTP dependencies. It serves several mocks as one environment locally or at a deployed URL, for developers changing code that calls other services.

  • Score 55
  • 42 stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install api-simulation

Built from the published package, never by AI.

git clone --depth 1 https://github.com/postmanlabs/postman-plugin /tmp/postman-plugin && mkdir -p ~/.claude/skills && cp -r /tmp/postman-plugin/skills/api-simulation ~/.claude/skills/api-simulation

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install api-simulation in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

API Simulation is an agent skill for running services, frontends, tests or demos against stand-ins for their HTTP dependencies. A simulation serves several mocks as one environment, either behind a proxy that answers for the dependencies' own hostnames or on one local port where each member is reached by its routeKey. It uses the postman simulation command, which needs CLI 1.70.0 or later.

The skill helps reproduce upstream failures such as timeouts, 5xx, 409 and 429 responses, and check what happens to a request or its data when a called service goes down or is slow. It reads the simulation log to confirm the dependency path ran, and keeps a context document of assumptions, evidence and open questions. It is for developers who change code that calls other services, including in CI.

Written from the project's SKILL.md and checked against it.

What it can do

  • Build a simulationCreates a simulation whose members are the code's HTTP dependencies, each backed by a mock.
  • Run behind a proxyRuns the simulation so the code under test keeps the base URLs it ships with.
  • Run on one portPuts every member on one local port, each addressable by its routeKey.
  • Inject failuresSimulates unreachable, hanging, JSON error and HTML error dependencies to observe caller outcomes.
  • Read the simulation logUses the ndjson request log to confirm which dependency calls the code made.
  • Maintain context documentRecords assumptions, their evidence and unresolved questions in a context YAML file beside the simulation.

What you need

  • Postman CLI 1.70.0 or later
  • A signed-in Postman CLI to pull a mock owner's published mock
  • POSTMAN_API_KEY for postman dependency install in CI

Try asking

  • Run my checkout service against simulated payment and email dependencies.
  • What happens to a booking if the email service is down?
  • Reproduce a 429 from the inventory API and check how my client handles it.

Good to know

  • Databases, queues and caches are not members and must run locally.
  • A running simulation does not reload after a mock edit; restart it.
  • simulation deploy is public by default unless --private is used.
  • Do not commit sim.ndjson, because other headers and bodies are logged as sent.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/api-simulation/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to api-simulation

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

api-simulation: common questions

What is the postman simulation command used for?

It runs a simulation that serves several mocks as one environment, locally or at a deployed URL. The source says it needs CLI 1.70.0 or later.

Does this skill replace api-mocking?

No. The source says that to give a frontend or another team a stand-in for an API, api-mocking should be used instead.

How does the skill test failure handling?

It injects failures such as unreachable or hanging dependencies and observes the caller's outcome, then checks other members' logs for side effects.

How do I install api-simulation?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is api-simulation free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is api-simulation safe to use?

It scores 55 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to api-simulation?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

api-simulation Install

Add to stack

Loading.