Agent skill

Mermaid Render

by infometa in infometa/workbuddyskills

Mermaid 图表渲染工具集 —— 将 Mermaid 源代码渲染为美化的 SVG 或 ASCII 图表. An agent skill from infometa/workbuddyskills.

No licenceAuto-check passedDevelopment

Install Mermaid Render

skills CLI
$ npx skills add infometa/workbuddyskills --skill mermaid-render -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install infometa/workbuddyskills mermaid-render --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/infometa/workbuddyskills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/experts/mermaid-diagram-expert/skills/mermaid-render .claude/skills/mermaid-render && rm -rf skills-src

Use ~/.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/

Facts

Skill name
mermaid-render
GitHub stars
346
Token cost
~516 tokens
SKILL.md length
108 words
Files
8 (incl. scripts, references)
Skills in repo
218
Repo updated
First seen
Licence
None found

At a glance

Mermaid 图表渲染工具集 —— 将 Mermaid 源代码渲染为美化的 SVG 或 ASCII 图表. An agent skill from infometa/workbuddyskills.

  • Works in 5 steps: 渲染引擎为纯 TypeScript 实现,需要 Node.js 18+ 运行环境 → 首次使用必须执行 setup.sh 安装依赖 → SVG 输出包含内联样式,可直接在浏览器或文档中使用 → …
  • Tasks that involve Diagrams
  • SKILL.md covers 功能说明, 环境准备, 调用方式 and 参考资料, plus 2 more sections
  • Runs JavaScript and Shell scripts from its folder; calls node and bash

What it does

Mermaid Render is an agent skill from infometa/workbuddyskills. Mermaid 图表渲染工具集 —— 将 Mermaid 源代码渲染为美化的 SVG 或 ASCII 图表。 触发词:渲染图表、生成 SVG、Mermaid 渲染、图表美化、ASCII 图表、主题预览

Its SKILL.md is about 520 tokens, which your agent loads only when the skill is triggered. The skill folder holds 9 other files, including scripts and reference files (for example `references/mermaid-syntax.md`, `references/render-options.md` and `references/themes.md`).

It sits in Development, covering Diagrams. It works with Mermaid. The repository describes itself as: WorkBuddy skills / connectors / experts archive for offline study.

When your agent uses it

  • Tasks that involve Diagrams

Example prompts

  • “/mermaid-render”

Requirements

  • Node.js
  • A Bash shell

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. 渲染引擎为纯 TypeScript 实现,需要 Node.js 18+ 运行环境
  2. 首次使用必须执行 setup.sh 安装依赖
  3. SVG 输出包含内联样式,可直接在浏览器或文档中使用
  4. ASCII 模式直接输出到 stdout,可通过重定向保存到文件
  5. 自定义配色至少需提供 bg 和 fg 两个颜色值

What it can do on your machine

Read from SKILL.md and the folder at commit 692b3eb. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 4 files in scripts/ (JavaScript and Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • node
    • bash

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Mermaid Render loads about 516 tokens when it runs, and up to ~4.9k if it reads all its reference files. Until then it costs about 29 tokens; SKILL.md has 108 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~29
When it runs · the whole SKILL.md, loaded when a task matches
~516
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.9k

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.

Safety

Auto-check passed

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); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 108 words (~516 tokens).

“将 Mermaid 标记语言源代码渲染为出版级的 SVG 矢量图或终端友好的 ASCII/Unicode 字符图。支持 6 种图表类型、15 种内置主题、自定义配色,以及丰富的布局参数调节。”

— opening of SKILL.md by infometa
name
mermaid-render

Read the full SKILL.md on GitHub

Files

SKILL.md and 7 other files (scripts, references) in experts/mermaid-diagram-expert/skills/mermaid-render of infometa/workbuddyskills.

  • SKILL.md
  • references/mermaid-syntax.md
  • references/render-options.md
  • references/themes.md
  • scripts/list-themes.js
  • scripts/render-ascii.js
  • scripts/render-svg.js
  • scripts/setup.sh

Open the folder on GitHubat commit 692b3eb

Compare with similar skills

Mermaid Render 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.

Mermaid Render compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Mermaid Render this skillinfometa/workbuddyskills346—~516Automated safety check: PassNone
Archify Diagramstt-a1i/archify81k—~2.9kAutomated safety check: PassMIT
Diagram Designcathrynlavery/diagram-design47k1 repos~7.5kAutomated safety check: PassMIT
Draw.io Diagram StudioAgents365-ai/drawio-skill10k—~2.4kAutomated safety check: NotesMIT
Pretty Mermaid Rendererimxv/Pretty-mermaid-skills1.5k—~2kAutomated safety check: PassMIT
Archify Diagram BuilderUnclecheng-li/AI_Animation1.5k2 repos~4.1kAutomated safety check: PassMIT

