obsidian-mind: Skill for Claude Code

.claude/skills/excalidraw-diagram/SKILL.md

excalidraw-diagram is a skill for Claude Code from breferrari/obsidian-mind. It costs 67 tokens per session (4,186 once invoked), scanned A, original, MIT.

A tool that turns written ideas into Excalidraw diagrams, such as flowcharts and mind maps. Excalidraw is a diagram editor, and the output can be opened in Obsidian or on excalidraw.com.

In plain words
What is it for?
Use it to create editable diagrams from text in Obsidian, standard Excalidraw files, or animated Excalidraw files.
Why use it?
It removes the need to draw the diagram by hand or write the diagram file format yourself. It also chooses the output format based on the words used in the request.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is breferrari/obsidian-mind's own configuration. It tells Claude Code how to work on obsidian-mind itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything obsidian-mind configures →

Part of the obsidian plugin — 8 skills, 20 commands, 10 agents, 5 hooks, 1 MCP server shipped together

About the project

Obsidian Mind is an Obsidian vault that stores notes, links, indexes, and other accumulated context so AI coding agents can retain memory across sessions. It is designed for Claude Code and also supports Codex CLI and Gemini CLI through shared hooks, commands, and vault data. Its catalogue add-ons package the vault’s commands, agents, skills, hooks, instructions, settings, plugin, and MCP integration.

breferrari/obsidian-mind · 4,620 stars · on GitHub

Reuse

Borrowing it

Nothing to install: this file belongs to breferrari/obsidian-mind. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/breferrari/obsidian-mind/main/.claude/skills/excalidraw-diagram/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/breferrari/obsidian-mind

Made for: Claude Code.

Or install obsidian, the plugin that ships this one along with the rest of its 8 skills, 20 commands, 10 agents, 5 hooks, 1 MCP server.

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/breferrari/obsidian-mind/excalidraw-diagram/github.svg)](https://agentmods.dev/skills/breferrari/obsidian-mind/excalidraw-diagram)
Your own site
<a href="https://agentmods.dev/skills/breferrari/obsidian-mind/excalidraw-diagram"><img src="https://agentmods.dev/badge/skills/breferrari/obsidian-mind/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/breferrari/obsidian-mind/excalidraw-diagram"><img src="https://agentmods.dev/badge/skills/breferrari/obsidian-mind/excalidraw-diagram.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,186 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 376
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.00067 $0.04186
Opus 5 $0.00034 $0.02093
Sonnet 5 $0.00013 $0.00837
Haiku 4.5 $0.00007 $0.00419

Measured 12d ago against content hash 482a74991227, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, 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.

.claude/skills/excalidraw-diagram/SKILL.md · 475 lines

How it starts

The opening of the file, as written. The whole thing — 475 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 with multiple output formats.

Output Modes

Select output mode based on the user's trigger words:

Trigger Words Output Mode File Format Use Case
Excalidraw, diagram, flowchart, mind map Obsidian (default) .md Open directly in Obsidian
standard excalidraw Standard .excalidraw Open/edit/share on excalidraw.com
animate, animated excalidraw Animated .excalidraw Drag to excalidraw-animate to generate animation

Workflow

  1. Detect output mode from trigger words (see Output Modes table above)
  2. Analyze content - identify concepts, relationships, hierarchy
  3. Choose diagram type (see Diagram Types below)
  4. Generate Excalidraw JSON (add animation order if Animated mode)
  5. Output in correct format based on mode
  6. Automatically save to current working directory
  7. Notify user with file path and usage instructions

Output Formats

Mode 1: Obsidian Format (Default)

Output strictly in the following structure, with no modifications:

---
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
{complete JSON data}
\`\`\`
%%

Key points:

  • Frontmatter must include tags: [excalidraw]
  • Warning message must be included in full
  • JSON must be wrapped in %% markers
  • No excalidraw-* plugin settings in frontmatter other than excalidraw-plugin: parsed (the tags: [excalidraw] entry above is separate and still required)
  • File extension: .md

Mode 2: Standard Excalidraw Format

Output pure JSON file, openable on excalidraw.com:

{
  "type": "excalidraw",
  "version": 2,
  "source": "https://excalidraw.com",
  "elements": [...],
  "appState": {
    "gridSize": null,
    "viewBackgroundColor": "#ffffff"
  },
  "files": {}
}

Read the full file on GitHub · 475 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 · 475 lines · 67 tokens per session scan A 482a74991227

Subscribe to this mod's changes

excalidraw-diagram is a skill published in the GitHub repository breferrari/obsidian-mind (4,620 stars, last pushed 9d ago), licensed MIT. It adds 67 tokens to every session and 4,186 once invoked, about $0.0003 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-30.

Related

Other skills, from other repositories

canvas-design

Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.

agent-skills-hub/agent-skills-hub · 59 tokens

plannotator-visual-explainer

Generate self-contained HTML visualizations with Plannotator theming. Use for implementation plans, PR explainers, architecture diagrams, data tables, slide decks, and any visual explanation of technical concepts. Plans and PR explainers follow Plannotator's prescriptive approach; all other visual content delegates to…

backnotprop/plannotator · 78 tokens

canvas

Create, inspect, and update Obsidian JSON Canvas boards with text, file, link, group, and edge nodes. Use for canvas status, canvas lists, visual maps, zones, spatial layouts, adding vault notes or media to a .canvas file, and requests such as create canvas, add to canvas, or put this on the canvas.

AgriciDaniel/claude-obsidian · 72 tokens

lov-mobile-infographic

A mobile infographic maker that turns existing conclusions, research, or conversation content into a tall, phone-readable card. It delivers editable HTML and a PNG image.

lovstudio/skills · 111 tokens

lov-gen-logo

A logo and application-icon design workflow that creates distinct, versioned drafts and keeps brand marks separate from app icons. It also prepares selected assets for their intended uses, such as websites or device screens.

lovstudio/skills · 41 tokens

lov-professional-portrait

Turn a single-person photo into a polished professional portrait while preserving the person's identity. Use restrained skin retouching, exposure cleanup, optional hat removal and hairstyle reconstruction, background polish, and an explicit quality gate. Trigger when the user asks for a professional headshot, business…

lovstudio/skills · 139 tokens