prompt

prompt is a command for Claude Code from logesh-works/postman-mcp. It costs 0 tokens per session (572 once invoked), scanned A, original, MIT.

A natural-language command for describing API documentation changes in plain English and sending them through a preview-and-confirm workflow.

In plain words
What is it for?
Use it to add error responses or headers, edit endpoint descriptions, add examples, or apply similar documentation changes to selected routes or the whole codebase.
Why use it?
It removes the need to remember separate sync options while keeping a review step before changes are written to a Postman collection.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

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.

agentmods
npx agentmods add commands/logesh-works/postman-mcp/prompt
Clone the repo
git clone --depth 1 https://github.com/logesh-works/postman-mcp

Made for: Claude Code.

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 prompt

README.md
[![agentmods](https://agentmods.dev/badge/commands/logesh-works/postman-mcp/prompt.svg)](https://agentmods.dev/commands/logesh-works/postman-mcp/prompt)
Your own site
<a href="https://agentmods.dev/commands/logesh-works/postman-mcp/prompt"><img src="https://agentmods.dev/badge/commands/logesh-works/postman-mcp/prompt.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 572 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00000 $0.00572
Opus 5 $0.00000 $0.00286
Sonnet 5 $0.00000 $0.00114
Haiku 4.5 $0.00000 $0.00057

Measured 5d ago against content hash 9683d3adcbf1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

prompt 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 5d ago.

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.

docs/commands/prompt.md · 49 lines

How it starts

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

/postman:prompt: natural-language sync

The natural-language front-end to the sync engine. Describe what you want in plain English and Claude figures out what to sync and how, then runs it through the same diff-then-confirm gate as every other command. This replaces the old --prompt flag that used to hang off the individual sync commands.

Usage

/postman:prompt "<what to sync and how, in plain English>"

Examples:

/postman:prompt "add error responses to the payments routes"
/postman:prompt "give every endpoint an X-Request-Id header"
/postman:prompt "sync the login endpoint and rewrite its description as a Stripe-style architect"
/postman:prompt "add the standard 4xx/5xx error set to the whole codebase"

How it works

  1. Claude picks the scope. From the instruction it chooses what to analyze — one route, a file/module/dir, recent changes, or the whole codebase — and the target. If the scope is ambiguous it asks you before doing anything.
  2. Claude folds the "how" directly into what it authors. Concrete asks — extra error responses, headers, an edited description, example values, a persona — go straight into the collection.json/metadata.json Claude writes, cited the same way as any other content. Anything added that isn't backed by a citation (an extra example response, say) is written without one and shows as unverified in the diff, honestly.
  3. Validate, verify, diff, confirm, write. Claude calls sync_files with confirm off first; the MCP server validates the collection, re-verifies every citation, and returns the diff preview. You're asked "Write to Postman? [y/n]"; only on y does it write.

What stays deterministic

The MCP tools have no prompt parameter and run no model. Your instruction is read by Claude, which writes it directly into the collection — there's no separate patch object the server merges. What the server does is fixed regardless of the instruction: validate the collection is well-formed, re-read and re-hash every citation, ground every claimed field against the real code, and diff the result. Route identity, citations, and field grounding come from your code and stay unaffected by what the instruction says. Whatever content the instruction adds shows up in the diff before any write, so the confirm gate fully covers prompt-driven content. See the Prompt & skill layer.

Read the full file on GitHub · 49 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. 5d ago First seen · 49 lines · 0 tokens per session scan A 9683d3adcbf1

Subscribe to this mod's changes

prompt is a command published in the GitHub repository logesh-works/postman-mcp (1 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 572 tokens. 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-08-31.