obsidian-excalidraw

obsidian-excalidraw is a skill for Claude Code from sjungling/sjungling-claude-plugins. It costs 98 tokens per session (2,705 once invoked), scanned B, original, MIT.

A tool for creating Excalidraw diagrams—sketch-style diagrams that can be stored in Obsidian, a note-taking app with linked files.

In plain words
What is it for?
Use it to create flowcharts, relationship maps, network diagrams, and other diagrams as .excalidraw files.
Why use it?
It avoids hand-writing the file format needed to generate and embed diagrams in an Obsidian vault.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: reads .claude/ paths.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the obsidian-excalidraw plugin — 1 skill shipped together

Good fit Use it to create flowcharts, relationship maps, network diagrams, and other diagrams as .excalidraw files.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add sjungling/sjungling-claude-plugins
Claude Code
/plugin install obsidian-excalidraw

Made for: Claude Code.

Or install obsidian-excalidraw, the plugin that ships this one along with the rest of its 1 skill.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sjungling/sjungling-claude-plugins/obsidian-excalidraw"><img src="https://agentmods.dev/badge/skills/sjungling/sjungling-claude-plugins/obsidian-excalidraw.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,705 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00098 $0.02705
Opus 5.5 $0.00039 $0.01082
Sonnet 5.5 $0.00020 $0.00541
Haiku 4.5 $0.00010 $0.00270

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

Security

Grade B, and why

obsidian-excalidraw scanned grade B with 1 finding 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 1mo ago.

The scan reads SKILL.md. This mod also ships 3 executable files (examples/example.py, scripts/obsidian_preset.py, scripts/write_to_vault.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

installed plugin directory (e.g. `find ~/.claude/plugins -path "*/obsidian-excalidraw/skills/obsidian-excalidraw/scripts" 2>/dev/null | head -1`).
plugins/obsidian-excalidraw/skills/obsidian-excalidraw/SKILL.md · 197 lines

How it starts

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

Obsidian Excalidraw

Generate .excalidraw files programmatically and embed them in Obsidian markdown notes.

Quick start

Write a generator script to $TMPDIR, make it executable, and run it. The PEP 723 header pins the SDK and the shebang self-invokes through uv — no venv, no install.

#!/usr/bin/env -S uv run --script
# /// script
# requires-python = ">=3.12"
# dependencies = ["excaligen==0.11.14"]
# ///
import sys
sys.path.insert(0, "${CLAUDE_PLUGIN_ROOT}/skills/obsidian-excalidraw/scripts")

from obsidian_preset import fit, new_scene, styled

scene = new_scene()
user = styled(scene.ellipse("User").size(*fit("User", shape="ellipse")).center(0, 0), "active")
api = styled(scene.rectangle("API Gateway").size(*fit("API Gateway")).center(340, 0), "active")
scene.arrow("request").bind(user, api)
print(scene.json())
chmod +x "$TMPDIR/gen-diagram.py"
"$TMPDIR/gen-diagram.py" > "$TMPDIR/diagram.excalidraw"

The generated script runs as a standalone process, so ${CLAUDE_PLUGIN_ROOT} must be expanded to a literal absolute path when you write the script — a shell variable won't resolve there. Get it with echo "$CLAUDE_PLUGIN_ROOT"; if unset, locate the installed plugin directory (e.g. find ~/.claude/plugins -path "*/obsidian-excalidraw/skills/obsidian-excalidraw/scripts" 2>/dev/null | head -1).

bind() computes edge-to-edge geometry, bidirectional bindings, and bound text labels automatically. Pass shape objects to bind() — never coordinates.

Size every shape with fit(label). excaligen neither wraps a label nor grows its shape (the default is 130×80), so a long label overflows it. fit returns a width and height that hold the label (pass shape="ellipse" or "diamond" for those), never below 120×60. Call .size(*fit(label)) before .center(x, y).

Labels must be single-line with no ", tab or backslash characters: the Obsidian CLI corrupts them. obsidian_preset raises InvalidLabelError at construction rather than letting a corrupt write through. Put longer explanations in a separate scene.text(...) near the shapes.

Read the full file on GitHub · 197 lines

Files

What ships with it

7 files 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. 1mo ago Changed · +17 lines 3fb630366c2c
  2. 2mo ago Changed · -58 lines scan A → B d23d748f3eb0
  3. 3mo ago First seen · 238 lines · 98 tokens per session scan A 69cbc860ef61

Subscribe to this mod's changes

obsidian-excalidraw is a skill published in the GitHub repository sjungling/sjungling-claude-plugins (15 stars, last pushed 5d ago), licensed MIT. It adds 98 tokens to every session and 2,705 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

obsidian-excalidraw compared with skills from other repositories

obsidian-excalidraw next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
obsidian-excalidrawsjungling/sjungling-claude-pluginsSkill155d agoMITB98Claude 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-codexSkill34ktodayMITA52Codex
glance-canonical-layoutsandroid/skillsSkill11k9d agoApache-2.0A56Claude Code
accessibilitymicrosoft/hve-coreSkill1.7ktodayMITA47Claude Code