← Back to Skills Marketplace
sky-lv

Skylv Mock Server Generator

by SKY-lv · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
51
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install skylv-mock-server-generator
Description
Generate mock HTTP servers with custom endpoints, dynamic fake data, delay and error simulation, and OpenAPI import for API testing and development.
README (SKILL.md)

mock-server-generator

Create mock HTTP servers for API testing and development. Generate fake data, define endpoints, and simulate responses without a real backend.

Overview

A skill that helps developers create mock APIs quickly for testing frontend applications, prototyping, or decoupling microservices development.

Features

  • Quick Server Creation: Generate a mock server with a single command
  • Custom Endpoints: Define custom routes, methods, and response bodies
  • Dynamic Responses: Use templates to generate realistic fake data
  • Delay Simulation: Add latency to simulate real network conditions
  • Error Simulation: Easily simulate 4xx/5xx error responses
  • Data Persistence: Store and retrieve mock data across requests
  • OpenAPI Import: Generate mocks from OpenAPI/Swagger specifications

Commands

Start a Basic Mock Server

start mock server on port 3000

Define Custom Endpoints

add GET /api/users returning [{"id": 1, "name": "John"}]
add POST /api/posts with delay 500ms

Import from OpenAPI

generate mock from https://api.example.com/openapi.json

Use Cases

  • Frontend development without a backend
  • API testing and test data generation
  • Prototyping and demo environments
  • CI/CD pipeline testing
  • Microservice decoupling

Requirements

  • Node.js 18+
  • Optional: Docker for containerized deployment
Usage Guidance
This appears safe as an instruction-only development helper. Before using it, decide where the server will run, keep it limited to localhost/test environments, import OpenAPI specs only from trusted sources, and avoid putting real secrets or personal data into persisted mock responses.
Capability Analysis
Type: OpenClaw Skill Name: skylv-mock-server-generator Version: 1.0.0 The skill bundle contains only metadata and documentation for a mock server generator tool. The features described in SKILL.md, such as defining endpoints and importing OpenAPI specifications from a URL, are standard for API development tools and show no signs of malicious intent or prompt injection.
Capability Assessment
Purpose & Capability
The described capabilities—mock HTTP servers, custom endpoints, fake data, delays, error simulation, and OpenAPI import—fit the stated API testing and development purpose.
Instruction Scope
The SKILL.md contains user-facing examples and does not show prompt overrides, hidden instructions, or autonomous high-impact actions.
Install Mechanism
The skill is instruction-only with no install spec, while the documentation mentions Node.js and optional Docker. This is not suspicious by itself, but setup details are left to the user or agent.
Credentials
Starting a local mock server and importing an OpenAPI URL are expected for the purpose, but users should bind servers locally and use trusted test specifications.
Persistence & Privilege
Data persistence across requests is disclosed and purpose-aligned. No credentials, privileged paths, or account access are requested.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install skylv-mock-server-generator
  3. After installation, invoke the skill by name or use /skylv-mock-server-generator
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of mock-server-generator skill. - Quickly create mock HTTP servers for API testing and development. - Define custom endpoints, methods, and response templates with fake data. - Simulate delays and error responses for testing real-world scenarios. - Persist mock data across requests for realistic interactions. - Import OpenAPI/Swagger specs to auto-generate mock servers. - Supports command-based configuration for rapid setup.
Metadata
Slug skylv-mock-server-generator
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is Skylv Mock Server Generator?

Generate mock HTTP servers with custom endpoints, dynamic fake data, delay and error simulation, and OpenAPI import for API testing and development. It is an AI Agent Skill for Claude Code / OpenClaw, with 51 downloads so far.

How do I install Skylv Mock Server Generator?

Run "/install skylv-mock-server-generator" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Skylv Mock Server Generator free?

Yes, Skylv Mock Server Generator is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Skylv Mock Server Generator support?

Skylv Mock Server Generator is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Skylv Mock Server Generator?

It is built and maintained by SKY-lv (@sky-lv); the current version is v1.0.0.

💬 Comments