Use Case
diagram-generator isn't just for solo use β teams can share skills and build consistent AI workflows across the organization. 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 covers how to deploy diagram-generator for your team, standardize prompts, and create shared workflows that everyone can use.
Install diagram-generator in your project directory: .claude/skills/diagram-generator/
Commit the skill folder to your repository so the whole team has access
Document your team's standard prompts in a shared README
Use diagram-generator in code reviews, standups, and planning sessions
Iterate: collect feedback from the team and refine your prompts
Copy these prompts and use them with your AI agent after installing diagram-generator
How can my team use diagram-generator together?
Set up diagram-generator for our project so everyone can use it
Create a shared workflow using diagram-generator for our team
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.