Similar skills

  • Archify Diagrams

    tt-a1i/archify

    Creates interactive architecture, workflow, sequence, data-flow and lifecycle diagrams as standalone HTML with inline SVG, themes and image or video export.

    81k GitHub stars~2.9k tokensUpdated today
    DevelopmentAuto-check passed
  • Diagram Design

    cathrynlavery/diagram-design

    Creates branded diagrams, from architecture, flowchart and sequence to charts and maps, as self-contained HTML with inline SVG, with import from draw.io, Mermaid and Excalidraw.

    47k GitHub starsUsed in 1 repo~7.5k tokens
    DevelopmentAuto-check passed
  • Draw.io Diagram Studio

    Agents365-ai/drawio-skill

    Creates and edits editable draw.io diagrams from descriptions, code, infrastructure files, SQL and API schemas, with sync, review, test and export tools.

    10k GitHub stars~2.4k tokensUpdated 6 days ago
    DevelopmentAuto-check: notes
  • Pretty Mermaid Renderer

    imxv/Pretty-mermaid-skills

    Writes and renders Mermaid diagrams as themed SVG, PNG or terminal ASCII and Unicode art with a bundled Node.js CLI that needs no browser.

    1.5k GitHub stars~2k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Archify Diagram Builder

    Unclecheng-li/AI_Animation

    Builds validated architecture, workflow, sequence, data-flow and lifecycle diagrams as standalone interactive HTML from a small JSON spec, with optional motion and image export.

    1.5k GitHub starsUsed in 2 repos~4.1k tokens
    DevelopmentAuto-check passed
  • Mermaid

    WH-2099/mermaid-skill

    Generate Mermaid diagrams from user requirements. An agent skill from WH-2099/mermaid-skill.

    288 GitHub starsUsed in 4 repos~958 tokens
    DevelopmentAuto-check passed

More from infometa/workbuddyskills

All 218 skills in this repo
  • Campus Event Playbook

    infometa/workbuddyskills

    This skill should be used when planning, coordinating, running, or reviewing student-led campus events, including club recruitment, freshman mixers, welcome activities, small talks, competitions…

    346 GitHub stars~861 tokensUpdated today
    Auto-check passed
  • Teachany

    infometa/workbuddyskills

    K-12 interactive courseware creation. An agent skill from infometa/workbuddyskills.

    346 GitHub starsUsed in 1 repo~1.4k tokens
    Auto-check: notes
  • Weight Management HTML

    infometa/workbuddyskills

    A skill your agent uses when the adult weight-management MCP needs to be installed/set up in WorkBuddy (connector) or its result must be rendered as a standalone Chinese HTML plan.

    346 GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Agent Browser

    infometa/workbuddyskills

    A skill your agent uses when the user needs browser automation, including opening web pages, taking screenshots, extracting page content, clicking elements, filling forms, or testing web flows.

    346 GitHub stars~2.1k tokensUpdated today
    Auto-check passed
  • AI Research Radar

    infometa/workbuddyskills

    定时任务:每日研究简报。漏掉重要论文和行业报告?每天帮你盯着,关键信息一条不漏 This skill should be used when the user asks about 定时任务:每日研究简报.

    346 GitHub stars~438 tokensUpdated today
    Auto-check passed
  • Check Deck

    infometa/workbuddyskills

    Investment banking presentation quality checker. An agent skill from infometa/workbuddyskills.

    346 GitHub stars~687 tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Mermaid Render

What does Mermaid Render do?

Mermaid 图表渲染工具集 —— 将 Mermaid 源代码渲染为美化的 SVG 或 ASCII 图表. An agent skill from infometa/workbuddyskills. Mermaid Render is an agent skill from infometa/workbuddyskills.

When should I use Mermaid Render?

Mermaid Render fits situations like: tasks that involve Diagrams.

How do I install Mermaid Render in Claude Code?

Run `npx skills add infometa/workbuddyskills --skill mermaid-render -a claude-code`. Or copy the skill folder (experts/mermaid-diagram-expert/skills/mermaid-render in infometa/workbuddyskills) into .claude/skills/mermaid-render in your project. Claude Code loads it when a task matches its description.

How do I install Mermaid Render in Codex?

Run `npx skills add infometa/workbuddyskills --skill mermaid-render -a codex`. Or copy the skill folder (experts/mermaid-diagram-expert/skills/mermaid-render in infometa/workbuddyskills) into .agents/skills/mermaid-render in your project. Codex loads it when a task matches its description.

Can I use Mermaid Render in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add infometa/workbuddyskills --skill mermaid-render -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-render, .gemini/skills/mermaid-render, .github/skills/mermaid-render and .opencode/skills/mermaid-render in your project.

What does Mermaid Render need to run?

Going by SKILL.md and its folder, Mermaid Render needs JavaScript and a shell for the scripts in its folder and the command-line tools its instructions call (node and bash). Our summary lists: Node.js; A Bash shell.

Does Mermaid Render access the network?

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.

Is Mermaid Render safe to install?

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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Mermaid Render use?

No licence was found for Mermaid Render or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Mermaid Render use?

About 516 tokens (SKILL.md is roughly 2.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 4.4k tokens, read only when the agent opens those files.

What are the alternatives to Mermaid Render?

Skills that share tags, products or a category with Mermaid Render: Archify Diagrams (tt-a1i/archify, 81k stars), Diagram Design (cathrynlavery/diagram-design, 47k stars), Draw.io Diagram Studio (Agents365-ai/drawio-skill, 10k stars) and Pretty Mermaid Renderer (imxv/Pretty-mermaid-skills, 1.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Mermaid Render?

infometa (a GitHub user) maintains it in infometa/workbuddyskills, which has 346 GitHub stars. The repository holds 218 skills in this directory. The repository was last updated on October 8, 2026.

Source: infometa/workbuddyskills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.