
Json Canvas
If you're working with Obsidian Canvas files or need to generate visual diagrams programmatically, this handles the full JSON Canvas spec. It creates and edits .canvas files with text nodes, file references, links, and groups, connected by edges with customizable endpoints and labels. The z-index ordering through array position is worth knowing about if you care about layering. Useful for generating mind maps, flowcharts, or project boards without manually clicking around in a canvas interface. The spec itself is straightforward JSON with nodes and edges, so you can template out complex diagrams or convert structured data into visual formats that Obsidian can render.
- skills.sh installs
- 484
- GitHub stars
- 474
- last updated
- Aug 21, 2026
Install
$ npx -y skills add freestylefly/canghe-skills --skill json-canvas --agent claude-codeInstalls into .claude/skills of the current project.
Files
JSON Canvas Skill
This skill enables skills-compatible agents to create and edit valid JSON Canvas files (.canvas) used in Obsidian and other applications.
Overview
JSON Canvas is an open file format for infinite canvas data. Canvas files use the .canvas extension and contain valid JSON following the JSON Canvas Spec 1.0.
File Structure
A canvas file contains two top-level arrays:
{
"nodes": [],
"edges": []
}
nodes(optional): Array of node objectsedges(optional): Array of edge objects connecting nodes
Nodes
Nodes are objects placed on the canvas. There are four node types:
text- Text content with Markdownfile- Reference to files/attachmentslink- External URLgroup- Visual container for other nodes
Z-Index Ordering
Nodes are ordered by z-index in the array:
- First node = bottom layer (displayed below others)
- Last node = top layer (displayed above others)
Generic Node Attributes
All nodes share these attributes:
Sponsors
Details
- Repository
- github.com/freestylefly/canghe-skills
- Categories
- Design & UI/UX, Office & Documents
- First seen
- Jun 3, 2026
More from freestylefly/canghe-skills
All 29- Skill Creator483
- Obsidian Bases477
- Release Skills476
- Flyworks Avatar Video378
- Paddleocr Doc Parsing373
- Manga Drama863
- Manga Style Video667
- Seedance Video609
- Canghe Image Gen598
- Canghe Comic584
- Volcengine Video Understanding579
- Canghe Xhs Images573
- Canghe Cover Image545
- Canghe Markdown To Html536
- Canghe Article Illustrator522
- Canghe Infographic516
- Canghe Url To Markdown510
- Canghe Slide Deck506
- Canghe Format Markdown505
- Remotion Best Practices503
- Canghe Post To Wechat498
- Canghe Danger Gemini Web497
- Find Skills497
- Canghe Compress Image494