canvas

canvas is a skill for Claude Code from DavidROliverBA/ArchitectKB. It costs 13 tokens per session (2,130 once invoked), scanned A, original, MIT.

A tool for creating and editing Obsidian Canvas files, which are visual boards made of connected text, files, and other elements. It is intended for mapping software architecture, systems, infrastructure, dependencies, and alternative designs.

In plain words
What is it for?
Building architecture context diagrams, system maps, data-flow views, AWS infrastructure layouts, dependency maps, and side-by-side design comparisons.
Why use it?
It turns complex relationships into a movable visual map instead of leaving them only in prose. It also documents the exact Canvas JSON structure needed for these files.

Skill for Claude Code

Written for Claude Code: context: fork in frontmatter. Also seen: model in frontmatter.

Good fit Building architecture context diagrams, system maps, data-flow views, AWS infrastructure layouts, dependency maps, and side-by-side design comparisons.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/davidroliverba/architectkb/canvas
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add DavidROliverBA/ArchitectKB --skill canvas
Clone the repo
git clone --depth 1 https://github.com/DavidROliverBA/ArchitectKB

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for canvas

README.md
[![agentmods](https://agentmods.dev/badge/skills/davidroliverba/architectkb/canvas/github.svg)](https://agentmods.dev/skills/davidroliverba/architectkb/canvas)
Your own site
<a href="https://agentmods.dev/skills/davidroliverba/architectkb/canvas"><img src="https://agentmods.dev/badge/skills/davidroliverba/architectkb/canvas/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for canvas

Your own site · 80×15
<a href="https://agentmods.dev/skills/davidroliverba/architectkb/canvas"><img src="https://agentmods.dev/badge/skills/davidroliverba/architectkb/canvas.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,130 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00013 $0.02130
Opus 5.5 $0.00005 $0.00852
Sonnet 5.5 $0.00003 $0.00426
Haiku 4.5 $0.00001 $0.00213

Measured 3mo ago against content hash c6b3a0670259, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

canvas scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/canvas/SKILL.md · 261 lines

How it starts

The opening of the file, as written. The whole thing — 261 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/canvas Skill

Create and edit Obsidian Canvas files (.canvas JSON format) for architecture visualization.

When to Use This Skill

Use when creating or editing .canvas files (Obsidian Canvas format):

  • Create architecture context diagrams (C4 Level 1)
  • Design system landscape maps
  • Visualize data flow architectures
  • Show AWS infrastructure layouts
  • Compare scenarios side-by-side
  • Map system dependencies

⚠️ CRITICAL: Linter Configuration Warning

The Obsidian linter will corrupt .canvas files if enabled. If you have a linter active (prettier, eslint, etc.):

  1. DISABLE it for .canvas files
  2. Or DISABLE it globally during canvas editing
  3. Canvas files use a specific JSON format that lingers may reformat incorrectly

The linter will delete nodes with empty text fields and reduce complex diagrams to 2 nodes.

Canvas JSON Structure

Correct Format

Every node MUST use text property for content (NOT label):

{
  "nodes": [
    {
      "id": "unique-id",
      "type": "text",
      "x": 0,
      "y": 0,
      "width": 200,
      "height": 100,
      "color": "3",
      "text": "Node Content\nMultiline supported\nWith \\n character"
    }
  ],
  "edges": [
    {
      "id": "edge-id",
      "fromNode": "node-id-1",
      "toNode": "node-id-2",
      "fromSide": "right",
      "toSide": "left",
      "label": "Edge Label"
    }
  ],
  "metadata": {
    "version": "1.0-1.0",
    "frontmatter": {}
  }
}

Property Reference

Node Properties:

Property Required Type Values Notes
id ✅ string Any unique ID Use kebab-case
type ✅ string "text" Currently only text type supported
x ✅ number Any integer Canvas X coordinate
y ✅ number Any integer Canvas Y coordinate
width ✅ number Any positive int Node width in pixels
height ✅ number Any positive int Node height in pixels
text ✅ string Any text USE THIS FOR NODE CONTENT (not label)
color ❌ string "1"-"6" Color: 1=red, 2=orange, 3=yellow, 4=purple, 5=cyan, 6=green

Read the full file on GitHub · 261 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 261 lines · 13 tokens per session scan A c6b3a0670259

Subscribe to this mod's changes

canvas is a skill published in the GitHub repository DavidROliverBA/ArchitectKB (53 stars, last pushed 9mo ago), licensed MIT. It adds 13 tokens to every session and 2,130 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

canvas compared with skills from other repositories

canvas next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
canvasDavidROliverBA/ArchitectKBSkill539mo agoMITA13Claude Code
webgl-holographic-foilnexu-io/open-designSkill111ktodayApache-2.0A41Claude Code, Codex
html-ppt-hermes-cyber-terminalnexu-io/open-designSkill111ktodayApache-2.0A53Claude Code, Codex
html-ppt-taste-brutalistnexu-io/open-designSkill111ktodayApache-2.0A78Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34k2d agoMITA52Codex
glance-canonical-layoutsandroid/skillsSkill11k10d agoApache-2.0A56Claude Code
accessibilitymicrosoft/hve-coreSkill1.7ktodayMITA47Claude Code