json-canvas
Skill by davepoon
Creates and edits JSON Canvas (.canvas) files with nodes, edges, groups, and connections. It is aimed at users who build visual canvases, mind maps, or flowcharts, especially in Obsidian.
Install json-canvas
Built from the published package, never by AI.
git clone --depth 1 https://github.com/davepoon/buildwithclaude /tmp/buildwithclaude && mkdir -p ~/.claude/skills && cp -r /tmp/buildwithclaude/plugins/all-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/davepoon/buildwithclaude /tmp/buildwithclaude && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/buildwithclaude/plugins/all-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
This skill lets Claude Code create and edit valid JSON Canvas files with the .canvas extension. The format follows the JSON Canvas Spec 1.0 and is used in Obsidian and other applications. A canvas file holds a nodes array and an edges array.
The skill covers four node types: text (Markdown), file (references to notes or attachments), link (external URLs), and group (visual containers). It also explains edges with sides, end shapes, and labels, plus preset and hex colors. It includes layout guidelines for positions and sizes, an ID format, and validation rules. The source is aimed at people who work with .canvas files, mind maps, flowcharts, or project boards in Obsidian.
Written from the project's SKILL.md and checked against it.
What it can do
- Text nodesCreates nodes that hold Markdown content at set positions and sizes.
- File nodesReferences notes or attachments, with an optional subpath to a heading or block.
- Link nodesPlaces external URLs on the canvas.
- Group nodesCreates labeled visual containers with optional background images and styles.
- EdgesConnects nodes with sides, arrow ends, and optional text labels.
- ColorsApplies preset colors 1 to 6 or custom hex colors to nodes and edges.
- Layout guidelinesGives suggested node sizes, spacing, and grid alignment for readable layouts.
- Validation rulesChecks unique IDs, existing node references, and allowed type and side values.
Try asking
- Create a mind map canvas about my project ideas in Obsidian
- Build a flowchart canvas with a decision node and Yes and No branches
- Add a group called To Do and place three task notes inside it
Good to know
- Preset color values are intentionally undefined, so each application applies its own colors.
- Node and edge IDs must be unique across the canvas.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: plugins/all-skills/skills/json-canvas/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md12 KB
Alternatives to json-canvas
All alternatives →Creates importable JSON templates for the Obsidian Web Clipper. It is for users who want to clip a site, understand the available variables, or format clipped content.
Harness Creator builds, audits, and improves the instruction and state files that help AI coding agents stay reliable across sessions. It is for developers whose agents forget context, drift out of scope, or claim work is done too early.
Guides an assistant through extracting text from scanned PDFs, photographed pages, and images with OCR. Covers backends, language packs, force-OCR, and performance tuning.
Edits a named local file in place to remove AI-writing patterns, using minimal targeted changes and post-edit verification. Built for users who explicitly ask to clean, rewrite, or humanize that specific file.
Polishes, translates, or tightens existing academic manuscript prose while preserving facts, terminology, and evidence boundaries. Made for researchers revising drafts, including Chinese-to-English translation and LaTeX layout fixes.
Adds PDF form analysis and filling, table extraction, OCR, validation and batch processing to an AI assistant. Aimed at developers who run complex or high-volume PDF workflows.
Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr
json-canvas: common questions
What is a JSON Canvas file?
A JSON Canvas file uses the .canvas extension and contains valid JSON that follows the JSON Canvas Spec 1.0. The source describes it as an open file format for infinite canvas data.
Which node types does the skill support?
The source lists four node types: text, file, link, and group. Each has its own required attributes.
Does the skill work with Obsidian?
The skill is written for .canvas files used in Obsidian and other applications. The source mentions Obsidian as the main example and notes that Obsidian generates 16-character hexadecimal IDs.
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 85 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: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.
