json-canvas

Create and edit valid JSON Canvas files with nodes, edges, and groups.

3|1|Updated Oct 8, 2025
One-click install
npx skills add https://github.com/maedmatt/dotfiles --skill json-canvas-maedmatt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: json-canvas
Source: https://github.com/maedmatt/dotfiles/tree/main/shared/skills/json-canvas
Command: npx skills add https://github.com/maedmatt/dotfiles --skill json-canvas-maedmatt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables agents to create and edit valid JSON Canvas files (.canvas) used in Obsidian and other apps.

Core Features & Use Cases

  • Create and edit canvas files containing nodes, edges, and groups
  • Validate against the JSON Canvas spec 1.0
  • Use for mind maps, flowcharts, and diagrams in Obsidian and compatible tools

Quick Start

Use the json-canvas skill to create a new canvas named example.canvas with a single text node and a connection to a second node.

Frequently Asked Questions about json-canvas

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate an Obsidian canvas file with nodes and edges?

To generate an Obsidian canvas file, this skill creates and edits valid .canvas files containing nodes, edges, and groups while enforcing the JSON Canvas schema. It supports mind-mapping and flowchart workflows.

Can I use this to create mind maps and flowcharts for Obsidian?

Yes, you can use this skill to create mind maps and flowcharts for Obsidian. It generates valid JSON Canvas files that model nodes, edges, and groups compatible with Obsidian and similar tools.

What is the JSON Canvas format used for?

The JSON Canvas format is used for diagramming workflows that model nodes, edges, and groups within a visual canvas. This skill enforces the schema, requiring unique IDs and valid references between nodes.

Does this skill validate unique IDs and references between canvas nodes?

Yes, this skill validates unique IDs and references between canvas nodes. It enforces the JSON Canvas spec 1.0, ensuring valid connections, colors, and subpath attributes within the generated diagram.

What do I need to start building a JSON Canvas diagram?

To start building a JSON Canvas diagram, you only need to define the text nodes and connections you want. The skill handles the schema enforcement and file generation for Obsidian and compatible tools.

Are there limitations when editing existing .canvas files?

When editing existing .canvas files, limitations include strict adherence to the JSON Canvas spec 1.0. The skill requires unique IDs and valid references between nodes, supporting colors and subpath attributes without schema deviations.