Automatically transform diagram code blocks into inline Base64 images within Markdown files.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install markdown-diagram-renderer
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 markdown-diagram-renderer using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Markdown Diagram Renderer is a sophisticated utility designed to bridge the gap between text-based diagramming and visual documentation. By leveraging Openclaw Skills, this tool scans Markdown documents for Mermaid, Graphviz, or PlantUML syntax and replaces them with rendered images. It ensures that your technical documentation remains highly readable and portable by embedding images directly as Base64 strings.
This skill is built for developers who prioritize version control and document portability. It intelligently identifies diagram types even without explicit language tags, using keyword density and structural analysis. Whether you are working on complex architecture headers or simple flowcharts, this tool within the Openclaw Skills ecosystem provides a seamless bridge from code to visualization.
To begin using this tool within your Openclaw Skills workflow, first install the required Python dependencies:
pip install -r script/requirements.txt
For enhanced privacy and local Mermaid rendering, install the mermaid-cli:
npm install -g @mermaid-js/mermaid-cli
If you require Graphviz support, install the binary for your operating system:
# macOS
brew install graphviz
# Linux
sudo apt-get install graphviz
For PlantUML, ensure Java is installed and set the jar path in your environment variables:
export PLANTUML_JAR=/path/to/plantuml.jar
The Markdown Diagram Renderer organizes its processing logic and output as follows:
| Feature | Specification |
|---|---|
| Input Formats | Markdown (.md) containing Mermaid, Graphviz (dot/gv), or PlantUML (puml) blocks. |
| Output Formats | PNG or SVG rendered as Base64 strings. |
| Metadata Storage | Original source code is preserved within HTML comments <!-- ... --> directly below the image. |
| Identification Logic | Multi-stage: Tag Check -> Keyword Matching -> Density Analysis -> Structural Analysis. |
| Configuration | Controlled via CLI flags or a Python dictionary for module integration. |
Loading
A specialized automation tool for extracting metadata and summarizing public course and column content from the Dedao (iGetGet) platform.

A high-fidelity Markdown to Word (.docx) converter featuring a two-stage processing engine for superior formatting and Chinese font support.

A high-performance video generation tool that converts static images into dynamic, professional-grade videos via the Keevx API.

A comprehensive library of 139 proven marketing strategies and growth tactics tailored for SaaS and software products.

An advanced AI-powered coding assistant designed to accelerate software development through automated code generation, debugging, and testing.

A professional-grade document and text translation skill that integrates the Xdoc API for high-fidelity multilingual processing.








































