Skip to main content
skill CX Codex

diagram-generator · franklee16 — Claude Code skill: what it does, how to install

diagram-generator is a Claude Code skill that creates and edits draw.io, Mermaid, and Excalidraw diagrams from text descriptions.

no license ★ 240 updated 2026-09-18

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add franklee16/academic-research-skills --skill diagram-generator -a claude-code
Open on GitHub

What diagram-generator does

This skill turns natural language requests into structured JSON schemas for various visual representations: flowcharts, sequence diagrams, class models, ER diagrams, mind maps, and network topologies. It also inspects existing .drawio, .mmd, or Excalidraw files to apply targeted edits directly.

File generation relies strictly on mcp-diagram-generator. Without adding this MCP server to your ~/.claude.json or project .claude.json via npx, Claude Code fails with missing tool errors during diagram creation.

Generated files are stored under diagrams/{format}/ within the project. Default directory settings live in .diagram-config.json, which lets you point target formats to custom project folders.

What it helps with

  • generate network topologies or flowcharts in draw.io format
  • build database ER diagrams using Mermaid syntax
  • sketch service architecture models for Excalidraw
  • modify existing .drawio or .mmd diagrams with conversational edits

Example prompts for the agent

  • Create a draw.io network topology with web, backend, and database zones
  • Generate an ER diagram for an e-commerce platform using mermaid format
  • Update diagrams/drawio/architecture.drawio to include a Redis cache layer

How to install diagram-generator

1Skills CLI (Vercel)

npx skills add franklee16/academic-research-skills --skill diagram-generator -a claude-code

2Manually: put the files in place

~/.claude/skills/diagram-generator-1.1.1/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/diagram-generator-1.1.1/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about diagram-generator

How do I install diagram-generator in Claude Code?

Run npx skills add franklee16/academic-research-skills --skill diagram-generator-1.1.1 -a claude-code in your terminal. Then add the mcp-diagram-generator entry to mcpServers in your ~/.claude.json file.

Which diagram formats does this skill support?

It supports draw.io (.drawio), Mermaid (.mmd), and Excalidraw files. It works with sequence flows, architecture charts, ER models, and network topology layouts.

What causes the Tool not found error?

This issue happens when the mcp-diagram-generator server is missing from configuration or Claude Code has not been restarted. Add the server under mcpServers and restart Claude Code.

Similar skills

All skills for Writing and docs →

diagram-generator by other authors comes first.

diagram-generator zhaoxuya520 diagram-generator is a Claude Code skill that generates, checks, and renders diagrams from text, code, schemas, and tables for architecture, process, and UML modeling. CX Codex +1 1,500installs diagram-generator oimiragieo diagram-generator turns code and docs into Mermaid diagrams: architecture, schemas, data flows. Any diagram can come out as one standalone HTML page. CX Codex +1 146installs diagram-design cathrynlavery diagram-design is a Claude Code skill that builds editorial diagrams as standalone HTML files with inline SVG. It covers 51 visual types under a project-specific style guide. CX Codex +1 30,900installs coco-diagram coco-research coco-diagram is a skill that turns system descriptions into diagrams and redraws .drawio and Mermaid sources. It makes architecture or processes easier to follow visually. CX Codex +1 ★ 328repo stars diagram-architect davila7 diagram-architect is a Claude Code subagent that creates technical diagrams in ASCII, Mermaid, PlantUML, and Draw.io. It activates for architecture views, database schemas, process flows, and dependency maps. CX Codex 1,178installs excalidraw-diagram coleam00 excalidraw-diagram generates .excalidraw JSON diagram files for technical architectures and workflows. Helps turn system specs or logic into diagrams with real data examples. CX Codex +1 8,900installs draw-io-diagram-generator official github The draw-io-diagram-generator is a GitHub Copilot skill that creates and edits .drawio, .drawio.svg, and .drawio.png diagrams from an agent's project request. CX Codex +1 2,800installs diagram garrytan diagram is a Claude Code skill that turns an English description or Mermaid source into diagram files. It runs on requests to make, draw, or visualize a diagram. CX Codex +1 266installs

From the same set98

The whole set →
revision-coordinator The revision-coordinator skill turns manuscript feedback into section-level tasks and routes them to specialized writing skills. Use it when you have a draft and reviewer, colleague, or self-review comments. CX Codex +1 ★ 240repo stars paper-reading-problem-reality-check paper-reading-problem-reality-check puts a single Research Question Card under pressure: is the problem real, is evidence behind it, and would the motivation survive a skeptical reviewer? CX Codex +1 ★ 240repo stars llm-research-workflow llm-research-workflow enforces a structured methodology for extracting, classifying, and validating empirical variables in economics and finance research with LLMs. CX Codex +1 ★ 240repo stars paper-reading-research-question paper-reading-research-question turns an existing field map into testable research questions: candidate angles, an evidence check and question cards. CX Codex +1 ★ 240repo stars LR LR helps write literature reviews, systematic review sections, and structured syntheses of scholarly sources for a research topic. CX Codex +1 ★ 240repo stars paper-to-social paper-to-social adapts academic papers and preprints into platform-native posts for LinkedIn, X, Xiaohongshu, and Substack. CX Codex +1 ★ 240repo stars nature-citation The nature-citation skill splits manuscript text into citable claims, searches selected journal families for supporting papers, and exports references. Use it when a draft needs evidence-linked citations. CX Codex +1 ★ 240repo stars stata A Stata reference that Claude opens while you write, debug or explain .do files, from data cleaning to reghdfe and Mata. CX Codex +1 ★ 240repo stars

Project sponsors

Companies that keep this analytics open