JSON Canvas

Creates and edits Obsidian canvas boards (.canvas files): mind maps, flowcharts and project boards with cards, groups and connecting arrows.

Research & Learningobsidianmind-mapsflowchartsvisual-thinkingby kepano51kGitHub

What it is

JSON Canvas is the open file format behind Obsidian's Canvas, the endless whiteboard where you arrange text cards, notes, images and web links and draw arrows between them. Each board is saved as a .canvas file. This skill teaches your AI agent to write and edit those files directly, so it can lay out a mind map, flowchart, research board or project plan for you. It is useful for visual thinkers, students and anyone who plans work in Obsidian.

Canvas files are structured data: every card needs a unique ID, a position and a size, and every arrow must point to cards that actually exist. Get one detail wrong and the board may fail to open or lose its connections. The skill gives the agent the exact format for the four card types (text, file, web link and group), arrows with attachment sides, labels and arrowheads, six preset colors, and layout guidance on spacing and card sizes. After every change it runs a checklist for duplicate IDs, broken arrows and bad line breaks.

You get a .canvas file you can open in Obsidian and keep rearranging by hand. The agent places cards by coordinates rather than by eye, so a large board may need some tidying afterwards. The skill does not create images; file cards point to notes or pictures that already exist in your vault.

What it can do

  • Builds text cards with formatted content, file cards that show notes or images from your vault, and link cards for web pages.
  • Draws labeled arrows between cards, choosing which sides they attach to and whether they have arrowheads.
  • Groups related cards inside labeled, colored containers, optionally with a background image.
  • Adds new cards to an existing board without overlapping what is already there.
  • Applies preset or custom hex colors to cards, groups and arrows.
  • Validates IDs, arrow targets, required fields and line breaks after every edit.

When to use it

  • You want a mind map of a topic you are studying, with a central idea, branches and short notes on each branch.
  • You are planning a launch and want a project board grouped into To Do, In Progress and Done columns.
  • You have a folder of research notes and want a canvas that places them next to their source websites, with arrows showing how they relate.
  • You need a simple yes/no decision flowchart for a process at work.

How it works

  1. 1The skill activates when you mention canvas files, mind maps, flowcharts or Canvas in Obsidian, or when the agent opens a .canvas file.
  2. 2For a new board, the agent creates the file and gives every card a unique 16-character ID, a position and a size, following the spacing and size guidelines.
  3. 3It connects cards with arrows that reference those IDs, adding labels, sides and colors where useful.
  4. 4To edit an existing board, it reads the file, finds the card or arrow by its ID, changes it and writes the file back.
  5. 5It runs a validation checklist (unique IDs, valid arrow targets, required fields, correct line breaks) before handing the file over.

Try asking

“Make an Obsidian canvas mind map about the causes of the French Revolution.”
“Create a project board canvas with To Do, In Progress and Done groups and put these tasks in them.”
“Add a card for my Interview Notes note to research.canvas and connect it to the Findings card.”
“Turn this onboarding process into a flowchart canvas with yes and no branches.”

How to install

Install with the skills CLI (recommended)

Works with Claude Code, Codex, Cursor, OpenCode and other agents, and asks which ones to install to. Needs Node.js 22.20+. Add -g to make it available in every project.

npm
npx skills add https://github.com/kepano/obsidian-skills/tree/main/skills/json-canvas
pnpm
pnpm dlx skills add https://github.com/kepano/obsidian-skills/tree/main/skills/json-canvas

Install as a Claude Code plugin

Run these inside Claude Code. The plugin may bundle related skills from the same author.

Claude Code
/plugin marketplace add kepano/obsidian-skills
/plugin install obsidian@obsidian-skills

Install manually

Copies the skill folder into Claude Code's personal skills directory. For claude.ai, zip the json-canvas folder and upload it in the Skills section of Settings.

Terminal
git clone --depth 1 https://github.com/kepano/obsidian-skills.git
mkdir -p ~/.claude/skills
cp -r obsidian-skills/skills/json-canvas ~/.claude/skills/json-canvas

Then just ask in plain language, for example: “Make an Obsidian canvas mind map about the causes of the French Revolution.”