Use Case
Stop doing repetitive developer & devops tasks manually. diagram-generator lets your AI agent handle them automatically through natural conversation. 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 shows practical examples of using diagram-generator to automate common developer & devops workflows and save hours every week.
Install diagram-generator: npx clawhub@latest --dir ~/.claude/skills install diagram-generator
Identify the repetitive developer & devops tasks you want to automate
Describe the task to your AI in plain English
diagram-generator will execute the task and return results directly in the chat
Chain multiple tasks: ask your AI to run a sequence of operations
Copy these prompts and use them with your AI agent after installing diagram-generator
Automate my developer & devops tasks using diagram-generator
What repetitive tasks can diagram-generator handle for me?
Set up a workflow that runs diagram-generator every morning
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.