obsidian-llm-wiki: Skill for Claude Code

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

excalidraw-diagram is a skill for Claude Code from levi-qiao/obsidian-llm-wiki. It costs 104 tokens per session (4,656 once invoked), scanned A, a copy of excalidraw-diagram, MIT.

A tool that turns written ideas into Excalidraw diagrams, such as flowcharts and mind maps. It can create Obsidian notes, editable Excalidraw files, or files prepared for animation.

In plain words
What is it for?
Use it to map processes, concepts, relationships, or hierarchies from text. The results can be opened in Obsidian or Excalidraw, or used to create an animated diagram.
Why use it?
It removes the need to draw these diagrams by hand or convert text into diagram data yourself.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is levi-qiao/obsidian-llm-wiki's own configuration. It tells Claude Code how to work on obsidian-llm-wiki 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-llm-wiki configures →

Reuse

Borrowing it

Nothing to install: this file belongs to levi-qiao/obsidian-llm-wiki. 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/levi-qiao/obsidian-llm-wiki/main/.claude/skills/excalidraw-diagram/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/levi-qiao/obsidian-llm-wiki

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/levi-qiao/obsidian-llm-wiki/excalidraw-diagram/github.svg)](https://agentmods.dev/skills/levi-qiao/obsidian-llm-wiki/excalidraw-diagram)
Your own site
<a href="https://agentmods.dev/skills/levi-qiao/obsidian-llm-wiki/excalidraw-diagram"><img src="https://agentmods.dev/badge/skills/levi-qiao/obsidian-llm-wiki/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/levi-qiao/obsidian-llm-wiki/excalidraw-diagram"><img src="https://agentmods.dev/badge/skills/levi-qiao/obsidian-llm-wiki/excalidraw-diagram.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,656 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 100% copy Near-identical to another mod 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.00104 $0.04656
Opus 5 $0.00052 $0.02328
Sonnet 5 $0.00021 $0.00931
Haiku 4.5 $0.00010 $0.00466

Measured 12d ago against content hash 54bd1cd5cc99, 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

This is a copy

100% identical to excalidraw-diagram — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

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

How it starts

The opening of the file, as written. The whole thing — 477 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

根据用户的触发词选择输出模式:

触发词 输出模式 文件格式 用途
Excalidraw画图流程图思维导图 Obsidian(默认) .md 在 Obsidian 中直接打开
标准Excalidrawstandard excalidraw Standard .excalidraw 在 excalidraw.com 打开/编辑/分享
Excalidraw动画动画图animate Animated .excalidraw 拖到 excalidraw-animate 生成动画

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)

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

---
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 设置
  • 文件扩展名.md

Mode 2: Standard Excalidraw Format

直接输出纯 JSON 文件,可在 excalidraw.com 打开:

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

关键要点:

  • source 使用 https://excalidraw.com(不是 Obsidian 插件)
  • 纯 JSON,无 Markdown 包装
  • 文件扩展名.excalidraw

Mode 3: Animated Excalidraw Format

与 Standard 格式相同,但每个元素添加 customData.animate 字段控制动画顺序:

Read the full file on GitHub · 477 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 · 477 lines · 104 tokens per session scan A 54bd1cd5cc99

Subscribe to this mod's changes

excalidraw-diagram is a skill published in the GitHub repository levi-qiao/obsidian-llm-wiki (10 stars, last pushed 29d ago), licensed MIT. It adds 104 tokens to every session and 4,656 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to excalidraw-diagram, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

kb-index

Update Knowledge Base indexes. Smart mode detects changes and updates only what's needed. Full rebuild available with --full flag. Use after adding/moving documents or when indexes feel stale.

ernestolee13/para-knowledge-base · 38 tokens

wiki-ingest

File a new source into the LLM Wiki — create its Sources page, append a log entry, apply the proposed cross-reference edits. Use when the user says "ingest this", "file this source", "add this to the wiki", drops a URL/PDF/clipped article, or pastes notes they want captured. Never auto-applies cross-refs without…

bezata/kObsidian · 82 tokens

ingest

A tool for adding a URL, file, text, or Inbox item to the LLM Wiki. It checks the material's purpose, preserves the original source, compiles a wiki page, updates indexes and logs, and reviews the result.

johnfkoo951/cmds-llm-wiki · 56 tokens

knap

Render Markdown from templates and structured data using Knap CLI. Use when the user asks to apply a Knap template, turn JSON or CSV data into notes, batch-generate Markdown files, or format Defuddle output into a note.

kepano/obsidian-skills · 50 tokens

patent-application

A patent-application document workflow that turns supplied invention materials into claims, a description, an abstract, and black-and-white drawings. It can also produce Markdown and Word files.

handsomestWei/patent-disclosure-skill · 95 tokens

llm-wiki

Build and maintain a persistent, interlinked Obsidian-compatible markdown wiki using Karpathy's LLM Wiki pattern. Extension-backed with auto-generated metadata, guardrails, and 14 custom tools (+3 opt-in agent-trajectory tools).

zosmaai/pi-llm-wiki · 52 tokens