json-canvas

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

5|2|Updated Jul 2, 2026
One-click install
npx skills add https://github.com/Tx1207/hello-scholar --skill json-canvas-tx1207
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: json-canvas
Source: https://github.com/Tx1207/hello-scholar/tree/main/skills/memory/json-canvas
Command: npx skills add https://github.com/Tx1207/hello-scholar --skill json-canvas-tx1207

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

JSON Canvas files (.canvas) are used to model diagram structures with nodes and edges; this skill provides tooling and guidance to create and edit such canvases according to the JSON Canvas Spec.

Core Features & Use Cases

  • Create new canvases with a valid structure and unique node/edge IDs.
  • Add and position nodes, connect them with edges, and validate references.
  • Update and edit existing canvases including groups, types, and layout hints.
  • Use cases include mind maps, flowcharts, project boards, and research canvases for knowledge graphs.

Quick Start

Create a new .canvas file with the base structure {"nodes": [], "edges": []} and start adding nodes and edges.

Frequently Asked Questions about json-canvas

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

FAQPage Schema
How do I create a JSON Canvas file for a mind map or flowchart?

To create a JSON Canvas file, initialize a .canvas file with the base structure {"nodes": [], "edges": []}. You can then add nodes, position them, and connect them with edges to model your mind map or flowchart according to the JSON Canvas 1.0 spec.

What is the JSON Canvas format used for?

The JSON Canvas format is used to model diagram structures with nodes and edges. It is applicable for building mind maps, flowcharts, project boards, and research canvases to represent knowledge graphs and spatial relationships.

How do I validate node and edge references in a .canvas file?

To validate references in a .canvas file, ensure the JSON structure enforces unique node and edge IDs along with proper node and edge attributes. This validation process checks that all connections point to valid, existing nodes as specified by the JSON Canvas 1.0 spec.

Can I update existing canvas diagrams with new node groups and layout hints?

Yes, you can update and edit existing canvases by adding node groups, specifying node types, and providing layout hints. This allows you to reorganize and expand your diagrams while maintaining valid JSON structure and unique identifiers.

Does the JSON Canvas spec support nested groups for complex project boards?

The JSON Canvas spec supports node groups to organize complex project boards. You can group multiple nodes together within the canvas structure, ensuring the group itself has a unique ID and valid attributes to maintain structural integrity.