
Variables
Guides an agent to parameterize Postman requests across environments and vault secrets
Variables 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 Variables
This skill explains how to keep one reusable Postman collection working against several targets by moving target-specific values such as base URLs into environments and leaving stable literals alone. It covers how variable scopes resolve when the same name exists in more than one place, including iteration data, environments, collection variables and globals, and how to pick between scoped script accessors when chaining response values into later requests.
For credentials, it directs the agent to store secrets in the shared vault and commit only references in the environment file, marking them with the secret flag so they are not read as plain text. Secret values are meant to be entered by the user through the CLI's masked prompt rather than passed through the conversation or a command argument. Commands shown use the Postman CLI for creating environments, setting variables and creating secrets.
Verification is covered too: the skill recommends linting the saved environment at warning severity, then confirming vault resolution with an authenticated request rather than assuming lint results prove it works. Vault operations need a signed-in Postman CLI.
When your agent uses it
Use when parameterizing requests across environments, choosing variable scopes, chaining values in scripts, or referencing credentials without committing or exposing them. Keeps one reusable collection while separating target configuration from secret values. Use for requests such as "where should I put this API key".
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 1 file (4 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/variables:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/postmanlabs/postman-plugin.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/variables &&
cp -R "$tmp/agent-plugin/skills/variables" ~/.claude/skills/variables &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/variables inside it instead.
Copy the skill folder to ~/.agents/skills/variables 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/variables &&
cp -R "$tmp/agent-plugin/skills/variables" ~/.agents/skills/variables &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/variables inside it instead.
Copy the skill folder to ~/.cursor/skills/variables 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/variables &&
cp -R "$tmp/agent-plugin/skills/variables" ~/.cursor/skills/variables &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/variables 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/variablesOr copy the folder to ~/.gemini/skills/variables yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/variables:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/postmanlabs/postman-plugin.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/variables &&
cp -R "$tmp/agent-plugin/skills/variables" ~/.copilot/skills/variables &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/variables inside it instead.
Get the folder:
git clone --depth 1 https://github.com/postmanlabs/postman-plugin.gitThen copy postman-plugin/agent-plugin/skills/variables into your agent's skills folder as variables. Agents that support SKILL.md read one folder per skill.
What it does
- Variable scope selection
- Explains which scope wins when the same key is defined in several places and when to use each scope.
- Environment-based targeting
- Shows how to separate target configuration such as base URLs into environment files.
- Runtime value chaining
- Covers passing values from one response into later requests using scoped script accessors.
- Vault-backed secret references
- Describes storing credentials in the vault and committing only IDs rather than values.
- Environment lint and verification
- Recommends linting saved environments and confirming secret resolution with an authenticated request.
Good for
- Point a collection at staging and production without duplicating requests
- Decide where an API key should live in a Postman environment
- Chain a token from a login response into later requests
- Debug why a variable resolves to an unexpected value
- Store a shared credential in the vault without committing its value
Variables FAQ
What does the skill need to work with secrets?
Vault operations require a signed-in Postman CLI. The user supplies secret values through the CLI's masked prompt.
How is a variable marked as secret?
The skill says the app treats a variable as secret only when it has secret: true; type: secret alone is read as a plain variable.
Does linting prove a secret resolves?
No. The skill states lint checks the saved artifact only, and resolution should be confirmed with an authenticated request.
How do I install Variables in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/variables to use it in all your projects, or to .claude/skills/variables in one project. Or install the postman plugin, which includes it: /plugin marketplace add postmanlabs/postman-plugin, then /plugin install postman@postman.
Does Variables 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 Variables?
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 Variables?
The closest alternatives to Variables are Collection schema v3, Env vars, Workspaces, Postman collection generator and Ci integration.
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

Finds existing API contracts, mocks and consumers so agents reuse them instead of guessing
- 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



