api-discovery
Skill42 starsChanged 2 months agoApache-2.0Archived repositoryView on GitHub
Finds what APIs, collections, specs, or requests already exist before building something new, and answers questions about how they relate. Use when the user asks "does an API for X already exist," "what depends on this service," "what does this API do," or before scaffolding anything that might already have a Postman equivalent. Covers `postman search`, `postman context-graph`, and `postman context instructions discovery`. Reach for `search` when you know roughly what you're looking for by name; reach for the Context Graph when the question is about relationships, not names.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- jopaaa07/imperium-braintheir own version, first seen Nov 22, 2026
- mahumadad/quarrytheir own version, first seen Nov 8, 2026
- AxlZero21/Skillstheir own version, first seen Nov 8, 2026
- ethanhammett0/siemens_openbbtheir own version, first seen Apr 16, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- jopaaa07/imperium-brain★ 9same name
- AxlZero21/Skills★ 1same name
- ethanhammett0/siemens_openbb★ 1same name
- mahumadad/quarry★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository13 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- ai-readinessSkill
- api-documentationSkill
- api-engineerSkill
- api-mockingSkill
- api-monitoringSkill
- api-testingSkill
- bootstrapSkill
- ci-integrationSkill
- collection-schema-v3Skill
- flowsSkill
- performance-testingSkill
- postman-mcp-serverSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 30
Default --ownership organization only searches inside your org — pass external or all before concluding "no API for this exists," since a …
- Distinctive: line 78
Verify it against a concrete source before treating it as fact, especially for anything the user will act on.
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
API Discovery
Overview
Two unconnected datasets, so pick by data source, not question shape:
search/context→ Postman-authored artifacts someone saved in Postman (collections, requests, specs, mocks, workspaces). Matches text; doesn't reason. "Does something named/shaped like X exist?"context-graph ask→ a separately-populated engineering service graph (built from repo/traffic scanning, not Postman content) — natural-language Q&A over discovered services and the dependency edges between them. "What depends on billing-api?" — architecture questionssearchstructurally can't answer, since there's no keyword for a dependency edge.
A miss in one says nothing about the other (see Critical Rule 1) — never
fall back to the Context Graph just because a search came back empty, or
vice versa.
search
search <type> <query> where type is requests, collections,
workspaces, flows, specs, mocks, environments, or documents.
Default --ownership organization only searches inside your org — pass
external or all before concluding "no API for this exists," since a
partner or public API published outside the org is invisible at the
default scope. --filter "method=POST AND workspaceId=ws-123" narrows
further; see reference/search_filters.md for
the full filter field and operator syntax per element type.
context-graph
context-graph ask "<question>" --wait is the one to reach for
interactively — it blocks and prints the answer. Without --wait, ask
returns an id immediately and status <askId> checks on it later (exit
code 3 while still running) — useful for a question expected to take a
while, or from a script polling on its own cadence. The query runs against
the team derived from the API key; there's no workspace/team selection.
--max-steps caps how much reasoning the service does per question.
The answer is generated, not retrieved verbatim — verify with a re-ask or narrower query before acting on it for anything consequential (Critical Rule 3), the same way any AI-generated claim gets checked before it drives a decision.
context instructions discovery
Postman ships its own prescribed discovery workflow for AI coding agents —
postman context instructions discovery prints it. Read this before
building a custom discovery flow out of search/context primitives; it's
Postman's own recommended sequence (search/context only, no
context-graph), not a blank slate to reinvent.
After discovery: reusing what was found
dependency add <type> <nameOrId> formally adds a collection, environment,
or mock found in another workspace as a dependency of the current one —
the step after search/context finds something worth reusing (e.g.,
feeding application test's contract matching), rather than copying it in
by hand. It takes a Postman entity ID, so it only follows a search/
context result — a context-graph finding names a service, not an ID;
go find that service's collection via search first.
Critical Rules
context-graphandsearch/contextdon't share a dataset (see Overview) — check an absence against its own source, never the other tool, before reporting it to the user.- An empty default-scope
searchis not proof nothing exists. Retry with--ownership allbefore reporting "no API for this" to the user. - A Context Graph answer is generated reasoning, not a database read. Verify it against a concrete source before treating it as fact, especially for anything the user will act on.
search,context-graph, andcontextare Beta or recently added surfaces. Re-run-hbefore trusting a flag name here if the installed CLI is newer than this file assumes — these are the commands most likely to have changed since this was written.
Verification
State which tool actually answered the question (search vs. Context Graph)
and at what --ownership scope or with what --max-steps/query — a
discovery answer is only as trustworthy as the scope it ran at.
Reference
- Search filter syntax — filter fields and
operators per element type, and
--filter-jsonshape.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

