A high-performance utility to generate live mock API servers or static JSON fixtures directly from OpenAPI and Swagger specifications.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install api-mock-generator
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install api-mock-generator using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The API Mock Generator is a lightweight, pure Python tool designed to streamline the development lifecycle by decoupling frontend and backend teams. By leveraging existing OpenAPI 3.x or Swagger 2.0 specifications, this tool creates a functional mock environment that simulates real-world API behavior. As a standout entry in the Openclaw Skills library, it offers developers the ability to prototype rapidly without waiting for backend implementation.
The tool is particularly adept at generating contextual fake data. Instead of generic strings, it recognizes property names like email, phone, or uuid to provide realistic responses. Whether you need a live server for local development or static files for CI/CD pipelines, this skill provides a robust solution for API simulation without the need for external dependencies.
To get started with this tool from the Openclaw Skills repository, ensure you have Python 3 installed and follow these steps:
# Start a live mock server on the default port
python3 scripts/generate_mock.py serve api.json
# Generate static JSON mock files for your frontend stubs
python3 scripts/generate_mock.py generate api.json -o mocks/
# Optional: Install YAML support if your spec is in YAML format
pip install pyyaml
The tool uses a sophisticated pattern-matching system to ensure data realism. Below is how the skill organizes and generates metadata:
| Property Pattern | Generated Data Type |
|---|---|
*email* |
Realistic, formatted email address |
*name* |
Context-aware first, last, or full name |
*id*, *uuid* |
RFC-compliant UUID v4 |
*price*, *amount* |
Currency-compatible numerical values |
*image*, *avatar* |
Valid placeholder URLs via picsum.photos |
When generating static files, the tool creates a structured directory where each route is represented by a JSON file, accompanied by a manifest.json for easy routing reference.
--error-rate flag to test client-side failure handling.--delay to mimic real-world network conditions and latency.Loading
A professional architect tool for designing and implementing high-performance API rate limiting strategies including Token Bucket and Sliding Window algorithms.

A specialized tool for auditing and validating PostCSS configurations to ensure optimal CSS processing and build reliability.

An expert analytical skill designed to decode GMC's Professional Grade branding strategy and its dominance in the high-margin North American truck and SUV segments.

A zero-dependency Python tool to validate data integrity and schema compliance for CSV, JSON, and JSONL files.

A reliability management tool that transforms SLO targets into actionable engineering decisions by tracking budget consumption and burn rates.

A comprehensive monitoring tool for tracking website uptime, SSL certificate health, and server response times.








































