Logo Excalidraw

Excalidraw

Cộng đồng
AlexAI-MCP
excalidraw

Create and export diagrams with Excalidraw - whiteboard-style sketches, flowcharts, architecture diagrams via MCP or CLI.

Add to TypingMind

Tổng quan

Nhà phát hànhAlexAI-MCP
Kho mãhermes-CCC
Tên kỹ năngexcalidraw
Sao
134
Bản fork
22
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được AlexAI-MCP công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Excalidraw trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/AlexAI-MCP/hermes-CCC/tree/master/skills/excalidraw
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AlexAI-MCP/hermes-CCC.git /tmp/hermes-CCC
mkdir -p .claude/skills
cp -r /tmp/hermes-CCC/skills/excalidraw .claude/skills/excalidraw
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Excalidraw trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Excalidraw ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Excalidraw với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Excalidraw

Purpose

  • Use this skill to create lightweight diagrams, sketches, and whiteboard-style visuals quickly.
  • Prefer Excalidraw when the output should feel hand-drawn, fast to edit, and easy to embed into notes or design docs.
  • This skill works well for architecture reviews, brainstorming, flowcharts, and teaching visuals.
  • In this environment, Excalidraw MCP tooling is already available.

Core Mental Model

  • Describe the diagram you want in plain language.
  • Claude can translate that description into an Excalidraw JSON scene specification.
  • The scene can then be rendered in a view, exported, saved as a checkpoint, or shared through Excalidraw.
  • Treat the JSON spec as the source of truth for reproducible diagram generation.

MCP Integration

  • Use mcp__claude_ai_excalidraw__create_view to generate or render a diagram view from a structured scene.
  • Use mcp__claude_ai_excalidraw__export_to_excalidraw to export the scene into a format compatible with Excalidraw workflows.
  • Use save_checkpoint to preserve an intermediate diagram state before large edits.
  • Use read_checkpoint to reload a previously saved scene when you need to continue, branch, or recover.
  • A good workflow is: describe -> generate JSON -> create view -> inspect -> checkpoint -> revise -> export.

What To Ask For

  • "Draw a system architecture diagram for a FastAPI app backed by Postgres and Redis."
  • "Create a flowchart for user sign-up with email verification."
  • "Sketch an ERD with users, teams, memberships, and permissions."
  • "Make a sequence diagram for browser -> API -> worker -> database."
  • "Turn this process into a whiteboard-style diagram with short labels and arrows."

Describe First, Then Refine

  • Start with the intent of the diagram, not low-level coordinates.
  • Include the major entities, the relationships, and the desired reading direction.
  • Mention whether you want a rough sketch, a cleaner box-and-arrow layout, or a board-like visual.
  • If the first result is too dense, ask for fewer labels or more spacing.
  • If the first result is too vague, specify grouping, order, and arrow directions.

Scene Building Blocks

  • rectangle: best for services, systems, containers, and grouped components.
  • ellipse: useful for external actors, start/end states, or soft conceptual nodes.
  • arrow: best for directional relationships, calls, control flow, and data movement.
  • line: useful for visual separators, boundaries, or non-directional links.
  • text: labels, notes, titles, annotations, and step numbers.
  • diamond: decision points in a flowchart or branching logic.

Common Diagram Types

System Architecture

  • Use rectangles for services, databases, queues, and external providers.
  • Use arrows to show request flow, event flow, and data movement.
  • Group related services into logical zones such as frontend, backend, storage, and third-party systems.
  • Add short text notes for protocols like HTTP, gRPC, Kafka, or WebSocket.

Flowchart

  • Use rectangles for actions.
  • Use diamonds for decisions.
  • Use arrows for the main control path.
  • Keep text short and action-oriented.
  • Prefer top-to-bottom or left-to-right consistency.

ERD

  • Use rectangles to represent tables or entities.
  • Put the entity name at the top and key fields below as text.
  • Use arrows or simple connecting lines to show relationships.
  • Label one-to-many or many-to-many edges with short text if needed.
  • Keep column lists focused on primary keys, foreign keys, and the fields relevant to the explanation.

Sequence Diagram

  • Use text labels for actors across the top.
  • Use vertical lines or repeated arrows to indicate message order.
  • Use arrows with labels like POST /login, enqueue job, or ACK.
  • Number key steps if the interaction is long.
  • Keep parallel flows separated visually rather than forcing too many crossing arrows.

Practical Prompt Patterns

  • "Create a whiteboard-style architecture diagram with six boxes and directional arrows."
  • "Make the frontend, API, and worker visually separated into columns."
  • "Use a decision diamond after payment validation."
  • "Add labels to arrows showing request type and payload."
  • "Keep the style sketchy and informal, suitable for an engineering design note."

