← Back to list
✍️

obsidian-mermaid Checked

Create Obsidian-compatible Mermaid diagrams. Prefer square layouts (TB + subgraph LR), avoid mark…
✍️ Writing skills By jykim Version v1.0.0 Added 2026-10-21 Updated 2026-10-21 Source ↗ Part of Knowledge Management →
7.5Overall rating
1Views
10Downloads
49Stars

Installation

🤖 Install via AI

Copy the prompt below and send it to your AI assistant (e.g. Claude Code) — it will follow the instructions and install automatically.

Install the "obsidian-mermaid" skill by following the instructions at https://skill123.me/install/obsidian-mermaid?ref=detail
⌨️ Command line install

Run in your terminal — downloads and installs to ~/.claude/skills/.

curl -fsSL https://skill123.me/install/obsidian-mermaid.sh?ref=detail | bash
📦 Download ZIP

Download the zip and extract it into your skills directory (e.g. ~/.claude/skills/), then restart your session.

⬇ Download v1.0.0 · 3 KB
📊 Static rating
7.5/10
Trigger
7.5
Structure
8.0
Workflow
5.5
Content
7.5
Engineering
8.0
Security
9.5

Six-dimension rubric with reviewer rationale.

View scorecard ↓
🛡 Dynamic test
—

Not live-tested yet — this skill is rated on static analysis only.

About this skill

Create Obsidian-compatible Mermaid diagrams. Prefer square layouts (TB + subgraph LR), avoid markdown in labels. Use when creating flowcharts, sequence diagrams, or any Mermaid diagrams in markdown files.

Documentation

Obsidian Mermaid Diagrams

Create Mermaid diagrams that render correctly in Obsidian and publish without issues.

When to Use This Skill

Activate when you need to:

  • Create flowcharts, sequence diagrams, ER diagrams
  • Convert ASCII art to Mermaid
  • Fix Mermaid rendering errors in Obsidian

Core Principle: Simplicity First

> **A diagram should be graspable at a glance**

Complex diagrams are hard to read. Always express only the essentials with the minimum number of nodes and connections.

### Node Minimization

**Before** (9 nodes):


flowchart LR
    A[수집] --> B[정리] --> C[보관]
    D[목표] --> E[학습] --> F[실행] --> G[측정] --> H[달성]

**After** (2 nodes - sequential flow as text within nodes):


flowchart LR
    A[수집 → 정리 → 보관]
    B[목표 → 학습 → 실행 → 달성]

### Connection Minimization

  • Express only the core flow; explain details in the body text
  • 5 or fewer nodes, no crossing connection lines
  • Split complex relationships into multiple simple diagrams

### Choosing Between Table and Mermaid

| Format | Purpose | Example |

|------|------|------|

| **Table** | Attribute-value mapping, comparison, options | Tasks by energy level |

| **Mermaid** | Flow, process, feedback loop | Input→Process→Output |

| **Inline** | Simple sequential flow | A → B → C |

**Principle**: Choose the format that expresses the same information more compactly

Critical Rules

### 1. NO Markdown in Labels

**Common Errors**:


Node["1. First"]     → "Unsupported markdown: list"
Node["Text<br/>More"] → "Unsupported markdown: heading"
Node["## Header"]    → "Unsupported markdown: heading"

**Correct**:


Node[First]
Node[Text]

**Rule**: Keep labels plain text. Move complex descriptions outside the diagram.

### 2. Prefer Square Layout

**Problem**: flowchart LR becomes too wide, and flowchart TB becomes too long.

**Solution**: Combine TB + inner LR to create a layout close to a square


flowchart TB
    subgraph Layer1["레이어 1"]
        direction LR
        A[항목A] ~~~ B[항목B] ~~~ C[항목C]
    end

    subgraph Layer2["레이어 2"]
        direction LR
        D[항목D] ~~~ E[항목E]
    end

    Layer1 --> Layer2

**Pattern**:

  • flowchart TB: Overall flow goes top→bottom
  • direction LR: Inside each subgraph, arrange horizontally
  • ~~~: Invisible connections (for alignment, without arrows)

**Rule**: If it gets too long vertically, use subgraph + direction LR.

### 3. Keep Labels Short


❌ Too long:
Node["This is a very long description that will break layout"]

✅ Short and clear:
Node[Short Label]

**Rule**: Labels should be under 15 characters. Add details in text below the diagram.

### 4. Avoid Special Characters in Subgraph Names


❌ May cause issues:
subgraph "1. Phase One"
subgraph "Phase: Setup"

✅ Safe:
subgraph Phase_One["Phase One"]
subgraph Setup["Setup Phase"]

Good Examples

View full documentation

### Simple Flowchart


flowchart TB
    A[Start] --> B{Decision}
    B -->|Yes| C[Action]
    B -->|No| D[End]

### Process Flow with Details Outside


flowchart TB
    Input[Input] --> Process[Process]
    Process --> Output[Output]

**Process Details**:

  • Input: User data from form
  • Process: Validation and transformation
  • Output: Saved to database

### Subgraph Example


flowchart TB
    subgraph Frontend["Frontend"]
        UI[UI] --> API[API Call]
    end
    subgraph Backend["Backend"]
        Server[Server] --> DB[Database]
    end
    API --> Server

Bad Examples (Don't Do This)

### Markdown in Labels


flowchart LR
    A["1. Start<br/>with details"] --> B{"2. Decision"}

This will show "Unsupported markdown" errors.

### Too Wide


flowchart LR
    A[Very Long Process Name Here] --> B[Another Long Name] --> C[Yet Another] --> D[And More]

This gets cut off on mobile and narrow screens.

Converting ASCII to Mermaid

**ASCII Art**:


┌───────┐     ┌───────┐
│ Start │────→│  End  │
└───────┘     └───────┘

**Mermaid**:


flowchart TB
    Start[Start] --> End[End]

Quality Checklist

Before completing diagram creation:

  • [ ] No <br/> tags in node labels
  • [ ] No numbered list format (1., 2.) in labels
  • [ ] **Square layout**: Use TB + LR within subgraph combination
  • [ ] All labels are short (under 15 characters)
  • [ ] Complex details moved to text outside diagram
  • [ ] No special characters in subgraph names
  • [ ] Tested rendering in Obsidian preview

Score breakdown

Trigger
7.5
Trigger 7.5/10 — The description gives what and when but lacks when-not boundaries, and the body contains no true step-by-step workflow, mostly rules and examples plus a checklist. Content is concrete and mostly consistent, but mixed Korean phrases reduce clarity for a general audience, and some sections are redundant.
Structure
8.0
Structure 8/10
Workflow
5.5
Workflow 5.5/10
Content
7.5
Content 7.5/10
Engineering
8.0
Engineering 8/10
Security
9.5
Security 9.5/10