Generates Mermaid diagrams (flowcharts, class, sequence, ER) from source code for architecture visualization.
Ships in sundial-org-awesome-openclaw-skills-4. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Architecture diagrams are always out of date because nobody maintains them. This tool reads your code and generates accurate Mermaid diagrams automatically.
One command. Zero config. Just works.
npx ai-diagram ./src/
# Generate flowchart
npx ai-diagram ./src/
# Class diagram
npx ai-diagram ./src/ --type class -o architecture.mmd
# Sequence diagram of function calls
npx ai-diagram ./src/ --type sequence
# Entity relationship diagram
npx ai-diagram ./src/ --type er
This is one of 110+ free developer tools built by LXGIC Studios. No paywalls, no sign-ups, no API keys on free tiers. Just tools that work.
Find more:
No install needed. Just run with npx. Node.js 18+ recommended. Needs OPENAI_API_KEY environment variable.
npx ai-diagram --help
Reads your source files to understand the structure, relationships, and data flow. Then generates Mermaid syntax that renders as diagrams in markdown editors, GitHub, and documentation tools.
MIT. Free forever. Use it however you want.
README.md (opens in a new tab)dist/cli.d.ts (opens in a new tab)dist/cli.js (opens in a new tab)dist/index.d.ts (opens in a new tab)dist/index.js (opens in a new tab)package-lock.json (opens in a new tab)package.json (opens in a new tab)src/cli.ts (opens in a new tab)src/index.ts (opens in a new tab)tsconfig.json (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/sundial-org-awesome-openclaw-skills-4:diagram-genfrom sundial-org-awesome-openclaw-skills-4
sundial-org-awesome-openclaw-skills-4@cascade-ai-ml-agents-misc-2 is listed by joshuarweaver/cascade-ai-ml-agents-misc-2 — review the source before installing
npx claudepluginhub joshuarweaver/cascade-ai-ml-agents-misc-2 --plugin sundial-org-awesome-openclaw-skills-4908 skills in this plugin
/1passwordSet up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op./a11y-checkerScan HTML and JSX for accessibility issues with AI-powered fix suggestions/abm-outboundMulti-channel ABM automation that turns LinkedIn URLs into coordinated outbound campaigns. Scrapes profiles, enriches with Apollo (email + phone), gets mailing addresses via Skip Trace, then orchestrates email sequences, LinkedIn touches, and handwritten letters via Scribeless. The secret weapon for standing out in crowded inboxes.Other plugins' skills for the same job