Create and edit Obsidian Canvas (.canvas) files directly as JSON (JSON Canvas spec) — visual maps, architecture diagrams, decision trees, kanban-style boards, and project overviews that render natively in Obsidian with embedded live notes, text cards, groups, and labeled arrows. Use this skill whenever the user asks for a canvas, a visual map or diagram "in Obsidian" or "in my vault", a whiteboard view of notes, an infrastructure/architecture map they can edit in Obsidian, or says things like "map this out visually", "make a board of these notes", or "draw how these connect" in an Obsidian context. Also use it when asked to read or modify an existing .canvas file.
Ships in obsidian-canvas. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A .canvas file is plain JSON (the open JSON Canvas spec). No plugin API or REST bridge is needed — author the file with normal file tools and Obsidian renders it natively (the core canvas plugin, enabled by default).
Working in a memory vault with tuned canvas conventions instead? Read
obsidian-memory-contract'sprofiles/canvas-maps.mdfirst — a memory vault may have its own schema conventions (1-space indent, fixed node/group geometry,Project - *.mdlink rows) that this generic guidance will quietly violate. That skill is not part of this one: it ships only with theobsidian-vaultplugin (claude plugin install obsidian-vault@useful-claude-add-ons). With this skill installed on its own, the profile is not on the machine — ask the user whether the vault has canvas conventions before assuming the generic ones below.
"C:\Program Files\Obsidian\Obsidian.com" vault # prints name, path, file count
wiki/maps/ or Canvas/). Check for an existing folder of .canvas files before inventing a new one:
Glob pattern="**/*.canvas" path="<vault>"
python -c "import json; json.load(open('x.canvas'))".Ctrl+R) — open canvases hot-reload unreliably.{
"nodes": [
{"id": "n1", "type": "text", "x": 0, "y": 0, "width": 260, "height": 120, "text": "**Label**\nmarkdown works here", "color": "4"},
{"id": "n2", "type": "file", "x": 400, "y": 0, "width": 400, "height": 400, "file": "notes/Some Note.md"},
{"id": "n3", "type": "link", "x": 0, "y": 200, "width": 300, "height": 200, "url": "https://example.com"},
{"id": "g1", "type": "group", "x": -40, "y": -40, "width": 900, "height": 520, "label": "Production"}
],
"edges": [
{"id": "e1", "fromNode": "n1", "toNode": "n2", "fromSide": "right", "toSide": "left", "label": "serves"}
]
}
Rules that bite:
| Rule | Detail |
|---|---|
id | Any unique string per node/edge; short hex is fine |
x/y | Node's TOP-LEFT corner; y grows downward; you do all layout math — nothing prevents overlap |
color | "1" red, "2" orange, "3" yellow, "4" green, "5" cyan, "6" purple, or "#rrggbb" |
fromSide/toSide | top / right / bottom / left |
type: "file" | Vault-relative path, forward slashes; embeds render the live note (edits flow both ways) |
type: "group" | Membership is purely geometric — the group rect must visually enclose its members |
| Markdown | Works inside text nodes, including [[wikilinks]] (render, but still don't create backlinks) |
.canvas before editing it — Obsidian may have rewritten node order/ids since you last touched it; never regenerate a canvas from scratch when asked to tweak it.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
/obsidian-canvas:obsidian-canvasfrom obsidian-canvas
npx claudepluginhub mbadali25/useful-claude-add-ons --plugin obsidian-canvas