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-code

Installs 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 objects
  • edges (optional): Array of edge objects connecting nodes

Nodes

Nodes are objects placed on the canvas. There are four node types:

  • text - Text content with Markdown
  • file - Reference to files/attachments
  • link - External URL
  • group - 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
1mblode avatarcopywritingmblode/agent-skillsWrites and edits short product and marketing copy, including landing pages, CTAs, onboarding strings, product descriptions, email subjects, UI state copy, brand483skills.sh installs
2agricidaniel avatarcanvasagricidaniel/claude-obsidianCreate, inspect, and update Obsidian JSON Canvas boards with text, file, link, group, and edge nodes. Use for canvas status, canvas lists, visual maps, zones, s479skills.sh installs
3jezweb avatartiptapjezweb/claude-skillsBuild rich text editors with Tiptap - headless editor framework with React and Tailwind v4. Covers SSR-safe setup, image uploads, prose styling, and collaborati478skills.sh installs
4haowjy avatarstory-architecturehaowjy/creative-writing-skillsArc structure, narrative design, and pacing at multiple scales: saga, arc, chapter, scene. Use when structuring story at any level, planning arcs, designing cha477skills.sh installs
5l3wi avatareda-pcbl3wi/claude-edaPCB layout and routing. Component placement, trace routing, copper pours, design rule configuration, and layout optimization for manufacturability.477skills.sh installs
6badlogic avatarbrowser-toolsbadlogic/pi-skillsInteractive browser automation via Chrome DevTools Protocol. Use when you need to interact with web pages, test frontends, or when user interaction with a visib475skills.sh installs