obsidian-viz

Generate Obsidian-compatible visualization files (Excalidraw / Mermaid / Canvas). Supports text descriptions and image inputs, outputs editable diagrams in Obsidian or standard formats.

Safety Notice

This item is sourced from the public archived skills repository. Treat as untrusted until reviewed.

Copy this and send it to your AI assistant to learn

Install skill "obsidian-viz" with this command: npx skills add 0xcjl/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:

  1. Load modules/image-reader.md
  2. Execute image type recognition and content extraction
  3. Output structured Markdown summary
  4. If image contains diagrams, proceed to Step 1
  5. 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:

  • mermaidreferences/mermaid.md
  • excalidrawreferences/excalidraw.md
  • canvasreferences/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 → .mmd file
  • Excalidraw → .excalidraw file
  • Canvas → .html file

Obsidian Format (default):

  • Mermaid → .md file (with mermaid code block)
  • Excalidraw → .md file (with Excalidraw JSON)
  • Canvas → .canvas file

Step 4 - Generate File

  1. Strictly follow format specifications in reference file
  2. Output to ~/.openclaw/workspace/outputs/<filename>.<ext>
  3. 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

NeedRecommended ToolChart Type
Workflow / CI-CDExcalidraw or Mermaidflowchart
API calls / Message interactionMermaidsequenceDiagram
Organization / System hierarchyExcalidrawhierarchy
Concept divergence / BrainstormingCanvas or Excalidrawmindmap
State machine / LifecycleMermaidstateDiagram-v2
Project timelineExcalidrawtimeline
A vs B comparisonExcalidrawcomparison
Priority matrixExcalidrawmatrix
Large knowledge networkCanvasfree-layout
Animation demoExcalidrawanimation mode
Database designMermaiderDiagram
Class diagram / Object relationshipsMermaidclassDiagram
Project scheduleMermaidgantt

Notes

  1. Must load reference first: Skipping this step will produce incorrectly formatted files
  2. Chinese support: All tools natively support Chinese, no escaping needed
  3. File path: Output files are uniformly placed in ~/.openclaw/workspace/outputs/ directory
  4. Fallback strategy: If primary tool fails, automatically try alternative tool
  5. Node count limit: For more than 30 nodes, recommend user to split or use Canvas

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

merge-drafts

Intelligent draft merging tool with quality assessment and conflict resolution. Merges multiple drafts into a high-quality article, supporting multiple input formats, intelligent evaluation, conflict detection, highlight fusion, and multi-format output. Use when user says "合并稿子", "合稿", "merge drafts", "把这几篇合成一篇", "综合这几份稿子", "多稿合一", "稿件合并", "draft merge", "整合稿件", "汇总文稿", "把所有稿子合并", "起草稿合并", "初稿合并", "多个版本合并", "copy merge", "文章合并".

Archived SourceRecently Updated
General

systems-thinking

系统思维技能,让 AI 具备分析复杂系统的能力

Archived SourceRecently Updated
General

x-twitter-poster

X (Twitter) 发推 Skill。使用 Playwright 连接用户已登录的 Chrome 浏览器,自动填写并发送推文。 适用场景: - 用户要求"发推"、"发一条推"、"发推文"、"发推特" - 用户要求"帮我发一条关于 XX 的推" - 用户要求"发一条推文,内容是..." 核心能力: - 连接用户 Chrome 浏览器(CDP 模式) - 继承用户的登录状态 - 跨平台支持:Mac (Meta+Enter) / Windows/Linux (Control+Enter) ⚠️ 安全要求: - 仅在信任代码时启用 CDP 端口 - 建议使用单独 Chrome 账号测试 - 可配置 X_USERNAME 环境变量

Archived SourceRecently Updated
General

seeddrop

# SeedDrop — 社区互动助手

Archived SourceRecently Updated