HomeSkills › code-to-diagram
Developer Tools

code-to-diagram

1.5K downloads 1 stars Version 3.0.0 Rank #9582 of 10,000+

What this skill does

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

code-to-diagram 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.

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

How to install code-to-diagram

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 code-to-diagram 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 code-to-diagram

Once installed, code-to-diagram 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 .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 code-to-diagram free?

Yes. code-to-diagram is free and open-source, distributed under the Apache-2.0 license through ClawHub. No account or payment is required to download or run it.

What does code-to-diagram do?

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

Related: more developer tools skills

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

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