📦 api-mock-generator — 快速Mock接口

v1.0.0

基于 OpenAPI 3.x 与 Swagger 2.0 规范,一键生成本地可运行的 Mock API 服务器,供前端开发、自动化测试、演示及 CI 流程使用,无需后端即可并行开发。

0· 87·0 当前·0 累计
下载技能包
最后更新
2026/4/11
0
安全扫描
VirusTotal
无害
查看报告
OpenClaw
安全
high confidence
NULL
评估建议
This appears to be a straightforward local mock-server generator. Before running: (1) review the script if you plan to run it on a shared or production host; it binds to a host/port and will serve generated responses. (2) If you use YAML specs, installing PyYAML (pip install pyyaml) is required — installing packages pulls code from PyPI, so do that in a controlled environment if concerned. (3) The responses may contain external image URLs (picsum.photos) which cause clients to make outbound requ...
详细分析 ▾
用途与能力
Name/description match the included Python script and SKILL.md. The code implements OpenAPI/Swagger parsing and mock data generation; no unrelated services, cloud APIs, or credentials are requested.
指令范围
Runtime instructions are limited to running the included Python script (serve/generate/routes/sample) against a local spec file. The instructions do not ask the agent to read unrelated system files, environment variables, or transmit data to external endpoints. Note: YAML support requires PyYAML if you provide YAML specs (the script warns and exits if not installed).
安装机制
No install spec is provided (instruction-only). The bundle contains the runnable Python script only; nothing is downloaded or extracted during install.
凭证需求
The skill declares no environment variables, credentials, or config paths. The script does not reference external secrets or request unrelated tokens.
持久化与权限
always is false and the skill does not request persistent/privileged presence or modify other skills or system-wide settings. It runs as a normal user-space script (binds to host/port when serving).
安全有层次,运行前请审查代码。

运行时依赖

无特殊依赖

版本

latestv1.0.02026/4/11

NULL

无害

安装命令

点击复制
官方npx clawhub@latest install api-mock-generator
镜像加速npx clawhub@latest install api-mock-generator --registry https://cn.longxiaskill.com
数据来源ClawHub ↗ · 中文优化:龙虾技能库