Use Case
diagram-generator is a powerful AI agent skill that extends your assistant with new capabilities. Generate and edit various types of diagrams (drawio, mermaid, excalidraw). Supports common chart types such as flow charts, sequence diagrams, class diagrams, ER diagrams, mind maps, architecture diagrams, and network topology diagrams. Ability to create new diagrams based on natural language descriptions, as well as read and modify existing drawio/mermaid/excalidraw files. Use an independent MCP server (mcp-diagram-generator) to generate diagram files to reduce token consumption and ensure output consistency. Supports automatic configuration management. The default output path is diagrams/{format}/ in the project directory. Custom paths and automatically created directories are supported. This guide walks you through installing diagram-generator, configuring it for your setup, and running your first commands β so you can start getting value in minutes.
Install diagram-generator: npx clawhub@latest --dir ~/.claude/skills install diagram-generator
Restart your AI client (Claude Code, Cursor, Gemini CLI, or OpenClaw)
Type a natural language request related to developer & devops to trigger diagram-generator
Review the output and refine your prompt for better results
Combine diagram-generator with other skills to build multi-step workflows
Copy these prompts and use them with your AI agent after installing diagram-generator
Help me get started with diagram-generator
What can diagram-generator do for my developer & devops workflow?
Show me an example of using diagram-generator
Select your agent
Option 1: Install via CLI (recommended)
Recommended (no pre-install needed)
npx clawhub@latest --dir ~/.claude/skills install diagram-generatorOr via clawhub CLI (if already installed)
clawhub --dir ~/.claude/skills install diagram-generatorβ οΈ Requires Node.js 18+. No Node? Use Option 2 below to download the ZIP instead. Install Node.js β
Option 2: Manual install (no Node required)
Download the ZIP, extract it, and place the folder at the path below. Restart your agent to activate.
Install path
~/.claude/skills/diagram-generator/π‘Extract and place the folder at the path above, then restart your agent.