โ† All skills
Tencent SkillHub ยท Developer Tools

Postman

Build, test, and automate APIs with Postman collections, environments, and Newman CLI.

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Build, test, and automate APIs with Postman collections, environments, and Newman CLI.

โฌ‡ 0 downloads โ˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
SKILL.md, collections.md, memory-template.md, newman.md, setup.md

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 19 sections Open source page

Setup

If ~/postman/ doesn't exist, read setup.md silently and start naturally.

When to Use

User needs to test APIs, create Postman collections, manage environments, or run automated API tests with Newman.

Architecture

Data lives in ~/postman/. See memory-template.md for structure. ~/postman/ โ”œโ”€โ”€ memory.md # Projects, preferences, common patterns โ”œโ”€โ”€ collections/ # Postman collection JSON files โ””โ”€โ”€ environments/ # Environment JSON files

Quick Reference

TopicFileSetupsetup.mdMemory templatememory-template.mdCollection formatcollections.mdNewman automationnewman.md

1. Collection Structure First

Before creating requests, define the collection structure: Folder hierarchy reflects API organization Use descriptive names: Users > Create User, not POST 1 Group related endpoints logically

2. Environment Variables Always

Never hardcode values that change between environments: { "key": "base_url", "value": "https://api.example.com", "enabled": true } Use {{base_url}} in requests. Environments: dev, staging, prod.

3. Pre-request Scripts for Auth

Handle authentication in pre-request scripts, not manually: // Get token and set for collection pm.sendRequest({ url: pm.environment.get("auth_url"), method: 'POST', body: { mode: 'raw', raw: JSON.stringify({...}) } }, (err, res) => { pm.environment.set("token", res.json().access_token); });

4. Test Assertions Required

Every request needs at least basic assertions: pm.test("Status 200", () => pm.response.to.have.status(200)); pm.test("Has data", () => pm.expect(pm.response.json()).to.have.property("data"));

5. Newman for CI/CD

Run collections headlessly with Newman: newman run collection.json -e environment.json --reporters cli,json Exit code 0 = all tests passed. Integrate into CI pipelines.

Minimal Collection

{ "info": { "name": "My API", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "item": [ { "name": "Get Users", "request": { "method": "GET", "url": "{{base_url}}/users", "header": [ { "key": "Authorization", "value": "Bearer {{token}}" } ] } } ] }

With Tests

{ "name": "Create User", "request": { "method": "POST", "url": "{{base_url}}/users", "body": { "mode": "raw", "raw": "{\"name\": \"{{$randomFullName}}\", \"email\": \"{{$randomEmail}}\"}", "options": { "raw": { "language": "json" } } } }, "event": [ { "listen": "test", "script": { "exec": [ "pm.test('Created', () => pm.response.to.have.status(201));", "pm.test('Has ID', () => pm.expect(pm.response.json().id).to.exist);" ] } } ] }

Environment Format

{ "name": "Development", "values": [ { "key": "base_url", "value": "http://localhost:3000", "enabled": true }, { "key": "token", "value": "", "enabled": true } ] }

Newman Commands

TaskCommandBasic runnewman run collection.jsonWith environmentnewman run collection.json -e dev.jsonSpecific foldernewman run collection.json --folder "Users"Iterationsnewman run collection.json -n 10Data filenewman run collection.json -d data.csvHTML reportnewman run collection.json -r htmlextraBail on failnewman run collection.json --bail

Common Traps

Hardcoded URLs โ†’ Tests break between environments. Always use {{base_url}}. No assertions โ†’ Tests "pass" but don't validate anything. Add status + body checks. Secrets in collection โ†’ Credentials leak. Use environment variables, gitignore env files. Sequential dependencies โ†’ Tests fail randomly. Use setNextRequest() explicitly or make tests independent. Missing Content-Type โ†’ POST/PUT fails silently. Always set Content-Type: application/json.

Dynamic Variables

Postman built-in variables for test data: VariableExample Output{{$randomFullName}}"Jane Doe"{{$randomEmail}}"jane@example.com"{{$randomUUID}}"550e8400-e29b-..."{{$timestamp}}1234567890{{$randomInt}}42

OpenAPI to Postman

Import OpenAPI/Swagger specs: Export OpenAPI JSON/YAML In Postman: Import > File > Select spec Collection auto-generated with all endpoints Or via CLI: npx openapi-to-postmanv2 -s openapi.yaml -o collection.json

Security & Privacy

Data that stays local: Collections and environments in ~/postman/ Newman runs locally This skill does NOT: Send collections to external services Store API credentials in memory.md

Related Skills

Install with clawhub install <slug> if user confirms: api โ€” REST API consumption patterns json โ€” JSON manipulation and validation ci-cd โ€” Pipeline automation

Feedback

If useful: clawhub star postman Stay updated: clawhub sync

Category context

Code helpers, APIs, CLIs, browser automation, testing, and developer operations.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
5 Docs
  • SKILL.md Primary doc
  • collections.md Docs
  • memory-template.md Docs
  • newman.md Docs
  • setup.md Docs