
graphmod
Claude Code mod that renders diagrams in replies as real pictures.
Pricing
Prices vary by usage. See the full price list on github.com →
About graphmod
graphmod is an open-source mod for Claude Code that turns diagrams in Claude's replies into real pictures. It adds a short section to the system prompt asking Claude to draw diagrams as Graphviz dot blocks instead of ASCII art. When a reply contains a closed dot block, graphmod styles the graph and renders it: as a PNG image in terminals that support the kitty graphics protocol (Ghostty, cmux, kitty, WezTerm), or as an SVG in the Claude Code desktop app, VS Code and mobile. It is built for developers who ask Claude Code to explain architecture, data flows or system layers. Each cluster gets its own color and tinted background, and each box becomes a card with a colored badge, a bold title and a short detail line. Under the picture, a link opens an interactive HTML page where you can hover a box to highlight its neighbors, click to pin it, drag it and zoom. The mod runs only mkdir, gvpr and dot, writes files only to ~/.cache/graphmod/, and has no network access. Dot blocks that would make Graphviz read local files are shown as text instead. The main limitation: it depends on Claude Code's mods feature, which is early and may change between releases, and it needs Graphviz installed locally.
At a glance
- Founded
- 2026
- Integrations
- Claude Code, Graphviz, Ghostty, kitty, WezTerm, cmux, VS Code
- Last verified
- October 2026
♥Bookmarked by 1 person on Aigregator.
Key Features
- •Prompts Claude to draw diagrams as Graphviz dot instead of ASCII art
- •Renders dot blocks as inline PNG images in Ghostty, cmux, kitty and WezTerm
- •Renders SVG in the Claude Code desktop app, VS Code and mobile
- •Colored clusters and card-style boxes via a gvpr style script
- •Interactive HTML diagram page with highlight, pin, drag and zoom
- •Content-hash cache in ~/.cache/graphmod/ and no network access
- •Blocks dot sources that would read local files
Use Cases
- •Show software architecture diagrams inside the Claude Code terminal
- •Explore a system's components on an interactive diagram page
- •Replace ASCII-art diagrams in AI coding sessions with rendered graphs
Alternatives
- Mermaid
- Eraser
- Excalidraw
Reviews for graphmod
Based on 0 reviews
Rating Distribution
No Reviews Yet
Be the first to share your experience with graphmod!
Frequently Asked Questions
What is graphmod?
graphmod is an open-source mod for Claude Code that turns diagrams in Claude's replies into real pictures. It adds a short section to the system prompt asking Claude to draw diagrams as Graphviz dot blocks instead of ASCII art.
How much does graphmod cost?
graphmod is free to use.
Is graphmod free?
Yes, graphmod offers a free plan you can start with.
What are the best graphmod alternatives?
Popular graphmod alternatives include Mermaid, Eraser, Excalidraw.
What is graphmod used for?
graphmod is commonly used for Show software architecture diagrams inside the Claude Code terminal, Explore a system's components on an interactive diagram page, Replace ASCII-art diagrams in AI coding sessions with rendered graphs.
Information Accuracy
Please note: While we regularly update all tool information including descriptions, features, pricing, and other details, this information may change over time as tools evolve and update their offerings. For the most current and accurate information, we recommend visiting the official website directly. Our goal is to provide you with comprehensive and up-to-date information to help you make informed decisions.