← Back to list
⚡

obsidian-canvas Checked

Create and manage Obsidian Canvas files with automatic layout generation. Use when creating visua…
⚡ Productivity skills By jykim Version v1.0.0 Added 2026-10-21 Updated 2026-10-21 Source ↗ Part of Knowledge Management →
7.3Overall rating
0Views
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-canvas" skill by following the instructions at https://skill123.me/install/obsidian-canvas?ref=detail
⌨️ Command line install

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

curl -fsSL https://skill123.me/install/obsidian-canvas.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 · 6 KB
📊 Static rating
7.3/10
Trigger
6.0
Structure
7.5
Workflow
7.0
Content
8.0
Engineering
6.0
Security
9.0

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 and manage Obsidian Canvas files with automatic layout generation. Use when creating visual knowledge maps, weekly reading summaries, or project timelines.

Documentation

Obsidian Canvas Skill

Create visual canvases with automatic layout, color-coding, and smart node positioning.

When to Use This Skill

Activate when you need to:

  • Create visual summaries of weekly reading
  • Build knowledge maps connecting related topics
  • Design project timelines or mind maps
  • Organize scattered notes into visual structure

Core Principle: Automatic Layout

> **Let the layout be automatic, focus on the content**

The core of Canvas is node placement and connections. Instead of manually calculating coordinates, use automatic layouts per pattern.

Edit Workflow: Draft & Atomic Replace (CRITICAL)

> **Do not overwrite the canvas file directly multiple times.**

If you modify the .canvas file externally while Obsidian has the canvas tab open, Obsidian may overwrite the disk again with its own in-memory (often minimal) state, causing your work to be lost.

### Recommended Workflow

1. **Finish editing in a temporary file**: Write all nodes, edges, and containers at once to <원본>.canvas.draft

2. **Validate**: Check JSON validity, node coordinate overlap, and edge ID matching

3. **Atomic Replace**: Replace with a single file system event via mv draft → 원본

4. **Verify the result**: Validate file size with wc -l (minimal state = suspect an empty canvas)

### Patterns to Avoid

  • Consecutive Write calls to the same .canvas file (race condition)
  • Partial edits with Edit followed by another Edit before Obsidian syncs
  • Calling obsidian://open immediately after writing (sync conflict possible during writing)
  • Repeatedly asking the user to "refresh Obsidian"

### Atomic Replace Example


# 1. 임시 파일에 완전한 캔버스 작성
Write file: AI/Canvas/foo.canvas.draft (전체 내용)

# 2. 한 번에 교체
mv "AI/Canvas/foo.canvas.draft" "AI/Canvas/foo.canvas"

# 3. 결과 검증
wc -l "AI/Canvas/foo.canvas"  # 정상 = 노드 수에 비례한 줄 수
                              # 비정상 = 6-9줄 (minimal 상태)

### Rewrite the Whole Thing Even for Small Changes

Even when a partial edit is needed, **rewrite the entire canvas JSON to a temporary file and atomic replace**. The pattern of editing just one node with the Edit tool can cause sync conflicts.

Canvas File Structure


{
  "nodes": [
    {
      "id": "unique-id",
      "type": "text" | "file" | "link" | "group",
      "text": "content or file path",
      "x": 0, "y": 0,
      "width": 250, "height": 60,
      "color": "1-6"
    }
  ],
  "edges": [
    {
      "id": "edge-id",
      "fromNode": "node-id",
      "fromSide": "top|bottom|left|right",
      "toNode": "node-id",
      "toSide": "top|bottom|left|right",
      "color": "1-6"
    }
  ]
}

Layout Patterns

### 1. Radial Layout

Radial placement by category from a central node


        Topic1
           |
Topic4 - CENTER - Topic2
           |
        Topic3

**Use case**: Weekly reading, topic overview

**Spacing**: 400-600px from center

### 2. Grid Layout

Placement in vertical columns by category

View full documentation

