canvas
Skill299 starsChanged 8 months agoMITView on GitHub
AI-orchestrated visual production for Obsidian Canvas. Create presentations, flowcharts, mood boards, knowledge graphs, galleries, storyboards, timelines, dashboards, and more with intelligent layout and AI-generated content. Claude acts as Creative Director — dispatching sub-agents for image generation, SVG diagrams, GIF creation, and spatial layout. Supports 12 template archetypes, 6 layout algorithms, and Advanced Canvas presentation mode. Triggers on: /canvas, create canvas, build canvas, make a presentation, visual board, mood board, flowchart canvas, storyboard, canvas from template, lay out canvas, export canvas, canvas layout, canvas generate, add to canvas, put this on the canvas, open canvas, canvas present, canvas template.
26 other projects use a version of this, 2 of them edited.
Adopted by
Most recently taken up by
- JameMy0001/antigravity-skills-hubtheir own version, first seen Oct 2, 2026
- leishifu666/skillstheir own version, first seen Sep 29, 2026
- flowing-abyss/obsidian-vault-skillstheir own version, first seen Sep 19, 2026
- simota/agent-skillstheir own version, first seen Sep 17, 2026
- TeamHelix-AI/helixtheir own version, first seen Sep 12, 2026
- microsoft/vscode-dotnettoolstheir own version, first seen Sep 11, 2026
Used with
Projects with it also use goplaces, bluebubbles and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
seedprodSkillgoplaces
Query Google Places API (New) via the goplaces CLI for text search, place details, resolve, and reviews. Use for human-friendly place lookup or JSON output for scripts.
Also in 5 projects that use this
seedprodSkillbluebubbles
Build or update the BlueBubbles external channel plugin for OpenClaw (extension package, REST send/probe, webhook inbound).
Also in 4 projects that use this
indranilbanerjeeSkillnode-connect
Diagnose DMClaw node connection and pairing failures for Android, iOS, and macOS companion apps. Use when QR/setup code/manual connect fails, local Wi-Fi works but VPS/tailnet does not, or errors mention pairing required, unauthorized, bootstrap token invalid or expired, gateway.bind, gateway.remote.url, Tailscale, or plugins.entries.device-pair.config.publicUrl.
Also in 3 projects that use this
- +9 more from seedprod
Other versions26 projects use a version of this.
Word for word · 0
None found.
Edited · 2
- CarbeneAI/Forge★ 913% same
- eliransu/digital-brain★ 113% same
Wrote their own version · 24
- AgriciDaniel/claude-obsidian★ 15ksame name
- microsoft/vscode-dotnettools★ 323same name
- Xiangyu-CAS/codex-canvas★ 133same name
- seedprod/openclaw-prompts-and-skills★ 93same name
- simota/agent-skills★ 87same name
- Manavarya09/moldui★ 18same name
- flowing-abyss/obsidian-vault-skills★ 9same name
- iblai/k-12-agents★ 9same name
- parkerhancock/browser-canvas★ 9same name
- hoainho/podium-mcp★ 4same name
14 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository8 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- canvas-createSkill
- canvas-exportSkill
- canvas-generateSkill
- canvas-layoutSkill
- canvas-populateSkill
- canvas-presentSkill
- canvas-templateSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
21 rules. 0 are common, 14 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 23 edited versions we read keep these.
14
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
Before any operation, determine the canvas directory:
- Very specific: line 26
If wiki/canvases/ exists in the current directory or a parent: use it (claude-obsidian vault mode).
- Distinctive: line 30
Create the directory if it doesn't exist.
- Distinctive: line 64
If exists: read JSON, count nodes by type, list zone labels.
- Very specific: line 66
If not exists: report "No canvas found.
- Distinctive: line 83
Read these references before performing canvas operations:
- Distinctive: line 153
Read the canvas JSON first.
- Distinctive: line 157
Use the full 10-digit Unix timestamp to avoid collisions in batch operations.
- Very specific: line 161
If a collision is detected (ID already exists), append -2, -3, etc.
- Distinctive: line 178
Grid snapping: All x, y, width, height values should be multiples of 20.
- Distinctive: line 186
Every canvas produced by any sub-skill MUST pass these checks before reporting success.
- Distinctive: line 196
Every text node must contain real, useful content that a user can immediately understand
- Very specific: line 202
Mind-map canvases: must have radial layout (run canvas layout radial after instantiation)
- Very specific: line 203
Knowledge-graph canvases: must have force layout (run canvas layout force after instantiation)
- Very specific: line 204
Flowchart canvases: should have dagre layout applied (run canvas layout dagre for proper hierarchy)
- Distinctive: line 209
All coordinates are multiples of 20 (grid snapping)
- Distinctive: line 211
All file paths are vault-relative (no absolute paths)
- Very specific: line 215
Run python3 scripts/canvas_validate.py <path> — must return valid: true with 0 errors
- Distinctive: line 217
If the canvas has groups, verify content nodes are inside their designated zones (center-point check)
- Distinctive: line 218
If the archetype needs a specific layout (mind-map→radial, kg→force), verify it was applied
- Distinctive: line 227
If banana is not installed, report gracefully: "Install the banana skill for AI image generation."
“Common” is measured: kept by at least 6 in 10 of the 23 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
canvas: AI-Orchestrated Visual Production
Claude acts as Creative Director for Obsidian Canvas. Describe what you want and get a fully populated, professionally laid-out .canvas file.
Context Detection
Before any operation, determine the canvas directory:
- If
wiki/canvases/exists in the current directory or a parent: use it (claude-obsidian vault mode).- Media goes to
_attachments/images/canvas/
- Media goes to
- Otherwise: use
.canvases/in the current working directory (standalone mode).- Media goes to
.canvases/assets/
- Media goes to
- Create the directory if it doesn't exist.
Default canvas: [canvas_dir]/main.canvas
Command Routing
| Command | Sub-skill | Description |
/canvas (no args) | (inline) | Status: list canvases, node counts, zones |
/canvas create [name] | canvas-create | Create blank or templated canvas |
/canvas create [name] from [template] | canvas-create | Create from archetype |
/canvas add [type] [content] | canvas-populate | Add node (image/text/pdf/note/link/mermaid/svg/gif/banana) |
/canvas zone [name] [color] | canvas-populate | Add group node |
/canvas connect [from] [to] [label] | canvas-populate | Add edge between nodes |
/canvas from banana | canvas-populate | Import recent AI-generated images |
/canvas layout [algorithm] | canvas-layout | Re-layout (auto/grid/dagre/radial/force/linear) |
/canvas present [topic] | canvas-present | Build presentation canvas (1200x675 slides) |
/canvas present from [notes] | canvas-present | Presentation from existing content |
/canvas generate [description] | canvas-generate | AI-orchestrated full canvas generation |
/canvas template list | canvas-template | Browse 12 archetypes |
/canvas template use [name] | canvas-template | Instantiate a template |
/canvas export [format] [path] | canvas-export | Export to PNG/SVG/PDF |
/canvas list | (inline) | List all canvases with stats |
Status / List (Inline Operations)
/canvas (no args)
- Detect canvas directory (vault or standalone).
- Find default canvas (
main.canvas). - If exists: read JSON, count nodes by type, list zone labels. Report: "Canvas has N nodes: X images, Y text, Z files. Zones: [list]"
- If not exists: report "No canvas found. Run
/canvas create [name]to start."
/canvas list
- Glob
[canvas_dir]/*.canvas. - For each: read JSON, count nodes by type.
- Report table:
main.canvas 14 nodes (8 images, 3 text, 2 file, 1 group)
design-ideas.canvas 42 nodes (30 images, 4 text, 8 groups)Key References
Read these references before performing canvas operations:
references/canvas-spec.md— JSON Canvas 1.0 format, coordinate system, node types, edges, colors, sizingreferences/performance-guide.md— Node limits, GIF lag, SVG gotchas, 20px grid snapping
Additional references:
references/layout-algorithms.md— 6 layout algorithms (canvas-layout)references/template-catalog.md— 12 archetypes (canvas-template)references/presentation-spec.md— Advanced Canvas slides (canvas-present)references/mermaid-patterns.md— Mermaid in text nodes (canvas-populate, canvas-generate)references/media-guide.md— Image/GIF/SVG integration (canvas-generate, canvas-populate)
Auto-Positioning Algorithm
Used by canvas-populate to place new nodes. Read references/canvas-spec.md for the full coordinate system.
def next_position(canvas_nodes, target_zone_label, new_w, new_h):
# Find zone group node
zone = next((n for n in canvas_nodes
if n.get('type') == 'group'
and n.get('label') == target_zone_label), None)
if zone is None:
# No zone: place below all content
max_y = max((n['y'] + n.get('height', 0) for n in canvas_nodes), default=-140)
return snap_grid(-400, max_y + 60)
zx, zy = zone['x'], zone['y']
zw, zh = zone['width'], zone['height']
# Nodes inside this zone (exclude groups)
inside = [n for n in canvas_nodes
if n.get('type') != 'group'
and zx <= n['x'] < zx + zw
and zy <= n['y'] < zy + zh]
if not inside:
return snap_grid(zx + 20, zy + 20)
# Find the bottom-most row: nodes whose bottom edge is closest to the zone bottom
max_bottom = max(n['y'] + n.get('height', 0) for n in inside)
# Nodes on the last row: those whose top y is within one row-height of the bottom
last_row = [n for n in inside if n['y'] + n.get('height', 0) >= max_bottom - 20]
if not last_row:
last_row = inside # fallback
rightmost_x = max(n['x'] + n.get('width', 0) for n in last_row)
next_x = rightmost_x + 40
if next_x + new_w > zx + zw:
# Overflow: new row below the current last row
return snap_grid(zx + 20, max_bottom + 20)
# Same row: align to top of the LAST row (not all nodes)
current_row_y = min(n['y'] for n in last_row)
return snap_grid(next_x, current_row_y)
def snap_grid(x, y, grid=20):
return (round(x / grid) * grid, round(y / grid) * grid)ID Generation
Read the canvas JSON first. Collect all existing IDs. Never reuse one.
Pattern: [type]-[content-slug]-[full-unix-timestamp]
Use the full 10-digit Unix timestamp to avoid collisions in batch operations.
Examples: img-cover-1744032823, text-note-1744032845, zone-branding-1744032901
If a collision is detected (ID already exists), append -2, -3, etc.
Canvas JSON Structure
The minimal valid canvas:
{
"nodes": [],
"edges": []
}Z-index rule: First node in the array renders at the bottom (background). Last node renders on top (foreground). Groups MUST come before their contained nodes so content renders in front of zone backgrounds.
Grid snapping: All x, y, width, height values should be multiples of 20.
Node limit: Warn the user if a canvas exceeds 100 nodes. Error if it exceeds 200.
Quality Standards (MANDATORY)
Every canvas produced by any sub-skill MUST pass these checks before reporting success. These are not optional — they are the definition of "done."
Content Quality
- NO placeholder text in any node. Replace ALL of these:
- "Describe this step" → write a real step description relevant to the title
- "YYYY-MM-DD" → use today's date or a realistic date
- "Value: 0, Target: 100" → use realistic example values
- "Content goes here" → write actual content matching the slide topic
- "Define this entity" → write a real definition
- "What happened" → write a real event description
- Every text node must contain real, useful content that a user can immediately understand
- Template instantiation is STEP 1 — writing real content into the nodes is STEP 2 (never skip it)
Layout Quality
- Minimum 80px horizontal gap between adjacent content nodes
- Minimum 60px vertical gap between adjacent content nodes
- Mind-map canvases must have radial layout (run
canvas layout radialafter instantiation) - Knowledge-graph canvases must have force layout (run
canvas layout forceafter instantiation) - Flowchart canvases should have dagre layout applied (run
canvas layout dagrefor proper hierarchy) - No overlapping nodes — run
canvas_validate.pyto confirm
Structural Quality
- Groups (zones) appear BEFORE content nodes in the array (z-index)
- All coordinates are multiples of 20 (grid snapping)
- Node count under 120 (warn at 100, error at 200)
- All file paths are vault-relative (no absolute paths)
- Edge IDs are unique, node IDs are unique
Before Reporting Success
- Run
python3 scripts/canvas_validate.py <path>— must returnvalid: truewith 0 errors - Visually scan the generated JSON — are there any "Describe this" or "YYYY-MM-DD" strings remaining?
- If the canvas has groups, verify content nodes are inside their designated zones (center-point check)
- If the archetype needs a specific layout (mind-map→radial, kg→force), verify it was applied
Integration with Other Skills
banana (AI image generation):
/canvas add banana [prompt]delegates to the banana skill, then adds the result as a file node./canvas from bananareads.recent-images.txtor finds images modified in the last 10 minutes.- If banana is not installed, report gracefully: "Install the banana skill for AI image generation."
svg (diagram/chart/icon generation):
/canvas add svg [description]delegates to the svg skill, then adds the SVG as a file node.- SVGs render as
<img>in Obsidian — no interactivity. Must includeviewBoxfor proper scaling.
claude-gif-* (GIF generation/editing):
/canvas add gif [description]delegates to the gif skill, then adds as a file node.- Performance warning: limit to 3 GIFs per canvas, cap dimensions at 480px width.
Mermaid (native in text nodes):
- Mermaid code blocks render natively in Obsidian text nodes. No external skill needed.
- Wrap in triple-backtick mermaid code fence inside a text node.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

