/install obsidian-viz
Obsidian Viz Skill
Generate Obsidian-compatible visualization files from text descriptions or image inputs.
Processing Flow
Step 0 - Input Type Detection
If user sends an image:
- Load
modules/image-reader.md - Execute image type recognition and content extraction
- Output structured Markdown summary
- If image contains diagrams, proceed to Step 1
- If image is text/screenshot only, end process
If user provides text description:
- Proceed directly to Step 1
Step 1 - Tool Selection
Load modules/chart-router.md and select the most appropriate tool based on content type:
- Excalidraw: Hand-drawn style, architecture diagrams, free layout, concept maps
- Mermaid: Technical documentation, flowcharts, sequence diagrams, state diagrams, ER diagrams
- Canvas: Large knowledge networks, interactive exploration, data visualization
Step 2 - Format Specification Loading
Load the corresponding reference file based on the selected tool:
mermaid→references/mermaid.mdexcalidraw→references/excalidraw.mdcanvas→references/canvas.md
Important: Must read the corresponding reference file before generating any content.
Step 3 - Output Format Selection
Standard Format (when user explicitly requests "standard format" or "excalidraw.com"):
- Mermaid →
.mmdfile - Excalidraw →
.excalidrawfile - Canvas →
.htmlfile
Obsidian Format (default):
- Mermaid →
.mdfile (with mermaid code block) - Excalidraw →
.mdfile (with Excalidraw JSON) - Canvas →
.canvasfile
Step 4 - Generate File
- Strictly follow format specifications in reference file
- Output to
~/.openclaw/workspace/outputs/\x3Cfilename>.\x3Cext> - Explain to user how to open the file in Obsidian
Usage Instructions
Excalidraw Files
Obsidian Mode (.md):
- Place in any vault folder
- Obsidian automatically opens in canvas mode
- Requires Excalidraw plugin
Standard Mode (.excalidraw):
- Can be opened directly at excalidraw.com
- Supports import to any Excalidraw instance
Mermaid Files
Obsidian Mode (.md):
- Place anywhere in vault
- Renders in normal preview mode
- Obsidian supports Mermaid by default
Standard Mode (.mmd):
- Can be opened in Mermaid-compatible editors
- Natively supported by GitHub, GitLab, etc.
Canvas Files
Obsidian Mode (.canvas):
- Place anywhere in vault
- Double-click to interact in Canvas view
- Natively supported by Obsidian
Standard Mode (.html):
- Open in browser
- Supports interactive exploration
Chart Type Quick Reference
| Need | Recommended Tool | Chart Type |
|---|---|---|
| Workflow / CI-CD | Excalidraw or Mermaid | flowchart |
| API calls / Message interaction | Mermaid | sequenceDiagram |
| Organization / System hierarchy | Excalidraw | hierarchy |
| Concept divergence / Brainstorming | Canvas or Excalidraw | mindmap |
| State machine / Lifecycle | Mermaid | stateDiagram-v2 |
| Project timeline | Excalidraw | timeline |
| A vs B comparison | Excalidraw | comparison |
| Priority matrix | Excalidraw | matrix |
| Large knowledge network | Canvas | free-layout |
| Animation demo | Excalidraw | animation mode |
| Database design | Mermaid | erDiagram |
| Class diagram / Object relationships | Mermaid | classDiagram |
| Project schedule | Mermaid | gantt |
Notes
- Must load reference first: Skipping this step will produce incorrectly formatted files
- Chinese support: All tools natively support Chinese, no escaping needed
- File path: Output files are uniformly placed in
~/.openclaw/workspace/outputs/directory - Fallback strategy: If primary tool fails, automatically try alternative tool
- Node count limit: For more than 30 nodes, recommend user to split or use Canvas
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install obsidian-viz - 安装完成后,直接呼叫该 Skill 的名称或使用
/obsidian-viz触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Obsidian Viz 是什么?
Generate Obsidian-compatible visualization files (Excalidraw / Mermaid / Canvas). Supports text descriptions and image inputs, outputs editable diagrams in O... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 208 次。
如何安装 Obsidian Viz?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install obsidian-viz」即可一键安装,无需额外配置。
Obsidian Viz 是免费的吗?
是的,Obsidian Viz 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Obsidian Viz 支持哪些平台?
Obsidian Viz 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Obsidian Viz?
由 Jialin(@0xcjl)开发并维护,当前版本 v1.0.2。