excalidraw-diagram

excalidraw-diagram is a skill for Claude Code, Codex from BCS1037/awesome-obsidian-skills. It costs 76 tokens per session (2,717 once invoked), scanned A, original, CC0-1.0.

A tool that converts written content into Excalidraw diagrams saved as Obsidian-ready files. Excalidraw is a sketch-style diagram editor, and Obsidian is a note-taking app.

In plain words
What is it for?
Use it to create flowcharts, mind maps, and diagrams from text, with the required Excalidraw structure and metadata for Obsidian.
Why use it?
It removes the manual work of drawing and formatting flowcharts, mind maps, and other visual explanations.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create flowcharts, mind maps, and diagrams from text, with the required Excalidraw structure and metadata for Obsidian.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bcs1037/awesome-obsidian-skills/excalidraw-diagram
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 BCS1037/awesome-obsidian-skills --skill excalidraw-diagram
Clone the repo
git clone --depth 1 https://github.com/BCS1037/awesome-obsidian-skills

Made for: Claude Code, Codex.

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 excalidraw-diagram

README.md
[![agentmods](https://agentmods.dev/badge/skills/bcs1037/awesome-obsidian-skills/excalidraw-diagram/github.svg)](https://agentmods.dev/skills/bcs1037/awesome-obsidian-skills/excalidraw-diagram)
Your own site
<a href="https://agentmods.dev/skills/bcs1037/awesome-obsidian-skills/excalidraw-diagram"><img src="https://agentmods.dev/badge/skills/bcs1037/awesome-obsidian-skills/excalidraw-diagram/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 excalidraw-diagram

Your own site · 80×15
<a href="https://agentmods.dev/skills/bcs1037/awesome-obsidian-skills/excalidraw-diagram"><img src="https://agentmods.dev/badge/skills/bcs1037/awesome-obsidian-skills/excalidraw-diagram.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,717 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.00076 $0.02717
Opus 5 $0.00038 $0.01358
Sonnet 5 $0.00015 $0.00543
Haiku 4.5 $0.00008 $0.00272

Measured 12d ago against content hash 4b0bd48e7501, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

excalidraw-diagram 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 12d 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.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

skills/obsidian-visual-skills/excalidraw-diagram/SKILL.md · 309 lines

How it starts

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

Excalidraw Diagram Generator

Create Excalidraw diagrams from text content, outputting Obsidian-ready .md files.

Workflow

  1. Analyze content - identify concepts, relationships, hierarchy
  2. Choose diagram type (see below)
  3. Generate Excalidraw JSON
  4. Generate Obsidian-ready .md file with Excalidraw frontmatter
  5. Automatically save to current working directory
  6. Notify user with file path and confirm save successful

Output Format

严格按照以下结构输出,不得有任何修改:

---
excalidraw-plugin: parsed
tags: [excalidraw]
---
==⚠  Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠== You can decompress Drawing data with the command palette: 'Decompress current Excalidraw file'. For more info check in plugin settings under 'Saving'

# Excalidraw Data

## Text Elements
%%
## Drawing
\`\`\`json
{JSON 完整数据}
\`\`\`
%%

关键要点:

  • Frontmatter 必须包含 tags: [excalidraw]
  • 警告信息必须完整
  • JSON 必须被 %% 标记包围
  • 不能使用 excalidraw-plugin: parsed 以外的其他 frontmatter 设置

Diagram Types & Selection Guide

选择合适的图表形式,以提升理解力与视觉吸引力。

类型 英文 使用场景 做法
流程图 Flowchart 步骤说明、工作流程、任务执行顺序 用箭头连接各步骤,清晰表达流程走向
思维导图 Mind Map 概念发散、主题分类、灵感捕捉 以中心为核心向外发散,放射状结构
层级图 Hierarchy 组织结构、内容分级、系统拆解 自上而下或自左至右构建层级节点
关系图 Relationship 要素之间的影响、依赖、互动 图形间用连线表示关联,箭头与说明
对比图 Comparison 两种以上方案或观点的对照分析 左右两栏或表格形式,标明比较维度
时间线图 Timeline 事件发展、项目进度、模型演化 以时间为轴,标出关键时间点与事件
矩阵图 Matrix 双维度分类、任务优先级、定位 建立 X 与 Y 两个维度,坐标平面安置
自由布局 Freeform 内容零散、灵感记录、初步信息收集 无需结构限制,自由放置图块与箭头

Design Rules

Text & Format

  • 所有文本元素必须使用 fontFamily: 5(Excalifont 手写字体)
  • 文本中的双引号替换规则" 替换为 『』
  • 文本中的圆括号替换规则() 替换为 「」
  • 字体大小规则
    • 标题:24-28px
    • 副标题:18-20px
    • 正文/说明:14-16px
  • 行高:所有文本使用 lineHeight: 1.25

Layout & Design

  • 画布范围:建议所有元素在 0-1200 x 0-800 区域内
  • 元素间距:确保元素间距适当,整体布局美观
  • 层次清晰:使用不同颜色和形状区分不同层级的信息
  • 图形元素:适当使用矩形框、圆形、箭头等元素来组织信息

Read the full file on GitHub · 309 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 309 lines · 76 tokens per session scan A 4b0bd48e7501

Subscribe to this mod's changes

excalidraw-diagram is a skill published in the GitHub repository BCS1037/awesome-obsidian-skills (8 stars, last pushed 7mo ago), licensed CC0-1.0. It adds 76 tokens to every session and 2,717 once invoked, about $0.0004 per session on Opus 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-31.

Related

Other skills, from other repositories

webgl-holographic-foil

A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.

nexu-io/open-design · 41 tokens

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

html-ppt-taste-brutalist

16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).

nexu-io/open-design · 78 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ultragoal with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 52 tokens

accessibility

Consolidated accessibility skill entrypoint for WCAG 2.2, ARIA Authoring Practices, cognitive accessibility, Section 508, EN 301 549, design intent verification, and the Accessibility Planner workflow.

microsoft/hve-core · 47 tokens

make-resume

A Chinese-language tool for creating editable HTML resumes that can be changed in a browser and printed to PDF. It uses available resume templates when they are installed and otherwise provides a simpler fallback.

Hisn00w/ASu-skills · 86 tokens