Home › Skills › code-to-diagram
Developer Tools

code-to-diagram skill for OpenClaw

⬇ 2K downloads ★ 1 stars Version 3.0.0 Rank #7947 of 10,000+

What this skill does

分析源代码逻辑,生成 Mermaid 流程图或 SVG 架构图并渲染为 PNG 图片。官方 mermaid 渲染(与 Markdown 预览一致),支持 16 种主题、5 种视觉风格、语义图形体系和 40+ 产品图标。

The code-to-diagram skill is part of the Developer Tools category — developer tools that help your agent write, review, debug, and ship code. You can install it on its own or alongside other developer tools skills from the OpenClaw catalog.

The code-to-diagram skill is ranked #7947 by downloads in the OpenClaw skill catalog (2K total downloads, 1 stars). It belongs to the Developer Tools category alongside 3540 other top-10000 skills.

How to install the code-to-diagram skill

The easiest path is via the OpenClaw Easy desktop app — one click, no terminal required:

  1. Download OpenClaw Easy for macOS or Windows (free, one-click installer, ~30 seconds).
  2. Open the in-app Skills panel.
  3. Search for code-to-diagram and click Install.
  4. The skill activates automatically when an incoming message matches its description.

Install from the command line

If you already run the OpenClaw CLI, add the code-to-diagram skill with a single command:

openclaw skills add code-to-diagram

This pulls code-to-diagram from ClawHub and installs it into ~/.openclaw/skills/code-to-diagram/. Restart the OpenClaw gateway afterwards so the new skill is discovered.

How to use the code-to-diagram skill

Once installed, the code-to-diagram skill activates on its own: when an incoming message on WhatsApp, Telegram, Slack, Discord, Feishu or Line matches the skill's description, your OpenClaw agent loads it and runs the workflow. You can also trigger it explicitly by describing the task in chat. No extra configuration is required after install.

Turning images into video

code-to-diagram works with images. Getting from there to something postable is a separate job: ViralMint — an open-source video pipeline — turns stills into motion — pans and transitions, synced captions, and a vertical export for short-form feeds.

It runs as an MCP server, so an OpenClaw agent can drive it from the same chat you already use: ask for a short, and the render comes back finished. See how to connect a video pipeline to your agent.

Manual install (advanced)

If you prefer manual installation:

  1. Click the Download skill .zip button above to grab code-to-diagram-3.0.0.zip directly from our S3 mirror.
  2. Unzip into ~/.openclaw/skills/code-to-diagram/ (create the directory if it does not exist).
  3. Restart OpenClaw Easy (or the OpenClaw CLI gateway) so the new skill is discovered.

Frequently asked questions

How do I install code-to-diagram?

Install code-to-diagram in the OpenClaw Easy desktop app by opening the Skills panel, searching for code-to-diagram, and clicking Install. From a terminal you can run: openclaw skills add code-to-diagram. Either way the skill is placed in ~/.openclaw/skills/code-to-diagram/.

Is the code-to-diagram skill free?

Yes. It is free to download and run through ClawHub, with no account or payment required. Each skill is published by its own author under its own licence — see its ClawHub page for the licence and source.

What does code-to-diagram do?

分析源代码逻辑,生成 Mermaid 流程图或 SVG 架构图并渲染为 PNG 图片。官方 mermaid 渲染(与 Markdown 预览一致),支持 16 种主题、5 种视觉风格、语义图形体系和 40+ 产品图标。

Related: more developer tools skills

If the code-to-diagram skill looks useful, you may also want to check out other developer tools skills in the OpenClaw catalog:

Skills in this catalog are community-contributed integrations published on ClawHub and distributed under their own open-source licences. Product and company names, and any third-party service a skill connects to, are trademarks of their respective owners; a listing here does not imply affiliation with, sponsorship by, or endorsement from them. This page does not distribute any third-party application. Rights holders can reach us at hello@openclaw-easy.com.

Browse the full OpenClaw skill catalog

This page covers just one skill. The OpenClaw skill hub has 10,000+ more — search, sort by downloads or stars, and install any of them in one click. There is also a curated awesome-openclaw-skills list grouped by use case.

Get OpenClaw Easy — Free

Install code-to-diagram and 10,000+ other OpenClaw skills in one click. Free, open-source, runs locally on macOS & Windows.

Free, open-source · Apache-2.0 · Works with Claude, ChatGPT, Gemini, or local Ollama models