json-canvas
Skill by sickn33
Creates and edits JSON Canvas (.canvas) files with nodes, edges, groups and connections. Built for Obsidian users who want mind maps, flowcharts or visual note layouts.
Install json-canvas
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/json-canvas ~/.claude/skills/json-canvasRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/json-canvas ~/.gemini/antigravity-cli/skills/json-canvasAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The json-canvas skill lets an AI assistant create and edit JSON Canvas files with the .canvas extension. It works with nodes, edges, groups and connections, and describes text, file, link and group node types. The skill follows the JSON Canvas Spec 1.0 and gives step-by-step workflows for creating a canvas, adding a node, connecting two nodes and editing an existing file.
Each workflow ends with a validation step. The assistant checks that IDs are unique, that edges point to existing nodes, that required fields are present and that the JSON parses. The skill also sets trust rules: it preserves unknown fields and existing IDs, writes only to the requested path and treats embedded Markdown and URLs as content. It is aimed at Obsidian users who want mind maps, flowcharts or visual note structures.
Written from the project's SKILL.md and checked against it.
What it can do
- Create a new canvasBuilds a base canvas with nodes and edges arrays and adds nodes with unique IDs.
- Add a nodeAppends a node to an existing canvas at a position that avoids overlaps.
- Connect two nodesAdds an edge between two existing nodes with optional sides, arrows and labels.
- Edit an existing canvasLocates a node or edge by ID, changes its attributes and writes the file back.
- Text nodesCreates text nodes with Markdown content.
- File and link nodesCreates nodes that reference a file in the vault or an external URL.
- Group nodesCreates groups that visually contain other nodes, with an optional label.
- ValidationChecks ID uniqueness, edge references, node types, sides, ends and colors.
What you need
- Obsidian canvas files (.canvas)
Try asking
- Create a mind map canvas about my project ideas with five branches.
- Add a text node to my Roadmap.canvas and connect it to the Goals node.
- Validate my flowchart.canvas and fix any dangling edge references.
Good to know
- File and background paths must stay within the authorized vault.
- Link previews may make network requests.
- Preset colors are undefined in the spec, so applications use their own brand colors.
- Embedded Markdown and URLs are treated as content and are not fetched or executed.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/json-canvas/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md9 KB -
references/EXAMPLES.md6 KB
Alternatives to json-canvas
All alternatives →Set up and diagnose a local agentmemory installation. It covers MCP connections, environment variables, ports, auth and feature flags, and is for users getting started or checking a connection.
Analyzes a Karpathy-pattern LLM wiki and builds an interactive knowledge graph with entities, implicit links and topic clusters. Built for people who maintain LLM-generated markdown wikis.
Saves and loads timestamped reports for AI assistants, with keyword routing for fast lookup. It also runs an Actionability Gate that checks report links before delivery. Intended for morning briefings, meeting digests and research reports.
Removes a personal fact, preference, relationship detail, topic or past event from Muse's active memory. It also stops existing copies and automations from bringing it back.
Git Context Controller (GCC) is a skill that stores agent memory as a versioned file system under .GCC/. It suits multi-step projects that need milestone tracking, branching and context recovery across sessions.
Guides an evidence-first reading of a book, article, PDF or document set. Built for readers who want claims, evidence and recall rather than a short summary.
Compare with agentmemory-config, understand-knowledge or reports
json-canvas: common questions
What is a JSON Canvas file?
A JSON Canvas file uses the .canvas extension and contains two top-level arrays, nodes and edges, following the JSON Canvas Spec 1.0.
Which node types does the skill support?
The skill lists text, file, link and group node types. Each type has its own required fields, such as text for text nodes and url for link nodes.
Does the skill keep existing data when editing a canvas?
Yes. The source says it preserves unknown extension fields and existing IDs, and it validates the file before replacing the original.
How do I install json-canvas?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is json-canvas free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is json-canvas safe to use?
It scores 93 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to json-canvas?
Similar skills: agentmemory-config, understand-knowledge, reports, forget.
