canvas
What it does
This skill lets your agent build and change Obsidian canvas boards. It is for people who like to plan ideas visually, with notes and links on one page.
When to use it
- ✓When you want a visual map of notes or ideas on an Obsidian canvas.
- ✓When you want to add a note, file, or link to an existing canvas board.
- ✓When you want to check which canvas boards already exist in your vault.
Skill link
https://github.com/AgriciDaniel/claude-obsidian/blob/main/skills/canvas/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Put my project notes on a new canvas board, grouped by topic, so I can see how they connect.”
5 new skills a week. 1 minute to read.
How it works
The agent reads or edits the canvas file in a safe way, adding nodes, groups, and connecting lines. It saves each change as one step so it can be recovered if something goes wrong.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Canvas
Treat a canvas as a vault-scoped JSON Canvas document. Keep reads read-only and route every requested mutation through one recoverable transaction.
Resolve the installed product root from this skill's own location, not from the vault or current working directory:
PRODUCT_ROOT=/absolute/path/to/installed/claude-obsidian
CORE="$PRODUCT_ROOT/scripts/claude-obsidian.py"
test -f "$CORE"
Every ../wiki/references/ link in this file resolves the same way, relative
to this skill's own directory under $PRODUCT_ROOT, never relative to the
selected vault's wiki/ directory.
Choose the syntax source
Prefer a separately installed kepano/obsidian-skills json-canvas skill for
format details. Otherwise read references/canvas-spec.md.
The open standard is JSON Canvas 1.0.
Use this skill for vault workflow and transaction safety even when an upstream syntax skill is available.
Scope
- Resolve the user vault before reading. Never derive it from plugin files.
- Store boards under
wiki/canvases/; usewiki/canvases/main.canvasonly as the default when the user did not name a board. - Treat
wiki/canvases/_index.mdas an optional catalog. Add a new board to it in the same transaction when a catalog exists. Node or edge edits inside an existing board do not require a catalog change. - The transaction engine supports file creation and replacement only. A board file cannot be deleted or renamed through this skill. Explain that boundary for a file-removal or file-rename request and return a separate cleanup plan; do not substitute host file tools or silently turn a rename into a copy.
- Use vault-relative paths in
fileandbackground; reject absolute paths,..traversal, home shortcuts, and paths that escape through symlinks. - Reference only files already inside the vault or created in the same reviewed transaction. If an optional capture or media capability is detected, compose with it and consume its returned vault-relative path. Do not assume a particular plugin, command, or session log, and do not download or copy assets in this skill.
- Use
linknodes for URLs. Accept HTTPS URLs only; a link node does not grant permission to fetch the page. Creating its JSON makes no request, but opening it in Obsidian may fetch Open Graph metadata from that URL's host. Disclose that render-time egress and confirm it is acceptable; otherwise use a text node containing the URL.
Read-only operations
For status or list requests, parse the selected .canvas files and report node
counts, group labels, broken edge endpoints, and missing vault-relative file
targets. If the default canvas is absent, report that fact and offer a creation
preview; do not create it during a status request.
Draft a mutation
- Read the entire canvas and any catalog target. Record each expected SHA-256,
or
nullfor a file that must be absent. - Preserve unknown JSON fields and existing array order. The node array is bottom-to-top z-order.
- Draft the requested nodes or edges:
- Give every node and edge a unique ID. Prefer a random 16-character lowercase hexadecimal ID and verify it is unused.
- Require integer
x,y,width, andheightvalues for every node. - Use
text,file,link, orgroupexactly as defined by JSON Canvas. - Require every
fromNodeandtoNodeto reference an existing or newly drafted node.
- Position new content deliberately. A group is a visual container, not a parent. Use 20 px inner padding and 40 px gaps, wrap to a new row when needed, and preview any group expansion.
- Serialize valid UTF-8 JSON with top-level
nodesandedgesarrays.
Minimal node examples:
{
"nodes": [
{
"id": "6f0ad84f44ce9c17",
"type": "text",
"text": "# Research map\n\nA concise orientation card.",
"x": 0,
"y": 0,
"width": 400,
"height": 180
},
{
"id": "a1b2c3d4e5f67890",
"type": "file",
"file": "wiki/concepts/Contextual Retrieval.md",
"x": 460,
"y": 0,
"width": 400,
"height": 240
}
],
"edges": []
}
Use file plus optional subpath: "#Heading" for notes, images, PDFs, and
other vault files. Use url only on a link node. Escape line breaks in JSON
strings as \n, not as literal backslash-plus-n text.
Preview and apply
Validate before showin
FAQ
Where are canvas boards saved?
They are stored in the canvases folder of your wiki, and the main board is the default if you do not name one.
Can it just tell me what boards exist?
Yes. Reading boards is read-only, so the agent can list them without changing anything.
Does it need another skill?
It can use a separate syntax skill for the canvas format if one is installed, but it works without one.
Details
Original description by the author
Create, inspect, and update Obsidian JSON Canvas boards with text, file, link, group, and edge nodes. Use for canvas status, canvas lists, visual maps, zones, spatial layouts, adding vault notes or media to a .canvas file, and requests such as create canvas, add to canvas, or put this on the canvas.
Popularity
- GitHub stars
- 16k
- Ranking position
- #10805
- License
- MIT
- Updated
- 10/25/2026
Comments
- …
More skills from this repository
autoresearch
16kLets your agent research a topic within set limits and draft a cited report. Web findings stay as evidence and are not added to your notes automatically.
defuddle
16kHelps your agent plan how to clean a web page into readable text and keep local copies of source files. Network cleaning is not yet available.
obsidian-bases
16kHelps your agent design Obsidian Bases views that work like simple databases, with filters, formulas, and table or card layouts.
obsidian-markdown
16kExplains Obsidian's extended Markdown, such as links, embeds, callouts, and properties, and helps draft notes that use them.
Similar skills
knowledge-capture
394kTeaches your agent to save decisions, preferences, and key facts to your Knowledge vault as short notes with source attribution.
knowledge-claim-consolidation
394kHelps your agent tidy a Knowledge vault by merging duplicate claims, moving them to the right subject pages, and retiring outdated ones.
knowledge-correct
394kLets your agent fix or withdraw a specific saved Knowledge claim or page at your request, keeping a record of what changed.