A developer-centric tool that generates consistent API documentation from code comments and type hints.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install api-doc-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-doc-gen using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
API Doc Gen is an essential utility for modern developers who want to maintain high-quality documentation without the manual overhead. By integrating Openclaw Skills into your workflow, you can automatically extract API definitions from framework-specific code like FastAPI, Flask, or Django DRF. This tool solves the problem of documentation lag, ensuring that your API specifications are always an accurate reflection of your actual codebase while maintaining a professional and standardized style across all your projects.
To begin using this tool within your development environment, follow these steps:
# Install the necessary requirements
pip install -r requirements.txt
# Analyze a FastAPI project and output Markdown
api-doc-gen analyze main.py --framework fastapi --format markdown
# Generate a Postman collection for an Express.js project
api-doc-gen analyze routes.js --framework express --format postman
# Batch process a directory of API files
api-doc-gen batch ./api/ --framework fastapi --format openapi -o docs/
The tool organizes API data into a structured schema to ensure consistency across different output formats:
| Data Type | Inference Source | Output Mapping |
|---|---|---|
| Parameter Types | Python Type Hints / JSDoc | string, integer, number, boolean, array, object |
| Requirement Status | Default Values | Required by default, optional if default exists |
| Endpoint Metadata | Framework Decorators | Path, HTTP Method, and Description |
| Response Models | Predefined Templates | Standardized Code, Data, and Message fields |
| Validation Formats | Comment Keywords | email, phone, url, date, datetime |
Loading
Deslop is an advanced writing refinement tool that removes AI patterns and injects human rhythm into your documents.

A persistent wiki system for AI agents to organize raw materials into an interlinked knowledge base compatible with Obsidian.

An advanced tool for AI agents to retrieve professional-grade Solana on-chain data including accounts, tokens, NFTs, and DeFi activities.

A professional-grade documentation agent that transforms technical projects into high-conversion open-source repositories through the cognitive funnel design.

A bidirectional conversion tool for Chinese imperial reign years and CE/BCE dates spanning nearly 3,000 years of history.

A professional video generation tool that automates dual-speaker podcast audio creation and seamless video looping for high-quality content production.








































