An automated tool designed to generate API documentation, architecture diagrams, and README updates directly from source code.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install oc-docgen
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 oc-docgen using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Documentation Generator is a specialized component within the Openclaw Skills library that bridges the gap between source code and technical documentation. It eliminates manual documentation debt by automatically extracting docstrings, function signatures, and structural metadata to create polished API references and README files. By integrating directly into the development workflow, it ensures that as the code evolves, the documentation follows suit without human intervention.
This skill supports multiple programming languages including Python, JavaScript, and TypeScript, offering a unified CLI to manage the entire documentation lifecycle. Whether you need to visualize system architecture via Mermaid diagrams or enforce documentation consistency in a CI/CD pipeline, this tool provides a robust framework for maintaining high-quality technical assets.
To begin using this tool from the Openclaw Skills collection, navigate to the skill directory and use the following commands:
# Generate API documentation for your source folder
python3 scripts/main.py api --source src/ --output docs/api.md
# Update the Table of Contents in your README
python3 scripts/main.py readme --update-toc
# Check if documentation is out of sync with code
python3 scripts/main.py check
The skill manages documentation through a central configuration file and structured output paths:
| Component | Format | Description |
|---|---|---|
| .doc-gen.json | JSON | Configuration for source/output directories, exclusions, and formatting options. |
| API Reference | Markdown | Documentation generated from docstrings including args, returns, and examples. |
| Architecture | Mermaid/DOT | Visual representations of system modules and dependencies. |
| Sync Metadata | Timestamp | Comparison data used to identify documentation rot. |
Loading
An AI agent skill designed to fetch real-time Chinese A-share market data and perform automated technical analysis.

A specialized tool for generating professional AI comic panels, manga frames, and graphic novel illustrations directly from text descriptions.

An automated utility for converting multi-format documents into Markdown files optimized for Obsidian knowledge bases.

A high-efficiency skill designed to automate the initial registration and credential polling for Feishu robots within the AI agent ecosystem.

A low-pressure social rhythm agent that syncs matching progress and pending replies using the AILove API.

Integrates Tabbit with agent-browser by dynamically discovering CDP endpoints for seamless browser automation.








































