A CLI utility that uses AI to generate realistic, context-aware mock data directly from your TypeScript interfaces.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install ai-mock-data
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 ai-mock-data using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Mock Data Generator is a specialized tool within the Openclaw Skills ecosystem designed to accelerate development and testing workflows. By analyzing your existing TypeScript interfaces, it leverages AI to understand the semantic meaning of your fields—distinguishing between an email, a phone number, or a currency value—and generates high-fidelity fake data accordingly. This eliminates the need for manually creating tedious JSON fixtures and ensures your development environment remains populated with data that reflects real-world scenarios.
To integrate this tool into your Openclaw Skills workflow, ensure you have Node.js 18+ installed and an OpenAI API key available.
# Set your environment variable
export OPENAI_API_KEY='your_api_key_here'
# Generate data from a specific type file
npx ai-mock-data ./src/types/User.ts --count 10 --out ./mocks/users.json
Mock Data Generator adapts to your unique data structures. It maps TypeScript properties to JSON values as follows:
| Property Type | Mock Data Strategy |
|---|---|
| string (e.g., email) | Generates valid, realistic email addresses |
| string (e.g., address) | Generates full physical addresses |
| number (e.g., price) | Generates currency-appropriate decimal values |
| Date | Generates ISO-compliant date strings |
| Array | Generates lists of data following the same semantic rules |
Loading
An intelligent AI-powered tool that semantically analyzes and resolves git merge conflicts by understanding code intent rather than just text differences.

Transform simple product descriptions into production-ready, conversion-optimized React and Tailwind landing pages instantly.

An AI-powered command-line utility that translates dense, technical code into plain English explanations.

Automate the creation of robust Playwright and Cypress end-to-end tests from simple natural language flow descriptions.

An automated generator for Role-Based Access Control (RBAC) systems using natural language descriptions.

Automatically generate professional, structured Pull Request descriptions by analyzing your git branch changes.








































