Mermaid Visualizer
Turns a process, comparison or topic outline into a clean Mermaid diagram that displays correctly in Obsidian, GitHub and other Mermaid-ready apps.
What it is
Mermaid is a way of describing a diagram in short lines of text, which apps such as Obsidian and GitHub then draw as a picture. This skill has the AI turn your content, such as a workflow, a comparison or a topic outline, into Mermaid code for presentations, notes and documentation. It suits people who keep notes in Obsidian, write guides or need a quick diagram for a slide, and who would rather not learn the syntax.
Asked directly, AI often writes Mermaid that fails to display. The skill lists the usual causes and how to avoid them: numbered labels like '1. Step' that Mermaid mistakes for a list, group names with spaces, arrows pointing at a label instead of its ID, and quote marks or brackets inside labels. It matches content to six diagram types (process flow, cycle, comparison, mind map, sequence and state) and offers options for direction, level of detail, a slide-friendly mode and four styles, with default colors that each carry a meaning. A checklist runs before the code is handed over.
You get a Mermaid code block with a short explanation of its structure, ready to paste into a note or document, plus an offer to adjust it. It produces code, not an image file, so you need an app that draws Mermaid to see the result. The author labels the pack experimental.
What it can do
- Matches your content to six diagram types: process flow, circular flow, comparison, mind map, sequence and state diagram.
- Avoids common Mermaid errors, such as list-style numbering, unquoted group names and stray quotes or brackets.
- Lets you choose vertical or horizontal layout, simple to detailed labels, and a presentation mode with fewer details.
- Offers minimal, professional, colorful and academic styles, with a default palette where colors carry meaning.
- Groups related steps into labeled lanes and draws feedback loops and hub-and-spoke layouts.
- Checks the code against a quality list before giving it to you, including no emoji in labels.
When to use it
- You are giving a talk on your team's sales process and want a clear flowchart for one slide.
- You keep notes in Obsidian and want a mind map of a book chapter right inside the note.
- You need a before-and-after diagram comparing the old way of doing a task with the new one.
- You are writing a how-to page on GitHub and want the steps shown as a diagram rather than a list.
How it works
- 1It reads your content to find the key ideas, how they connect, and any sequence, hierarchy or contrast.
- 2It picks the diagram type that fits, defaulting to a process flow when the shape is unclear.
- 3It applies any layout, detail or style you asked for and sensible defaults for the rest.
- 4It writes the Mermaid code following its syntax rules, then checks it for the known errors.
- 5It returns the code in a Mermaid block with a short explanation and offers changes or variations.
Try asking
How to install
Install with the skills CLI (recommended)
Works with Claude Code, Codex, Cursor, OpenCode and other agents, and asks which ones to install to. Needs Node.js 22.20+. Add -g to make it available in every project.
npx skills add https://github.com/axtonliu/axton-obsidian-visual-skills/tree/main/mermaid-visualizer
pnpm dlx skills add https://github.com/axtonliu/axton-obsidian-visual-skills/tree/main/mermaid-visualizer
Install as a Claude Code plugin
Run these inside Claude Code. The plugin may bundle related skills from the same author.
/plugin marketplace add axtonliu/axton-obsidian-visual-skills /plugin install obsidian-visual-skills@axton-obsidian-visual-skills
Install manually
Copies the skill folder into Claude Code's personal skills directory. For claude.ai, zip the mermaid-visualizer folder and upload it in the Skills section of Settings.
git clone --depth 1 https://github.com/axtonliu/axton-obsidian-visual-skills.git mkdir -p ~/.claude/skills cp -r axton-obsidian-visual-skills/mermaid-visualizer ~/.claude/skills/mermaid-visualizer
Then just ask in plain language, for example: “Visualize our content publishing process as a Mermaid flowchart”
More Design & Covers skills
Huashu Design
29kTurns a one-line request into finished designs built in HTML: clickable prototypes, slide decks with editable PPTX, MP4 animations and infographics.
Baoyu Cover Image
27kDesigns a cover image for your article from its content, letting you pick the cover type, colors, drawing style, title text and mood.
Anatomy
25kBuilds detailed, interactive isometric drawings that explain a technical idea as a working machine, as SVG, HTML, React or printable PDF.