MockAPI is a zero-config CLI tool that transforms a simple JSON file into a full-featured REST API with CRUD operations, filtering, and pagination.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install mockapi
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 mockapi using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
MockAPI is a powerful utility designed to accelerate the development lifecycle by eliminating the need for a complex backend during the early stages of a project. By leveraging this tool through Openclaw Skills, developers can instantly turn a static JSON file into a live local server that handles HTTP requests just like a production backend. It is an ideal solution for frontend engineers, testers, and prototyper who need reliable, persistent data without the overhead of database management.
The skill provides a standardized way to simulate real-world API behaviors, including simulated network latency and data persistence. When integrated into your workflow using Openclaw Skills, MockAPI ensures that your development environment remains lightweight and highly portable, allowing you to focus on building the user interface while the backend interactions are handled automatically.
To install MockAPI for use with Openclaw Skills, run the following command in your terminal:
npm install -g @lxgicstudios/mockapi
To initialize a sample database file:
npx @lxgicstudios/mockapi --init
To start your local server with file watching enabled:
npx @lxgicstudios/mockapi db.json --watch
MockAPI organizes data based on the structure of your JSON file. Each key in the root object is treated as a collection. This makes it easy for Openclaw Skills to identify available endpoints.
| Level | Component | Description |
|---|---|---|
| Root | Key | The name of the API resource (e.g., /users, /posts). |
| Resource | Array | A list of objects representing individual records. |
| Item | Object | Data entries; must include a unique id for CRUD operations. |
Example db.json structure:
{
"users": [
{ "id": 1, "name": "Alice" }
]
}
_sort), and ordering (_order)._page and _limit parameters to handle large datasets efficiently.--delay flag to test asynchronous UI states.Loading
A high-speed utility to generate realistic mock data from natural language descriptions, TypeScript types, or existing schemas.

An automated utility for generating timestamped SQL migration files directly from ORM schemas like Prisma and Drizzle.

A specialized CLI tool that converts plain English descriptions into production-ready Express middleware code with built-in error handling.

A powerful CLI utility for generating search-optimized HTML meta tags, Open Graph data, and structured JSON-LD schema.

Generate production-ready Prometheus alerting rules and Grafana dashboard JSON configurations using simple natural language descriptions.

Automate the creation of dashboards, alerts, and metrics configurations for any tech stack using AI-driven logic.








































