
API discovery
Finds existing API contracts, mocks and consumers so agents reuse them instead of guessing
API discovery is an open-source agent skill for developer tools. It is available on Claude Code.
- Scripts
- None
- Platforms
- Claude Code
- GitHub stars
- 49
- Last commit
- License
- Apache-2.0
- Listing updated
Similar skills
About API discovery
This skill guides an agent through locating an API or its owner before writing integration code. It separates three sources: Orbit search for public provider endpoints and integration steps, Postman resource search for collections, specs, mocks and workspaces, and the Postman Context Graph for consumers, ownership and likely change impact across services. The agent is told to check sign-in status before using Postman-backed commands and to report any sources it had to skip.
The workflow covers choosing the right source for the question, verifying graph leads against definitions, source code or telemetry, and handling dependencies. Discovered collections, environments and mocks are declared in a resources file and downloaded into a dependencies folder, with install and update commands for CI and refreshes. The skill also advises against rebinding the repository's workspace and warns that editing downloaded dependencies is overwritten on update.
The skill expects the Postman CLI, signed-in credentials for Postman and Context Graph queries, and an Orbit request for public APIs. Provider credentials are not supplied by Orbit and must be obtained separately. It points to companion skills for running mocks against a real service and keeping contract checks in pull requests.
When your agent uses it
Use when finding an API, its owner or its consumers, integrating a public provider, locating existing Postman resources, or before changing or removing an HTTP endpoint or field that other services may call, whether you own it or call it. Searching the checked-out repositories misses callers and contracts outside them; this asks organization-wide dependency context and published contracts, and adds the contracts and mocks it finds as dependencies the repository keeps for the next session and CI. Use for requests such as "who consumes this endpoint".
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 2 files (9 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the postman plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add postmanlabs/postman-plugin
/plugin install postman@postmanOr copy only this skill to ~/.claude/skills/api-discovery:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/postmanlabs/postman-plugin.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/api-discovery &&
cp -R "$tmp/agent-plugin/skills/api-discovery" ~/.claude/skills/api-discovery &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/api-discovery inside it instead.
Copy the skill folder to ~/.agents/skills/api-discovery to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/postmanlabs/postman-plugin.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/api-discovery &&
cp -R "$tmp/agent-plugin/skills/api-discovery" ~/.agents/skills/api-discovery &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/api-discovery inside it instead.
Copy the skill folder to ~/.cursor/skills/api-discovery to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/postmanlabs/postman-plugin.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/api-discovery &&
cp -R "$tmp/agent-plugin/skills/api-discovery" ~/.cursor/skills/api-discovery &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/api-discovery inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/postmanlabs/postman-plugin.git --path agent-plugin/skills/api-discoveryOr copy the folder to ~/.gemini/skills/api-discovery yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/api-discovery:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/postmanlabs/postman-plugin.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/api-discovery &&
cp -R "$tmp/agent-plugin/skills/api-discovery" ~/.copilot/skills/api-discovery &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/api-discovery inside it instead.
Get the folder:
git clone --depth 1 https://github.com/postmanlabs/postman-plugin.gitThen copy postman-plugin/agent-plugin/skills/api-discovery into your agent's skills folder as api-discovery. Agents that support SKILL.md read one folder per skill.
What it does
- Public API discovery
- Searches Orbit for task-relevant provider endpoints and returns auth, base URL and integration steps.
- Postman resource search
- Finds collections, requests, specs, mocks, datasets and workspaces by type, owner and scope.
- Consumer and impact analysis
- Queries the Context Graph to trace which services call an endpoint or schema and what a change could affect.
- Dependency management
- Declares discovered resources in a resources file and downloads them, with install and update commands.
- Verification reporting
- Requires noting which source answered, the resource IDs found, and any coverage gaps.
Good for
- Find a public API for a task and get its integration steps
- Find the Postman collection or mock owned by a given team
- Ask who consumes a specific endpoint before changing it
- Download a shared mock as a project dependency for tests
- Check which downstream services a schema change could break
API discovery FAQ
What does API discovery need before running Postman searches?
A signed-in Postman CLI. The skill says to check postman status first and to sign in if it reports signed out; if signing in isn't possible, those commands are skipped.
Where are downloaded dependencies stored?
Declarations live in .postman/resources.yaml and downloads go into postman/.dependencies/. Updating dependencies overwrites downloaded edits, so copy a dependency into owned files to customize it.
Does Orbit provide API keys for providers?
No. The skill states that Orbit access does not supply a provider's credentials.
Is a Context Graph result proof of impact?
Not on its own. The skill says to verify consequential leads against definitions, source or telemetry, since coverage depends on connected sources.
How do I install API discovery in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/api-discovery to use it in all your projects, or to .claude/skills/api-discovery in one project. Or install the postman plugin, which includes it: /plugin marketplace add postmanlabs/postman-plugin, then /plugin install postman@postman.
Does API discovery run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use API discovery?
Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.
What are the best alternatives to API discovery?
The closest alternatives to API discovery are API mocking, API engineer, API testing, API documentation and Workspaces.
Where this comes from
- Description: from the skill's own SKILL.md.
More from postmanlabs/postman-plugin

Guides an agent through wiring a new vendor plugin route into the Postman plugin repo
- Open source
- 49 GitHub stars
- Developer tools

Walks an agent through cutting and publishing npm releases of the Postman plugin installer
- Open source
- 49 GitHub stars
- Developer tools

Scores how well an API contract lets AI agents discover, call and recover from errors
- Open source
- 49 GitHub stars
- Developer tools

Keeps API contracts, examples and published docs accurate for callers, tests and mocks
- Open source
- 49 GitHub stars
- Developer tools

Guides an agent through multi-step HTTP API work using Postman skills and shared contracts
- Open source
- 49 GitHub stars
- Legal and government

Finds, builds or pulls a stand-in API for frontends, clients and tests
- Open source
- 49 GitHub stars
- Developer tools

