One install gives you two ways to make diagrams from the terminal
Standalone diagrams
Prompt in, image file out, saved to your current folder. No docs project, no repo. The fastest path.
Embedded diagrams
Create a diagram bound to an MDX page in your docs repo, then refine and re-sync it over time.
What you get
- Slash-command skills like
/docdiagram:diagramand/docdiagram:createthat you call inside a Claude Code session. - A bundled MCP server (
docdiagram) that exposes the same capabilities as tools, so any MCP-aware client can use them. - One shared credential. The skills and the MCP server both read
~/.docdiagram/config.yaml, written once by/docdiagram:auth.
Which workflow should I use?
Next
Set up the plugin
Install and authenticate in two commands.