canvas-create
Create new Obsidian Canvas files — blank with a starter structure, or from one of 12 template archetypes (presentation,…
Re-layout existing Obsidian Canvas nodes using 6 spatial algorithms: grid (galleries, mood boards), dagre (flowcharts, org charts), radial (mind maps), force-directed (knowledge graphs), linear (timelines), and auto-detect. Preserves group membership, snaps to 20px grid, refits
Claude Code
$ npx -y skills add AgriciDaniel/claude-canvas --skill canvas-layout --agent claude-code
Codex
$ npx skills add AgriciDaniel/claude-canvas --skill canvas-layout -a codex -y
Cursor
$ npx skills add AgriciDaniel/claude-canvas --skill canvas-layout -a cursor -y
Gemini CLI
$ npx skills add AgriciDaniel/claude-canvas --skill canvas-layout -a gemini-cli -y
GitHub Copilot
$ npx skills add AgriciDaniel/claude-canvas --skill canvas-layout -a github-copilot -y
OpenCode
$ npx skills add AgriciDaniel/claude-canvas --skill canvas-layout -a opencode -y
Windsurf
$ npx skills add AgriciDaniel/claude-canvas --skill canvas-layout -a windsurf -y
name: canvas-layout description: > Re-layout existing Obsidian Canvas nodes using 6 spatial algorithms: grid (galleries, mood boards), dagre (flowcharts, org charts), radial (mind maps), force-directed (knowledge graphs), linear (timelines), and auto-detect. Preserves group membership, snaps to 20px grid, refits zones around content. Triggers on: canvas layout, re-layout canvas, arrange canvas, auto-layout, organize canvas, fix canvas layout, canvas grid, canvas dagre. user-invocable: false
Read `../canvas/references/layout-algorithms.md` for algorithm details and selection guide. Read `../canvas/references/performance-guide.md` for node limits.
---
1. **Identify target canvas**: Use the active canvas or ask which one (`/canvas list` to show options). 2. **Select algorithm**: Use the user-specified algorithm, or run `auto` detection. 3. **Confirm before applying**: Show what will happen: "Will apply [algorithm] layout to [canvas] ([N] nodes, [M] groups). Create backup? [Y/n]" 4. **Run the layout script**:
python3 scripts/canvas_layout.py [canvas_path] [algorithm] [options]
5. **Report results**: "Moved [N] of [M] nodes. [G] groups refitted. Backup at [path].bak" 6. **Validate**: Run `python3 scripts/canvas_validate.py [canvas_path]` to confirm valid output.
---
When the user says `/canvas layout auto` or doesn't specify an algorithm, use the auto-detection in the script. It analyzes edge density, node types, and connection patterns.
For explicit requests, map user intent to algorithm:
| User says | Algorithm | Options | |-----------|-----------|---------| | "organize these images" | grid | `--sort-by type` | | "make a grid" | grid | | | "flowchart layout" | dagre | `--direction TB` | | "left to right flow" | dagre | `--direction LR` | | "mind map layout" | radial | | | "expand from [node]" | radial | `--center [node-id]` | | "untangle this" | force | | | "spread out the nodes" | force | | | "make a timeline" | linear | `--axis horizontal` | | "vertical sequence" | linear | `--axis vertical` | | "auto-layout" | auto | | | "fix the layout" | auto | |
---
Pass algorithm-specific options to the script:
Add `--dry-run` to preview without writing.
---
When a canvas has more than 30 nodes, dispatch the `canvas-layout` agent instead of running the script directly. The agent can:
---
AI-orchestrated visual production for Obsidian Canvas. Create presentations, flowcharts, mood boards, knowledge graphs, and galleries with intelligent layout and AI-generated content.
Create new Obsidian Canvas files — blank with a starter structure, or from one of 12 template archetypes (presentation,…
Export Obsidian Canvas files to PNG, SVG, or PDF formats. Uses the Advanced Canvas plugin's built-in export when Obsidian is…
AI-orchestrated full canvas generation. Given a description, detects the best archetype, generates content and visuals,…
Add content to existing Obsidian Canvas files. Supports all node types: images (with auto aspect ratio detection), text cards,…
Build presentation-mode canvases for the Advanced Canvas plugin. Creates slide-deck canvases with 1200x675 group nodes connected…
Browse and instantiate 12 canvas template archetypes: presentation, flowchart, mind-map, gallery, dashboard, storyboard,…
Activates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use…
AI-driven presentation workflow for generating editable PPTX decks and slides, reconstructing page visuals, creating reusable…
Use this skill when the user wants a .pptx with smooth cross-slide animation — PowerPoint Morph transitions, Keynote-style…
Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to…