/postman:variablesfrom Postman
Guides variable scoping, environment parameterization, and secret management for Postman collections. Helps with API keys, environment-specific configs, and credential vaulting.
Ships in Postman. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Variables let one maintained collection run against different targets without forking its requests. Scope determines which value wins; secret references allow the same files to be shared without sharing credential values.
base_url, in an environment. Parameterize values that actually vary;
a stable literal need not become another configuration choice. Reference
values as {{key}} in URLs, headers, parameters, or bodies.pm.environment or pm.collectionVariables when the scope is intentional;
pm.variables.get reads across scopes, and pm.variables.set holds a local
value for the current run. For transient sensitive values, avoid persisting
them to an environment or logging them.secret: true; type: secret
alone is read as a plain variable and leaves a literal YAML value readable.
collection-schema-v3's environment reference describes the file schema;
command-specific -h supplies supported vault operations.For non-sensitive target configuration:
postman environment new "Staging"
postman environment var set base_url https://staging.example.com \
--environment "postman/environments/Staging.environment.yaml"
For a secret, have the user supply the value through the CLI's masked prompt, not through agent context or a literal command argument:
postman secret create STRIPE_API_KEY --workspace <workspace-id>
postman environment var set api_key --secret-id <secret-id> --vault-id <vault-id> \
--environment "postman/environments/Staging.environment.yaml"
The environment then carries the vault/secret IDs rather than the value. Secret resolution and permission to view the secret are distinct; a teammate's ability to run a request need not expose the credential to them. Vault operations require a signed-in CLI.
Run postman environment lint <path> --fail-severity warning to fail on
warnings as well as errors in the saved environment. Lint checks the artifact;
it does not prove that the session can resolve a vault secret. Verify resolution
with an appropriate authenticated request and a contract-derived assertion,
keeping credentials out of output. An unresolved-reference or authorization
failure needs investigation, not a claim that the secret worked.
Report the selected environment and scope
or reference that supplies the value; a masked display alone does not prove
that the committed file contains no literal secret.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub postmanlabs/postman-plugin --plugin postman20 skills in this plugin
/ai-readinessUse when assessing or improving how well AI agents can discover, call, and recover from errors with an API. Scores an existing Postman collection or OpenAPI spec and turns measured gaps into contract improvements; supports a separate CI readiness threshold. Use for requests such as "is this API ready for agents"./api-discoveryUse when finding an API or owner, integrating a public provider, locating Postman resources, or investigating consumers and change impact across services. Turns discovered contracts and mocks into reusable dependencies and identifies evidence outside the current checkout. Use for requests such as "who consumes this endpoint"./api-documentationUse when defining or improving an API contract, generating documentation from a collection or OpenAPI spec, publishing API docs, or sharing a documentation link. Makes auth, inputs, responses, and examples reusable by callers, tests, and mocks. Use for requests such as "publish API docs".Other plugins' skills for the same job