A lightweight Python-based utility to instantly generate mock RESTful APIs for local development and integration testing.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install mock-api-skill
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 mock-api-skill using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Mock API Skill is a powerful tool designed to streamline the development lifecycle by allowing developers to simulate fully functional RESTful APIs. It eliminates dependencies on backend availability by providing a highly configurable environment for generating JSON responses across various HTTP methods including GET, POST, PUT, and DELETE.
Integrating this skill into your workflow through Openclaw Skills allows you to define complex API behaviors, including path parameters, query strings, and simulated network latency. Whether you are building a frontend application or testing agent-to-agent communication, this skill provides the necessary endpoints to ensure your logic is sound without waiting for a production backend.
To get started with the Mock API Skill, ensure you have Python installed. Use the following commands to run the server:
# Start on the default port (3000)
python mock_api.py
# Run on a custom port
python mock_api.py --port 8080
# Load a specific configuration file
python mock_api.py --config my_api.json
You can find more integration patterns in the Openclaw Skills documentation.
The skill uses a structured JSON configuration file to define endpoints.
| Property | Type | Description |
|---|---|---|
port |
Integer | The local port the server listens on. |
path |
String | The endpoint URL, supporting variables like :id. |
method |
String | HTTP method (GET, POST, etc.). |
response |
Object | The JSON data returned by the API. |
status |
Integer | HTTP status code (e.g., 200, 404). |
delay |
Integer | Simulated response time in milliseconds. |
Loading
A high-performance interface for managing automated trading operations and market data retrieval through the OpenAlgo API.

A specialized wisdom engine that provides actionable insights and classical teachings from Laozi, Confucius, and Buddha.

Automatically syncs Löwenstein Medical CPAP therapy data from the PrismaAPP API into structured Obsidian daily notes.

A privacy-centric web search tool for AI agents that aggregates results from multiple engines via SearxNG without requiring third-party API keys.

A specialized AI skill for engineering bilingual email translation workflows that handle subject normalization, body formatting, and history summarization.

A powerful communication skill for Openclaw that enables AI agents to send automated WeChat messages including text, images, and files.








