Category1  Category2  Category3
  Item1      Item1      Item1
  Item2      Item2      Item2
  Item3      Item3      Item3

**Use case**: Comparative analysis, multi-column organization

**Spacing**: X: 400px, Y: 100px between items

### 3. Timeline Layout

Horizontal flow in chronological order


Event1 → Event2 → Event3 → Event4

**Use case**: Project milestones, historical events

**Spacing**: 300px horizontal

### 4. Hierarchical Layout

Expanding top→bottom in a tree structure


         Root
        /    \
    Child1  Child2
     / \      / \
   A   B    C   D

**Use case**: Concept breakdown, org charts

**Spacing**: Y: 200px per level

### 5. Side-by-side Comparison

Place related items side by side for comparison at a glance


┌─────────┐ ┌─────────┐ ┌─────────┐
│  항목1  │ │  항목2  │ │  항목3  │
│ (350px) │ │ (350px) │ │ (350px) │
└─────────┘ └─────────┘ └─────────┘

**Use case**: Option comparison, summary cards, listing related concepts

**Node width**: 300-350px (narrow)

**X spacing**: 40px between nodes

**X position calculation** (centered at x=0):

  • 2 nodes: x = -195, 195
  • 3 nodes: x = -390, 0, 390
  • Formula: first node x = -(total width/2) + (node width/2)

### 6. Two-Column Comparison

Place two contrasting perspectives/options on either side


    LEFT COLUMN          RIGHT COLUMN
    ┌─────────┐          ┌─────────┐
    │ Header  │          │ Header  │
    ├─────────┤          ├─────────┤
    │ Item 1  │          │ Item 1  │
    │ Item 2  │          │ Item 2  │
    │ Item 3  │          │ Item 3  │
    └────┬────┘          └────┬────┘
         └───────┬───────────┘
           ┌─────┴─────┐
           │  Common   │
           │  Ground   │
           └───────────┘

**Use case**: A vs B comparison, pros/cons, Before/After, contrasting perspectives

**Column width**: 500-550px each

**X spacing**: 750px between column centers (left: -375, right: 375)

**Center elements**: x = 0 (connecting both sides)

Color Scheme

| Color | ID | Use Case |

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

| Red | 1 | AI & Tech |

| Orange | 2 | Work & Projects |

| Yellow | 3 | Current Events |

| Green | 4 | PKM & Learning |

| Purple | 5 | Personal & Meta |

| Blue | 6 | Education & Career |

Node Types & Sizes

### Text Node

  • **Default**: 250x60 (single line)
  • **Quote**: 280x60 (wider for readability)
  • **Multi-line**: 250x(60 + 20*lines)

### File Node

  • **Link to note**: 280x90 (includes title + summary)
  • **Path format**: Use wiki links in text field

### Group Node

  • **Category header**: 200x50
  • **Container**: Auto-size based on children

### Width Adaptation (adjust content when width changes)

When a layout change reduces node width:

| Width Change | Content Adjustment |

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

| 550px → 350px | Reduce table columns, split long sentences |

| 350px → 300px | Only 2-3 bullets, remove examples |

| 300px → 250px | Title + one-line summary only |

**Condensation priority** (what to remove first):

1. Elaborations, parenthetical content

2. Examples, references

3. Table rows (keep only the essentials)

4. Number of bullet points

Auto-Layout Algorithm

### Step 1: Categorize Nodes

Group nodes by topic/category using tags or manual grouping.

### Step 2: Calculate Positions

Based on layout pattern:

  • **Radial**: Divide 360° by category count
  • **Grid**: Calculate column width, row height
  • **Timeline**: Distribute evenly on X-axis
  • **Hierarchy**: BFS traversal, level-by-level

### Step 3: Avoid Overlaps

  • Minimum spacing: 50px
  • Check bounding boxes
  • Adjust if collision detected

