Mermaid VisualizerSAFE
Visual Skills Pack for Obsidian: generate Canvas, Excalidraw, and Mermaid diagrams from text with Claude Code
Overview
Visual Skills Pack for Obsidian: generate Canvas, Excalidraw, and Mermaid diagrams from text with Claude Code
bcda7df57c06OBSERVED · 2026-10-21What it tells the agent
The instruction file, verbatim from the audited commit — this is the text the model reads, and the surface the audit's instruction layer examines. Quoted here so you can judge it without cloning anything.
--- name: mermaid-visualizer description: Transform text content into professional Mermaid diagrams for presentations and documentation. Use when users ask to visualize concepts, create flowcharts, or make diagrams from text. Supports process flows, system architectures, comparisons, mindmaps, and more with built-in syntax error prevention. --- # Mermaid Visualizer ## Overview Convert text content into clean, professional Mermaid diagrams optimized for presentations and documentation. Automatically handles common syntax pitfalls (list syntax conflicts, subgraph naming, spacing issues) to ensure diagrams render correctly in Obsidian, GitHub, and other Mermaid-compatible platforms. ## Quick Start When creating a Mermaid diagram: 1. **Analyze the content** - Identify key concepts, relationships, and flow 2. **Choose diagram type** - Select the most appropriate visualization (see Diagram Types below) 3. **Select configuration** - Determine layout, detail level, and styling 4. **Generate diagram** - Create syntactically correct Mermaid code 5. **Output in markdown** - Wrap in proper code fence with optional explanation **Default assumptions:** - Vertical layout (TB) unless horizontal requested - Medium detail level (balanced between simplicity and information) - Professional color scheme with semantic colors - Obsidian/GitHub compatible syntax ## Diagram Types ### 1. Process Flow (graph TB/LR) **Best for:** Workflows, decision trees, sequential processes, AI agent architectures **Use when:** Content describes steps, stages, or a sequence of actions **Key features:** - Swimlanes via subgraph for grouping related steps - Arrow labels for transitions - Feedback loops and branches - Color-coded stages **Configuration options:** - `layout`: "vertical" (TB), "horizontal" (LR) - `detail`: "simple" (core steps only), "standard" (with descriptions), "detailed" (with annotations) - `style`: "minimal", "professional", "colorful" ### 2. Circular Flow (graph TD with circular layout) **Best for:** Cyclic processes, continuous improvement loops, agent feedback systems **Use when:** Content emphasizes iteration, feedback, or circular relationships **Key features:** - Central hub with radiating elements - Curved feedback arrows - Clear cycle indicators ### 3. Comparison Diagram (graph TB with parallel paths) **Best for:** Before/after comparisons, A vs B analysis, traditional vs modern systems **Use when:** Content contrasts two or more approaches or systems **Key features:** - Side-by-side layout - Central comparison node - Clear differentiation via color/style ### 4. Mindmap **Best for:** Hierarchical concepts, knowledge organization, topic breakdowns **Use when:** Content is hierarchical with clear parent-child relationships **Key features:** - Radial tree structure - Multiple levels of nesting - Clean visual hierarchy ### 5. Sequence Diagram **Best for:** Interactions between components, API calls, message flows **Use when:** Content involves communication between actors/systems over time **Key features:** - Timeline-based layout - Clear actor separation - Activation boxes for processes ### 6. State Diagram **Best for:** System states, status transitions, lifecycle stages **Use when:** Content describes states and transitions between them **Key features:** - Clear state nodes - Labeled transitions - Start and end states ## Critical Syntax Rules **Always follow these rules to prevent parsing errors:** ### Rule 1: Avoid List Syntax Conflicts ``` ❌ WRONG: [1. Perception] → Triggers "Unsupported markdown: list" ✅ RIGHT: [1.Perception] → Remove space after period ✅ RIGHT: [1 Perception] → Use circled numbers (12345678910) ✅ RIGHT: [(1) Perception] → Use parentheses ✅ RIGHT: [Step 1: Perception] → Use "Step" prefix ``` ### Rule 2: Subgraph Naming ``` ❌ WRONG: subgraph AI Agent Core → Space in name without quotes ✅ RIGHT: subgraph agent["AI Agent Core"] → Use ID with display name ✅ RIGHT: subgraph agent → Use simple ID only ``` ### Rule 3: Node References ``` ❌ WRONG: Title --> AI Agent Core → Reference display name directly ✅ RIGHT: Title --> agent → Reference subgraph ID ``` ### Rule 4: Special Characters in Node Text ``` ✅ Use quotes for text with spaces: ["Text with spaces"] ✅ Escape or avoid: quotation marks → use 『』instead ✅ Escape or avoid: parentheses → use 「」instead ✅ Line breaks in circle nodes only: ((Text<br/>Break)) ``` ### Rule 5: Arrow Types - `-->` solid arrow - `-.->` dashed arrow (for supporting systems, optional paths) - `==>` thick arrow (for emphasis) - `~~~` invisible link (for layout only) For complete syntax reference and edge cases, see [references/syntax-rules.md](references/syntax-rules.md) ## Configuration Options All diagrams accept these parameters: **Layout:** - `direction`: "vertical" (TB), "horizontal" (LR), "right-to-left" (RL), "bottom-to-top" (BT) - `aspect`: "portrait" (default), "landscape" (wide), "square" **Detail Level:** - `simple`: Core elements only, minimal labels - `standard`: Balanced detail with key descriptions (default) - `detailed`: Full annotations, explanations, and metadata - `presentation`: Optimized for slides (larger text, fewer details) **Style:** - `minimal`: Monochrome, clean lines - `professional`: Semantic colors, clear hierarchy (default) - `colorful`: Vibrant colors, high contrast - `academic`: Formal styling for papers/documentation **Additional Options:** - `show_legend`: true/false - Include color/symbol legend - `numbered`: true/false - Add sequence numbers to steps - `title`: string - Add diagram title ## Example Usage Patterns **Pattern 1: Basic request** ``` User: "Visualize the software development lifecycle" Response: [Analyze → Choose graph TB → Generate with standard detail] ``` **Pattern 2: With configuration** ``` User: "Create a horizontal flowchart of our sales process with lots of detail" Response: [Analyze → Choose graph LR → Generate with
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | NA |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- pinned
- Secrets in source
- none-found
Findings (0)
No findings outside the package's declared scope.
Gates applied: no_behavioural_pass.
bcda7df57c06full audit observations/trust-audit/skill/axtonliu__mermaid-visualizer.json · Report an issue / request a re-scanAudit history
Every audit this skill has had.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-21 | bcda7df57c06 | SAFE | B | 89 | first audit |
Questions
What does the mermaid-visualizer — axtonliu/axton-obsidian-visual-skills skill do?
Visual Skills Pack for Obsidian: generate Canvas, Excalidraw, and Mermaid diagrams from text with Claude Code
Is mermaid-visualizer — axtonliu/axton-obsidian-visual-skills safe to install?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.
What can mermaid-visualizer — axtonliu/axton-obsidian-visual-skills access on my machine?
The audit observed no filesystem, network or shell use at all in its source.
How current is this page?
The grade is for one exact copy of the source (bcda7df57c06), read on 2026-10-21. The repository is watched, and a new audit runs when it changes — this is the first audit.
Add this badge to your README
Shows this page's audit result and links back to it. It updates when the audit does.
[](https://modelsatlas.com/skills/axtonliu/mermaid-visualizer/)
Not your listing, or something out of date? Claim or update your listing.