Canvas

Builds and updates Obsidian Canvas boards for you, laying out notes, images, links and groups as tidy visual maps inside your vault.

Research & Learningobsidiancanvasvisual mapwhiteboardby AgriciDaniel16kGitHub

What it is

Canvas is part of claude-obsidian, an open-source system that lets an AI agent maintain a knowledge base in Obsidian. It works with Obsidian Canvas, the app's infinite whiteboard, where notes, images, PDFs, web links and text cards sit side by side, connected by arrows. Ask it to create a board, add vault notes or media to one, group items into zones, or report on an existing board, and it writes the board file for you instead of you dragging cards around by hand.

Boards are saved in the open JSON Canvas 1.0 format, and the skill follows it strictly: unique IDs, whole-number positions and sizes, and arrows that only point to cards that exist. It places new cards deliberately, with 20-pixel padding inside groups and 40-pixel gaps between items, wrapping to a new row when needed. It only references files already in your vault, accepts only secure HTTPS links, and warns you that opening a link card in Obsidian may fetch a preview from that website.

Status requests are read-only and report card counts, group labels, broken arrows and missing files. Changes go through one previewed transaction that you approve, and removing cards or arrows needs your explicit consent. It cannot delete or rename a board file; for that it gives you a cleanup plan instead. Boards are stored in the vault's wiki/canvases folder.

What it can do

  • Creates new canvas boards, using a main board by default when you don't name one.
  • Adds text cards, vault notes, images, PDFs, web links and labelled groups to a board.
  • Connects cards with arrows and checks that every arrow points to a card that exists.
  • Lays out new cards in tidy rows with consistent padding and gaps, avoiding unintended overlaps.
  • Reports on existing boards: card counts, group labels, broken arrows and missing file targets.
  • Previews every change and applies it as one recoverable transaction after your approval.

When to use it

  • You have twenty notes on a thesis topic and want them laid out as a visual map grouped by theme.
  • You are planning a novel and want a board with zones for characters, places and plot points, linked by arrows.
  • You want to add this week's meeting notes and a screenshot to an existing project board without rearranging it by hand.
  • Your board looks broken after you renamed some files, and you want to know which cards point to missing notes.

How it works

  1. 1It finds your vault and the target board in wiki/canvases, reads the whole board and records a fingerprint of each file it may change.
  2. 2It drafts the new cards, groups and arrows in JSON Canvas format, keeping existing content and ordering intact.
  3. 3It positions items on a grid with padding and gaps, then checks IDs, sizes, file paths and arrow endpoints.
  4. 4It bundles the board, plus the canvas catalog if you keep one, into a transaction for the bundled claude-obsidian Python tool and shows you a preview.
  5. 5After you approve, it applies the change and reports the board name, card IDs and final positions.

Try asking

“Create a canvas that maps all my notes on climate policy, grouped by theme.”
“Add this week's meeting notes and the roadmap image to the project canvas.”
“Put this summary on the canvas next to the research question card.”
“What's the status of my main canvas? Are any links broken?”

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/AgriciDaniel/claude-obsidian/tree/main/skills/canvas
pnpm
pnpm dlx skills add https://github.com/AgriciDaniel/claude-obsidian/tree/main/skills/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 AgriciDaniel/claude-obsidian
/plugin install claude-obsidian@agricidaniel-claude-obsidian

Install manually

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

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

Then just ask in plain language, for example: “Create a canvas that maps all my notes on climate policy, grouped by theme.”