A high-performance API test case designer that blends automated script extraction with AI semantic reasoning to achieve 100% constraint coverage.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install api-case-gen
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 api-case-gen using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The API Case Generator is a sophisticated tool designed for Openclaw Skills that transforms OpenAPI and Swagger specifications into actionable test matrices. By utilizing a hybrid approach—where scripts handle the heavy lifting of structured schema parsing and regular expression extraction, while AI agents interpret complex natural language descriptions—it ensures that no semantic constraint is overlooked. This skill is essential for developers and QA engineers looking to automate the creation of P0 to P2 test cases, including normal flows, boundary conditions, and complex parameter interdependencies.
Built to handle professional-grade API repositories, the tool supports multi-file resolution and deep recursive model expansion. It provides a standardized way to bridge the gap between static documentation and executable test design, making it a cornerstone of the Openclaw Skills ecosystem for quality assurance and API lifecycle management.
To get started with this component of Openclaw Skills, ensure you have the necessary environment and dependencies:
# Ensure Python 3 and PyYAML are installed
pip install "pyyaml>=6.0"
# Run the analyzer on a specific service file
python3 api_case_gen.py analyze -s ./path/to/service.yaml -o ./output/cases
# Analyze an entire product directory to generate a full suite
python3 api_case_gen.py analyze-all -d ./v1/api/ -o ./output/cases
# Generate a coverage report to verify test design depth
python3 api_case_gen.py coverage -d ./v1/api/
The skill organizes extracted data and generated cases into a clear taxonomy within the Openclaw Skills framework:
| Data Component | Format | Description |
|---|---|---|
| Service Matrix | Markdown | A table-based view of endpoints, operations, and priority-ranked cases. |
| Test Config | YAML | Executable test definitions including request bodies and response assertions. |
| CRUD Chains | Table | A sequence mapping the lifecycle from Create to Delete for specific resources. |
| Fallback Report | Text/JSON | A list of fields requiring AI semantic review to ensure 100% coverage. |
| Coverage Stats | Summary | Quantitative analysis of schema-based vs. AI-supplemented constraints. |
Loading
An AI agent skill for Feishu that enables expressive emoji reactions, sentiment understanding, and autonomous learning of communication nuances.

A professional Python-based statistical engine for calculating sample size and power in complex research designs including survival analysis and clustered trials.

An automated tool for fetching Weibo hot searches and generating structured, categorized daily trend reports.

A high-precision data analysis skill designed for automated DNA sequencing quality assessment and variant confirmation.

An intelligent content transformation tool that condenses raw reading notes into high-density knowledge modules formatted for MkDocs Material.

A specialized tool for generating ISO 15189 and GCP-compliant Standard Operating Procedures for laboratory and clinical environments.








































