Excalidraw Skill
yctimlin/mcp_excalidraw
Excalidraw canvas toolkit for creating, editing, and refining diagrams on a live canvas.
Creating and refining Mermaid diagrams with live reload. An agent skill from veelenga/claude-mermaid.
$ npx skills add veelenga/claude-mermaid --skill mermaid-diagrams -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install veelenga/claude-mermaid mermaid-diagrams --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/veelenga/claude-mermaid.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/mermaid-diagrams .claude/skills/mermaid-diagrams && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "mermaid-diagrams" agent skill from https://github.com/veelenga/claude-mermaid/tree/main/skills/mermaid-diagrams into .claude/skills/mermaid-diagrams/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mermaid-diagrams", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/veelenga/claude-mermaid/tree/main/skills/mermaid-diagramsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add veelenga/claude-mermaid --skill mermaid-diagrams -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install veelenga/claude-mermaid mermaid-diagrams --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/veelenga/claude-mermaid.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/mermaid-diagrams .agents/skills/mermaid-diagrams && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "mermaid-diagrams" agent skill from https://github.com/veelenga/claude-mermaid/tree/main/skills/mermaid-diagrams into .agents/skills/mermaid-diagrams/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mermaid-diagrams", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add veelenga/claude-mermaid --skill mermaid-diagrams -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install veelenga/claude-mermaid mermaid-diagrams --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/veelenga/claude-mermaid.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/mermaid-diagrams .cursor/skills/mermaid-diagrams && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "mermaid-diagrams" agent skill from https://github.com/veelenga/claude-mermaid/tree/main/skills/mermaid-diagrams into .cursor/skills/mermaid-diagrams/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mermaid-diagrams", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/veelenga/claude-mermaid.git --path skills/mermaid-diagrams--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add veelenga/claude-mermaid --skill mermaid-diagrams -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install veelenga/claude-mermaid mermaid-diagrams --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/veelenga/claude-mermaid.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/mermaid-diagrams .gemini/skills/mermaid-diagrams && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "mermaid-diagrams" agent skill from https://github.com/veelenga/claude-mermaid/tree/main/skills/mermaid-diagrams into .gemini/skills/mermaid-diagrams/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mermaid-diagrams", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install veelenga/claude-mermaid mermaid-diagramsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add veelenga/claude-mermaid --skill mermaid-diagrams -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/veelenga/claude-mermaid.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/mermaid-diagrams .github/skills/mermaid-diagrams && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "mermaid-diagrams" agent skill from https://github.com/veelenga/claude-mermaid/tree/main/skills/mermaid-diagrams into .github/skills/mermaid-diagrams/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mermaid-diagrams", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add veelenga/claude-mermaid --skill mermaid-diagrams -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install veelenga/claude-mermaid mermaid-diagrams --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/veelenga/claude-mermaid.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/mermaid-diagrams .opencode/skills/mermaid-diagrams && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "mermaid-diagrams" agent skill from https://github.com/veelenga/claude-mermaid/tree/main/skills/mermaid-diagrams into .opencode/skills/mermaid-diagrams/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mermaid-diagrams", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
mermaid-diagramsCreating and refining Mermaid diagrams with live reload. An agent skill from veelenga/claude-mermaid.
Mermaid Diagrams is an agent skill from veelenga/claude-mermaid. Creating and refining Mermaid diagrams with live reload. Use when users want flowcharts, sequence diagrams, class diagrams, ER diagrams, state diagrams, or any other Mermaid visualization. Provides best practices for syntax, styling, and the iterative workflow using mermaidpreview and mermaidsave tools.
Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Diagrams. It works with Mermaid and Model Context Protocol. The repository describes itself as: MCP Server to previewing mermaid diagrams with live reload. The licence is MIT.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit d4f8a89. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
mcp__mermaid__mermaid_previewmcp__mermaid__mermaid_saveFrom allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are mermaid).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Mermaid Diagrams loads about 1.3k tokens when it runs. Until then it costs about 81 tokens; SKILL.md has 415 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from veelenga/claude-mermaid at commit d4f8a89, republished under its MIT licence (© veelenga). 415 words, ~1,274 tokens.
.claude/skills/mermaid-diagrams/SKILL.md (or your agent's skills folder).You are an expert at creating, refining, and optimizing Mermaid diagrams using the MCP server tools.
mermaid_preview to render and open the diagram with live reloadmermaid_save when satisfiedAlways use this when creating or updating diagrams:
diagram: The Mermaid codepreview_id: Descriptive kebab-case ID (e.g., auth-flow, architecture)format: Use svg for live reload (default)theme: default, forest, dark, or neutralbackground: white, transparent, or hex colorswidth, height, scale: Adjust for quality/sizeKey Points:
preview_id for refinements to update the same browser tabUse after the diagram is finalized:
save_path: Where to save (e.g., ./docs/diagram.svg)preview_id: Must match the preview ID used earlierformat: Must match format from previewgraph or flowchart)Direction: LR, TB, RL, BT
graph LR
A[Start] --> B{Decision}
B -->|Yes| C[Action]
B -->|No| D[End]
style A fill:#e1f5ff
style C fill:#d4eddasequenceDiagram)⚠️ Do NOT use style statements - not supported
sequenceDiagram
participant User
participant App
participant API
User->>App: Login
App->>API: Authenticate
API-->>App: Token
App-->>User: SuccessclassDiagram)classDiagram
class User {
+String name
+String email
+login()
}
class Order {
+int id
+Date created
}
User "1" --> "*" OrdererDiagram)erDiagram
USER ||--o{ ORDER : places
ORDER ||--|{ LINE_ITEM : contains
USER {
int id PK
string email
string name
}stateDiagram-v2)stateDiagram-v2
[*] --> Idle
Idle --> Processing : start
Processing --> Complete : finish
Complete --> [*]gantt)gantt
title Project Timeline
section Phase 1
Task 1 :a1, 2024-01-01, 30d
Task 2 :after a1, 20darchitecture, auth-flow, data-modeldefault: Clean, professionalforest: Green tonesdark: Dark backgroundneutral: GrayscaleUse transparent background for docs, white for standalone
System Architecture:
graph TB
Client[Web App]
API[API Gateway]
DB[(Database)]
Client --> API --> DBAuthentication Flow:
sequenceDiagram
User->>App: Login Request
App->>Auth: Validate
Auth-->>App: JWT Token
App-->>User: Access GrantedWhen a user requests a diagram:
preview_id, start with good defaultspreview_id, explain changesmermaid_saveSyntax errors: Check quotes, arrow syntax, keywords Layout issues: Try different directions (LR vs TB) Text overlap: Increase dimensions or shorten labels Colors not working: Verify CSS color format; remember sequence diagrams don't support styles
User: "Create an auth flow diagram"
You: "I'll create a sequence diagram showing the authentication flow." [Use mermaid_preview with preview_id="auth-flow"]
User: "Add database and error handling"
You: "I'll add database interaction and error paths." [Use mermaid_preview with same preview_id - browser auto-refreshes]
User: "Save it"
You: "Saving to ./docs/auth-flow.svg" [Use mermaid_save]
© veelenga, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/mermaid-diagrams of veelenga/claude-mermaid.
Open the folder on GitHubat commit d4f8a89
Mermaid Diagrams next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Mermaid Diagrams this skillveelenga/claude-mermaid | 216 | — | ~1.3k | Automated safety check: Pass | MIT | |
| Excalidraw Skillyctimlin/mcp_excalidraw | 2.5k | — | ~4.6k | Automated safety check: Pass | MIT | |
| GitDiagram Repository Overviewahmedkhaleel2004/gitdiagram | 18k | — | ~427 | Automated safety check: Pass | MIT | |
| Drawiobahayonghang/drawio-skills | 287 | — | ~4.1k | Automated safety check: Notes | MIT | |
| Excalidraw Canvas Toolkitlingzhi227/agent-research-skills | 390 | — | ~3.8k | Automated safety check: Pass | None | |
| Excalidraw Diagram DesignBV-Venky/excalidraw-architect-mcp | 158 | — | ~1.6k | Automated safety check: Pass | MIT |
yctimlin/mcp_excalidraw
Excalidraw canvas toolkit for creating, editing, and refining diagrams on a live canvas.
ahmedkhaleel2004/gitdiagram
Explains the architecture of a public GitHub repository through GitDiagram: how the code is organized, the main components with paths, and a Mermaid diagram.
bahayonghang/drawio-skills
Create, edit, replicate, import, and export draw.io diagrams with an offline YAML-first workflow: architecture, network topologies, flowcharts, UML/ER, org charts, Mermaid/CSV conversion, existing…
lingzhi227/agent-research-skills
Draws and refines Excalidraw diagrams on a live canvas through MCP tools or a REST API, with screenshots, file import and export, snapshots and Mermaid conversion.
BV-Venky/excalidraw-architect-mcp
Guide for structuring graph input (nodes and edges) for the Excalidraw Architect MCP tool to produce clean, readable diagrams.
antoinebou12/uml-mcp
Create and validate diagrams with the uml-mcp MCP server (generateuml, generateumlimage, validateuml, listdiagramtypes, generateumlbatch).
Works with
Categories
Creating and refining Mermaid diagrams with live reload. An agent skill from veelenga/claude-mermaid. Mermaid Diagrams is an agent skill from veelenga/claude-mermaid. Creating and refining Mermaid diagrams with live reload.
Mermaid Diagrams fits situations like: users want flowcharts; sequence diagrams; any other Mermaid visualization.
Run `npx skills add veelenga/claude-mermaid --skill mermaid-diagrams -a claude-code`. Or copy the skill folder (skills/mermaid-diagrams in veelenga/claude-mermaid) into .claude/skills/mermaid-diagrams in your project. Claude Code loads it when a task matches its description.
Run `npx skills add veelenga/claude-mermaid --skill mermaid-diagrams -a codex`. Or copy the skill folder (skills/mermaid-diagrams in veelenga/claude-mermaid) into .agents/skills/mermaid-diagrams in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add veelenga/claude-mermaid --skill mermaid-diagrams -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/mermaid-diagrams, .gemini/skills/mermaid-diagrams, .github/skills/mermaid-diagrams and .opencode/skills/mermaid-diagrams in your project.
SKILL.md names no scripts, command-line tools or credentials: Mermaid Diagrams is instructions for the agent only. Its frontmatter pre-approves these tools: mcp__mermaid__mermaid_preview, mcp__mermaid__mermaid_save.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Mermaid Diagrams is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.3k tokens (SKILL.md is roughly 5.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Mermaid Diagrams: Excalidraw Skill (yctimlin/mcp_excalidraw, 2.5k stars), GitDiagram Repository Overview (ahmedkhaleel2004/gitdiagram, 18k stars), Drawio (bahayonghang/drawio-skills, 287 stars) and Excalidraw Canvas Toolkit (lingzhi227/agent-research-skills, 390 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
veelenga (a GitHub user) maintains it in veelenga/claude-mermaid, which has 216 GitHub stars. The repository was last updated on October 7, 2026.
Source: veelenga/claude-mermaid on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.