run-collection

A test runner for Postman collections, which are saved groups of API requests and checks. It uses the Postman command-line tool to execute those checks.

In plain words
What is it for?
Running a collection’s API tests, executing an API test suite, and checking whether endpoints still work after code changes.
Why use it?
It avoids running API checks one by one in Postman’s graphical app. It helps confirm that code changes have not broken API behaviour.

Skill for Claude CodeCodex

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 skills/postman-devrel/postman-claude-code-plugin/run-collection
Any agent
npx skills add Postman-Devrel/postman-claude-code-plugin --skill run-collection
Clone the repo
git clone --depth 1 https://github.com/Postman-Devrel/postman-claude-code-plugin

Made for: Claude Code, Codex.

Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,438 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 $0.00037 $0.01438
Opus 5 $0.00018 $0.00719
Sonnet 5 $0.00007 $0.00288
Haiku 4.5 $0.00004 $0.00144

Measured 2d ago against content hash 29cf27f93e0b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

run-collection 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 2d 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.

skills/run-collection/SKILL.md · 209 lines

How it starts

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

You are an API testing assistant that runs Postman collection tests using the Postman CLI.

When to Use This Skill

Trigger this skill when:

  • User asks to "run tests" or "run my collection"
  • User wants to "verify changes" or "check if tests pass"
  • User says "run postman tests" or "execute collection"
  • After code changes that may affect API behavior
  • User wants to validate their API endpoints work correctly

Understanding the Collection Format

Postman collections synced via git use the v3 folder format:

postman/collections/
├── My API Tests/                    # Collection folder (folder name = collection name)
│   ├── .resources/
│   │   └── definition.yaml          # Collection metadata (schemaVersion: "3.0", name)
│   ├── Get Users.request.yaml       # Individual request files
│   ├── Create User.request.yaml
│   └── Auth/                        # Subfolder for grouped requests
│       └── Login.request.yaml

The .postman/resources.yaml file maps local collection folders to their cloud IDs:

cloudResources:
  collections:
    ../postman/collections/My API Tests: 45288920-e06bf878-2400-4d76-b187-d3a9c99d6899

Step 1: Find Collections and Their IDs

  1. List collection folders in postman/collections/:
ls postman/collections/
  1. Read .postman/resources.yaml to get the cloud ID for each collection:
cat .postman/resources.yaml

The cloudResources.collections section maps local paths to collection IDs. Match the collection folder name to get its ID.

If no collections found:

  • Tell user: "No Postman collections found in postman/collections/. Connect your repo to a Postman workspace to sync collections."
  • Stop here

If no ID found in resources.yaml:

  • Tell user the collection exists locally but has no cloud ID mapped — they may need to sync with Postman

If one collection found:

  • Use it directly, tell user which collection you're running

If multiple collections found:

  • List them and ask user which one to run

Read the full file on GitHub · 209 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. 2d ago First seen · 209 lines · 37 tokens per session scan A 29cf27f93e0b

Subscribe to this mod's changes

run-collection is a skill published in the GitHub repository Postman-Devrel/postman-claude-code-plugin (38 stars, last pushed 27d ago), licensed Apache-2.0. It adds 37 tokens to every session and 1,438 once invoked, about $0.0002 per session on Opus 5. 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-30.

Related

Other skills, from other repositories

postman

Full API lifecycle management through Postman. Sync OpenAPI specs to collections, generate typed client code, run API tests, create mock servers, publish documentation, audit security against OWASP Top 10, and discover APIs across workspaces. Requires the Postman MCP Server. Use this skill when the user mentions…

Postman-Devrel/agent-skills · 111 tokens

postman-api-readiness

Analyze any API for AI agent compatibility. Scans OpenAPI specs across 8 pillars (48 checks), scores agent-readiness 0-100, and provides prioritized fix recommendations. Use this skill when the user asks: "Is my API agent-ready?", "Scan my API", "Analyze my OpenAPI spec", "What's wrong with my API for AI agents?"…

Postman-Devrel/agent-skills · 108 tokens

taiyi-ui-design

TaiyiForge 第 4 阶段 — UI/UX 契约,产出 UI-DESIGN.md。四端通用。.

Dong90/oh-my-taiyiforge · 35 tokens

taiyi-evolve

TaiyiForge 辅助 — 实现后架构与文档同步(architecture-sync)。OpenCode / Claude / Codex / Cursor 通用。.

Dong90/oh-my-taiyiforge · 37 tokens

clarify

This skill should be used when user appears confused, frustrated, or shows misalignment between expectations and reality. Triggers on phrases like "I don't understand", "this doesn't make sense", "confused", "wait, shouldn't it...", "why is this happening", "I thought X did Y", contradictory statements, or frustration…

umputun/cc-thingz · 91 tokens

dialectic

Prove and counter-prove a statement using parallel agents to eliminate confirmation bias. Use when someone says "dialectic", "prove/disprove", "stress test this claim", "is this really true", "argue both sides", or when a statement needs objective analysis from opposing viewpoints.

umputun/cc-thingz · 63 tokens