Skip to content
Back to skills

Obsidian Canvas Architect

ASecurity

Programmatically creates and manipulates Obsidian Canvas (.canvas) files using JSON Canvas Spec 1.0. Generates visual flowcharts, architecture diagrams, and planning boards.

  • 7 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 2, 2026
ai-agentspythonbashnode

Security analysis

A100/100

Pro scans all 14 files and shows the line behind each finding

Scanned October 3, 2026

npx -y skills add richfrem/agent-plugins-skills --skill obsidian-canvas-architect --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Obsidian Canvas Architect?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Obsidian Canvas Architect
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/richfrem-obsidian-canvas-architect-agent-plugins-skills/badge)](https://www.skillsdirectory.com/skills/richfrem-obsidian-canvas-architect-agent-plugins-skills)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: obsidian-canvas-architect
description: Programmatically creates and manipulates Obsidian Canvas (.canvas) files using JSON Canvas Spec 1.0. Generates visual flowcharts, architecture diagrams, and planning boards.
---

# Obsidian Canvas Architect (obsidian-canvas-architect)

Programmatically creates and manipulates Obsidian Canvas (`.canvas`) files using JSON Canvas Spec 1.0.

## Contents
- [Critical Constraints](#critical-constraints)
- [Dependencies](#dependencies)
- [Quick start](#quick-start)
- [Workflow](#workflow)
- [Verification](#verification)
- [References](#references)

## Critical Constraints
- All canvas mutations must route through atomic write operations with schema validation.
- Node and edge identifiers must be generated dynamically via UUIDs to prevent collisions.
- Every node requires explicit positioning coordinates (`x`, `y`, `width`, `height`).

## Dependencies

Requires Python 3.8+ and standard library modules.

## Quick start
```bash
# Create empty canvas
python3 plugins/obsidian-wiki-engine/scripts/canvas_ops.py create --file <path.canvas>

# Add node to canvas
python3 plugins/obsidian-wiki-engine/scripts/canvas_ops.py add-node --file <path.canvas> --type text --text "Node Title" --x 100 --y 200

# Add directed edge between nodes
python3 plugins/obsidian-wiki-engine/scripts/canvas_ops.py add-edge --file <path.canvas> --from-node id1 --to-node id2
```

## Workflow
1. **Canvas Initialization**: Verify or create the target `.canvas` file with empty nodes and edges arrays.
2. **Node Creation**: Add text, file reference, link, or group visual containers with coordinate bounding boxes.
3. **Edge Routing**: Connect nodes with directional edges specifying source and target side ports.
4. **Validation & Persistence**: Stage JSON writes atomically and validate against JSON Canvas Spec 1.0.

## Verification
```bash
# Inspect canvas structure and node validity
python3 plugins/obsidian-wiki-engine/scripts/canvas_ops.py read --file <path.canvas>

# Audit skill compliance
python3 plugins/agent-scaffolders/scripts/audit_skill.py plugins/obsidian-wiki-engine/skills/obsidian-canvas-architect --mode source
```

## References
- [acceptance-criteria.md](references/acceptance-criteria.md) - Canvas architect invariants and validation criteria.
- [fallback-tree.md](references/fallback-tree.md) - Recovery procedures for malformed JSON and canvas write errors.

Files in this skill

  • SKILL.md2.9 KB
  • acceptance-criteria.md645 B
  • assets/resources/architecture-background.md55 B
  • assets/resources/kepano-analysis-summary.md55 B
  • assets/resources/safety-learnings.md48 B
  • evals/evals.json731 B
  • evals/results.tsv301 B
  • fallback-tree.md836 B
  • references/acceptance-criteria.md25 B
  • references/fallback-tree.md19 B
  • requirements.txt22 B
  • scripts/canvas_ops.py30 B
  • scripts/parser.py42 B
  • scripts/vault_ops.py29 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…