excalidraw-diagram
できること
このスキルは、エージェントが書かれた内容を Excalidraw の図にする方法を説明します。Obsidian 向けの版、excalidraw.com 向けの標準ファイル、アニメーション付きのファイルを作れます。
使う場面
- ✓ユーザーが、メモから流れ図やマインドマップを Excalidraw の図として作りたいとき。
- ✓ユーザーが、Obsidian で開いて編集できる図を求めているとき。
- ✓ユーザーが、手順を順番に示すアニメーションの図を求めているとき。
スキルのリンク
https://github.com/breferrari/obsidian-mind/blob/main/.claude/skills/excalidraw-diagram/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“会議のメモを、Obsidian で開ける Excalidraw の流れ図にしてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、依頼の語句から出力の種類を選び、主要な考えとその関係を見つけ、図のファイルを書きます。ファイルは現在の作業フォルダーに保存され、開き方も説明されます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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
- Detect output mode from trigger words (see Output Modes table above)
- Analyze content - identify concepts, relationships, hierarchy
- Choose diagram type (see Diagram Types below)
- Generate Excalidraw JSON (add animation order if Animated mode)
- Output in correct format based on mode
- Automatically save to current working directory
- 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 thanexcalidraw-plugin: parsed(thetags: [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": {}
}
Key points:
sourceuseshttps://excalidraw.com(not the Obsidian plugin)- Pure JSON, no Markdown wrapping
- File extension:
.excalidraw
Mode 3: Animated Excalidraw Format
Same as Standard format, but each element adds a customData.animate field to control animation order:
{
"id": "element-1",
"type": "rectangle",
"customData": {
"animate": {
"order": 1,
"duration": 500
}
},
...other standard fields
}
Animation order rules:
order: Playback order (1, 2, 3...) — lower numbers appear firstduration: Drawing duration for the element (milliseconds), default 500- Elements with the same
orderappear simultaneously - Recommended order: title → main framework → connection lines → detail text
Usage:
- Generate the
.excalidrawfile - Drag to https://dai-shi.github.io/excalidraw-animate/
- Click Animate to preview, then export as SVG or WebM
File extension: .excalidraw
Diagram Types & Selection Guide
Choose the appropriate diagram type to maximize clarity and visual impact.
| Type | Use Case | Approach |
|---|---|---|
| Flowchart | Step-by-step processes, workflows, task sequences | Connect steps with arrows, clearly show process flow |
| Mind Map | Concept expansion, topic categorization, brainstorming | Radiate outward from a central core |
| Hierarchy | Org charts, content levels, system decomposition | Build level nodes top-down or left-to-right |
| Relationship | Dependencies, influences, interactions between elements | Use lines between shapes to show relationships, with arrows and labels |
| Comparison | Side-by-side analysis of two or more approaches | Two columns or table format, with comparison dimensions labeled |
| Timeline | Event progression, project milestones, evolution | Use time as axis, mark key dates and events |
| Matrix | Two-dimensional categorization, priority grids, positioning | Establish X and Y dimensions, place items on coordinate plane |
| Freeform | Scattered content, brainstorming, initial information gathering | No structural constraints, freely place blocks and arrows |
Design Rules
Text & Format
- All text elements must use
fontFamily: 5(Excalifont handwriting font
よくある質問
出力の種類はどれがありますか?
Obsidian のノート形式、標準の Excalidraw ファイル、アニメーション付きのファイルがあります。
標準のファイルはオンラインで開けますか?
はい。excalidraw.com で開き、編集し、共有できるとされています。
ファイルはどこに保存されますか?
現在の作業フォルダーに自動的に保存されるとされています。
詳細
作者による元の説明
Generate Excalidraw diagrams from text content. Supports three output modes - Obsidian (.md), Standard (.excalidraw), and Animated (.excalidraw with animation order). Triggers on "Excalidraw", "diagram", "standard excalidraw", "animate".
repo: breferrari/obsidian-mind
人気
- GitHubのスター
- 5.5k
- ランキング
- #14840
- ライセンス
- MIT
- 更新日
- 2026/10/17
コメント
- …
このリポジトリの他のスキル
mermaid-visualizer
5.5kエージェントが、テキストを、流れ図、アーキテクチャ、比較などの、きれいな Mermaid の図に変えられるよう支援します。Obsidian や GitHub で表示されます。
qmd
5.5kエージェントが、ファイルを開く前に Obsidian の保管庫を意味で検索し、関連する抜粋を返して時間と文脈を節約できるよう支援します。
似ているスキル
canvas
394k接続されたMacのパネルにホスト型のビジュアルウィジェットを表示し、そのパネルを隠したり別のページに移動したりするようエージェントを支援します。
control-ui
394kセッション、ダッシュボード、接続されたGatewayを含め、OpenClaw Control UIを整理し、問題を解決するようエージェントを支援します。
diagram-maker
394kプロセス、システムのアーキテクチャ、ホワイトボードのスケッチのために、SVG、HTML、または編集可能なExcalidrawとして、分かりやすい図を作るようエージェントを支援します。