### Step 4: Create Edges

  • Connect center to categories (radial)
  • Connect sequential items (timeline)
  • Connect parent-child (hierarchy)

Example Templates

### Weekly Reading Canvas


{
  "nodes": [
    {
      "id": "center",
      "type": "text",
      "text": "# Weekly Reading\n## Dec 20-27, 2025",
      "x": 0, "y": 0,
      "width": 200, "height": 80,
      "color": "5"
    },
    {
      "id": "group-ai",
      "type": "text",
      "text": "## AI & Learning",
      "x": -380, "y": -200,
      "width": 180, "height": 50,
      "color": "1"
    }
  ],
  "edges": [
    {
      "id": "edge-center-ai",
      "fromNode": "center",
      "fromSide": "left",
      "toNode": "group-ai",
      "toSide": "right",
      "color": "1"
    }
  ]
}

### Project Timeline Canvas


{
  "nodes": [
    {
      "id": "phase1",
      "type": "text",
      "text": "**Phase 1**\nResearch",
      "x": 0, "y": 0,
      "width": 200, "height": 80,
      "color": "1"
    },
    {
      "id": "phase2",
      "type": "text",
      "text": "**Phase 2**\nDevelopment",
      "x": 300, "y": 0,
      "width": 200, "height": 80,
      "color": "2"
    }
  ],
  "edges": [
    {
      "id": "edge-1-2",
      "fromNode": "phase1",
      "fromSide": "right",
      "toNode": "phase2",
      "toSide": "left"
    }
  ]
}

Best Practices

### Content First, Layout Second

1. List all items to include

2. Group by category/theme

3. Choose layout pattern

4. Generate coordinates

5. Add edges last

### Keep It Scannable

  • Max 20 nodes per canvas
  • 4-6 categories ideal
  • Clear visual hierarchy
  • Consistent spacing

### Link to Notes

  • Use wiki link format: [[Note Title]]
  • Include section links: [[Note#Section]]
  • Add emoji for visual cues

### Iterate Layout

  • Start with template
  • Adjust spacing if crowded
  • Test in Obsidian preview
  • Refine edge routing

### Part Headers for Long Documents

For long canvases, separate sections with Part headers

**When to use**:

  • 15 or more nodes
  • Logically distinct stages/sections exist

**Part header format**:


{"id":"part1","type":"text","text":"# 📋 Part 1: [섹션명]","x":-275,"y":[y],"width":550,"height":60,"color":"[색상]"}

**Color coding between Parts**:

  • Assign a different color to each Part
  • Nodes within a Part use the same color family
  • Improves visual navigation

Overlap Prevention

When updating a canvas, you must **always** check for overlaps. Overlaps hurt readability and make node selection difficult.

### Overlap Calculation Formula

Check whether two nodes overlap:


Node A: (x1, y1, width1, height1)
Node B: (x2, y2, width2, height2)

오버랩 조건 (둘 다 만족 시 오버랩):
- X축: x1 < x2 + width2 AND x1 + width1 > x2
- Y축: y1 < y2 + height2 AND y1 + height1 > y2

### Calculating Proper Spacing

Formula for maintaining spacing between nodes:


Next node Y = Current node Y + Current node

Score breakdown

Trigger
6.0
Trigger 6/10 — Description gives use cases but no when-not boundaries; workflow has solid atomic-replace and verification steps but 'allowed-tools' omits Bash needed for mv, and pseudo-functions are not defined. Long file is organised but has redundant layout sections and mixed languages.
Structure
7.5
Structure 7.5/10
Workflow
7.0
Workflow 7/10
Content
8.0
Content 8/10
Engineering
6.0
Engineering 6/10
Security
9.0
Security 9/10

Assessment methodology

🧪
AI-assessed
Evaluated by automated analysis across quality, usability, and security dimensions. This is not a substitute for your own review — always inspect a skill before installing it.

Version history

v1.0.0 2026-10-21
6 KB

Imported from jykim/claude-obsidian-skills@main