pmctl for Openclaw

A command-line interface for Postman that enables seamless API discovery, request inspection, and environment variable resolution without leaving the terminal.

wbingli
v1.0.0
Feb 21, 2026
0
1.5k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install pmctl

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install pmctl using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is pmctl?

pmctl is a dedicated CLI tool designed to bridge the gap between the Postman GUI and the terminal. By integrating this tool into your Openclaw Skills, you can browse collections, inspect request details like headers and body params, and resolve environment variables to their real values. It is particularly useful for developers who prefer terminal workflows or need to script API interactions using Postman data as a source of truth. It provides a lightweight way to understand APIs and construct commands without the overhead of a heavy desktop application.

pmctl Use Cases

  • Discover API endpoints across multiple workspaces and collections using terminal commands.
  • Resolve environment variables like {{base-url}} to actual production or staging URLs for testing.
  • Construct curl commands by extracting request details directly from Postman metadata.
  • Script API workflows by piping JSON output from collections into other command-line utilities.
  • Inspect request headers, query parameters, and body structures for rapid debugging.

How pmctl Works

  1. Authentication: Connect to your Postman account using a secure API key stored in a local profile within the tool.
  2. Workspace Selection: Set a default workspace to scope your searches and listing commands for focused discovery.
  3. Data Fetching: Retrieve live data from the Postman API for collections, environments, and specific requests.
  4. Processing & Resolution: Use fuzzy search to find specific requests or environments and resolve variable placeholders to their unmasked values.
  5. Output Generation: Display data in human-readable tables or machine-readable JSON for further processing by other Openclaw Skills.

pmctl Setup

To get started with this entry in the Openclaw Skills directory, install the package via pip:

pip install pmctl

Then, configure your Postman API key and set a workspace:

# Add a profile with your Postman API key
pmctl profile add my-profile --api-key "PMAK-..." --default

# Set your active workspace
pmctl profile set-workspace <workspace-id>

# Verify your identity and connection
pmctl profile whoami

pmctl Data Schema & Taxonomy

The pmctl skill interacts with the Postman API schema, organizing data into four main entities. Using this within Openclaw Skills ensures structured access to the following data points:

Entity Attributes Provided
Collections Name, UID, Request Tree, Path, and Folder structure
Requests HTTP Method, URL, Headers, Body, Query Params, and Path Variables
Environments Name, UID, Variable Keys, and Unmasked Values
Workspaces Name, UID, and Type (Personal or Team)

pmctl Advanced Features

  • Multi-profile management to handle separate personal and professional Postman accounts seamlessly.
  • Fuzzy matching for request searching, allowing for quick discovery with partial strings (e.g., 'getUser' via 'gu').
  • Global --json flag support for all commands to facilitate integration with jq and external automation scripts.
  • Support for unmasked secret retrieval from environments, which is critical for CI/CD and terminal-based testing.
  • Deep inspection of nested collection folders to visualize full API hierarchies in a tree view.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*