Skip to content
Kitbay

json-canvas

MITUpdated on Sep 15, 202651,606GitHub stars

An agent skill from the Obsidian team's obsidianmd/obsidian-skills repository for writing and editing .canvas files in the JSON Canvas 1.0 format that Obsidian Canvas uses.

What the skill teaches

An agent skill from the Obsidian team's obsidianmd/obsidian-skills repository for writing and editing .canvas files in the JSON Canvas 1.0 format that Obsidian Canvas uses. It explains the file layout of node and edge arrays and gives step-by-step routines for starting a new canvas, placing a node without overlapping others, joining two nodes with an edge and grouping content, using unique 16-character hex IDs. After each change the agent is told to parse the JSON and confirm every edge points at a node that exists. Reference files in the skill folder add further detail on the format.

Capabilities

  • Create JSON Canvas (.canvas) files
  • Add positioned nodes to an existing canvas
  • Connect nodes with edges
  • Group nodes on a canvas
  • Check canvas JSON and edge references