Suggested JSON Planning

  • Think in terms of elements, labels, and relationships.
  • Define each node first.
  • Define the connectors second.
  • Add titles and notes last.
  • Keep IDs stable if you expect to revise the same diagram repeatedly.

Revision Workflow

  • Generate the initial scene from a natural-language description.
  • Render it with mcp__claude_ai_excalidraw__create_view.
  • Inspect for overlap, unclear labels, and missing relationships.
  • Save the working state with save_checkpoint.
  • Make incremental changes rather than regenerating from scratch if the structure is already mostly right.
  • If a revision goes sideways, recover the previous state using read_checkpoint.

Checkpoints

  • Use save_checkpoint before major layout changes.
  • Use save_checkpoint before adding dozens of new elements.
  • Use read_checkpoint when you need to compare alternative diagram versions.
  • Use checkpoints to maintain a clean "baseline" for architecture documents.
  • Checkpoints are especially useful for iterative design sessions with multiple stakeholders.

Export Workflow

  • Use mcp__claude_ai_excalidraw__export_to_excalidraw when you want a portable Excalidraw artifact.
  • Export to Excalidraw format when the diagram should remain editable in the Excalidraw ecosystem.
  • Export as PNG when you need a static image for reports, PRs, slides, or issue comments.
  • Export as SVG when you need scalable vector output for documents or web embedding.
  • Prefer SVG when crisp text and resizable diagrams matter.

PNG vs SVG

  • PNG is easy to paste into chat, docs, and presentations.
  • PNG is better when consumers do not need to edit the figure.
  • SVG is better for documentation sites, architecture handbooks, and print-quality scaling.
  • SVG is easier to version in some documentation pipelines.
  • If unsure, export both.

Sharing

  • Excalidraw scenes can be shared via https://excalidraw.com/ workflows after export.
  • This is useful when collaborators want to tweak the drawing manually in the browser.
  • Excalidraw sharing is convenient for design reviews and async comments.
  • Keep exported scene files with the related document so the diagram is reproducible.

Style Guidance

  • Keep node labels short.
  • Avoid paragraphs inside shapes.
  • Use whitespace aggressively to reduce overlap.
  • Use consistent arrow direction when possible.
  • Put titles outside the main node grid.
  • Group annotations near the edge instead of in the center of the flow.

Good Defaults

  • System diagrams: left-to-right flow, clear zones, arrows labeled only when needed.
  • Flowcharts: top-to-bottom, one decision per diamond, one short phrase per node.
  • ERDs: entity name plus only important fields.
  • Sequence diagrams: ordered messages with minimal crossings.
  • Whiteboard sketches: rough but readable beats pixel-perfect precision.

Example Requests

text
Create a system architecture diagram for a RAG application with:
- Browser client
- FastAPI gateway
- Retrieval service
- Vector database
- Background worker
- External LLM API
Use rectangles for systems, arrows for data flow, and a handwritten whiteboard feel.
text
Create a flowchart for password reset:
- User requests reset
- System validates account
- If invalid, show error
- If valid, send email
- User clicks token link
- System verifies token
- If token expired, restart flow
- If valid, allow password update

When Excalidraw Fits Best

  • Early-stage architecture thinking
  • Fast diagrams during debugging
  • Design docs that need quick visuals
  • Workshop and brainstorming artifacts
  • Teaching and onboarding materials

When To Use Something Else

  • Use Mermaid when you need diagram-as-code in Markdown-first pipelines.
  • Use Graphviz when you need algorithmic layouts for large graphs.
  • Use presentation tools when heavy branding matters more than editability.
  • Use CAD or vector illustration tools when exact geometry matters.

Operational Tips

  • Keep diagram generation prompts close to the engineering language of the system.
  • Name services exactly as they appear in the codebase when possible.
  • Reuse checkpointed scenes for versioned architecture docs.
  • Export to SVG for stable documentation output.
  • Export to Excalidraw format when team members want browser editing.

Summary

  • Describe what you want as a diagram and Claude can generate the JSON spec.
  • Render scenes with mcp__claude_ai_excalidraw__create_view.
  • Export editable artifacts with mcp__claude_ai_excalidraw__export_to_excalidraw.
  • Save progress with save_checkpoint and recover with read_checkpoint.
  • Use Excalidraw for system architecture, flowcharts, ERDs, sequence diagrams, and sketch-style visuals.

Câu hỏi thường gặp

Kỹ năng AI Excalidraw làm được gì?

Create and export diagrams with Excalidraw - whiteboard-style sketches, flowcharts, architecture diagrams via MCP or CLI.

Vì sao nên dùng Excalidraw trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Excalidraw là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Excalidraw trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/AlexAI-MCP/hermes-CCC/tree/master/skills/excalidraw. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Excalidraw?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Excalidraw với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Excalidraw với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Excalidraw có miễn phí không?

Có. Kỹ năng này được AlexAI-MCP phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