AI Skill MartBrowse skillsPromptsProgramsLearnWhat is a Skill?
← Back to list

JSON Canvas (.canvas) Builder

Creates and edits Obsidian .canvas files to spec, turning notes into mind maps, flowcharts and project boards.

Docs & OfficeIntermediate★ 53,680⑂ 3,821AI score 9/10Last updated: Nov 20, 2026

What it does

  • Builds new .canvas files or safely edits existing ones following the JSON Canvas 1.0 spec (nodes + edges arrays).
  • Documents every node type (text, file, link, group) and edge attribute: required fields, color presets "1"–"6", arrow ends, side anchors, labels.
  • Provides practical layout rules: 16-char hex ID generation, 50–100px node spacing, group padding, grid alignment, and ~1.5× width for CJK content.
  • Runs a validation checklist before saving: unique IDs, no dangling edge references, escaped quotes and \n newlines, parseable JSON.

Who it's for

  • Obsidian users who organize thinking in Canvas — mind maps, project boards, research maps.
  • Anyone who wants notes or docs converted into visual diagrams automatically.
  • Developers building tools around the open JSON Canvas format.

Example uses

  1. "Turn this note into a mind map canvas" → generates a .canvas file with text nodes and labeled arrows.
  2. "Add a 'Deploy' node to project.canvas and connect it to the QA node" → appends node + edge with a collision-free ID, then validates.
  3. "Recolor finished items green (preset 4) and wrap them in a group" → updates colors and adds a group node around them.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/obsidianmd/obsidian-skills/HEAD/plugins/obsidian/skills/json-canvas/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on AI Skill Mart.
Copy the plugins/obsidian/skills/json-canvas folder from the GitHub repo obsidianmd/obsidian-skills into my ~/.claude/skills/json-canvas/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/obsidianmd/obsidian-skills.git /tmp/obsidian-skills && mkdir -p ~/.claude/skills && cp -r /tmp/obsidian-skills/plugins/obsidian/skills/json-canvas ~/.claude/skills/

⚠ This is a third-party skill. Check the source repository before installing.

  1. Open your terminal.
  2. Clone the skills repo: git clone https://github.com/obsidianmd/obsidian-skills.git /tmp/obsidian-skills
  3. Make sure the skills folder exists: mkdir -p ~/.claude/skills
  4. Copy the skill over: cp -r /tmp/obsidian-skills/plugins/obsidian/skills/json-canvas ~/.claude/skills/
  5. Verify ~/.claude/skills/json-canvas/SKILL.md and the references/ folder are present.
  6. Restart Claude Code; mentioning a .canvas file or asking for a mind map/flowchart will trigger the skill automatically.