Agent skill

Mermaid Visualizer

by closedloop-ai in closedloop-ai/claude-plugins

This skill should be used when a user asks to explain a complex idea, concept, or system architecture, or when a diagram would be helpful to visualize control flows, system architectures, data…

Apache-2.0Auto-check passedDevelopment

Install Mermaid Visualizer

skills CLI
$ npx skills add closedloop-ai/claude-plugins --skill mermaid-visualizer -a claude-code

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

GitHub CLI
$ gh skill install closedloop-ai/claude-plugins mermaid-visualizer --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/closedloop-ai/claude-plugins.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/code/skills/mermaid-visualizer .claude/skills/mermaid-visualizer && 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-visualizer
GitHub stars
122
Token cost
~525 tokens
SKILL.md length
220 words
Files
2 (incl. references)
Skills in repo
41
Repo updated
First seen
Licence
Apache-2.0

At a glance

This skill should be used when a user asks to explain a complex idea, concept, or system architecture, or when a diagram would be helpful to visualize control flows, system architectures, data…

  • Works in 6 steps: Understand the concept being visualized… → Select the appropriate diagram type from… → Reference the Mermaid syntax guide in… → …
  • Tasks that involve Diagrams
  • SKILL.md covers Purpose, How to Use This Skill, Diagram Types Supported and Key Mermaid Concepts
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Mermaid Visualizer is an agent skill from closedloop-ai/claude-plugins. This skill should be used when a user asks to explain a complex idea, concept, or system architecture, or when a diagram would be helpful to visualize control flows, system architectures, data flows, state machines, sequence diagrams, or entity relationships.

Its SKILL.md is about 530 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/mermaid-syntax.md`).

It sits in Development, covering Diagrams. It works with Mermaid. The repository describes itself as: Open-source Claude Code plugins for multi-agent software delivery. Plan-first SDLC workflow, code review, LLM quality judges, and self-learning — grounded in your codebase… The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Diagrams

Example prompts

  • “/mermaid-visualizer”

Workflow steps

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

  1. Understand the concept being visualized by reviewing the user's description
  2. Select the appropriate diagram type from the diagram type options below
  3. Reference the Mermaid syntax guide in references/mermaid-syntax.md for correct syntax
  4. Create the diagram using Mermaid markdown syntax
  5. Embed the diagram in the response using markdown code fence with mermaid language identifier
  6. Follow best practices from references/mermaid-syntax.md to ensure clarity and correctness

What it can do on your machine

Read from SKILL.md and the folder at commit 476b54c. 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

    No scripts in the folder and no shell commands in SKILL.md.

    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 Visualizer loads about 525 tokens when it runs, and up to ~1.7k if it reads all its reference files. Until then it costs about 70 tokens; SKILL.md has 220 words of instructions outside code blocks.

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

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); files beside SKILL.md are not scanned.

SKILL.md

The full file from closedloop-ai/claude-plugins at commit 476b54c, republished under its Apache-2.0 licence (© closedloop-ai). 220 words, ~525 tokens.

Download SKILL.mdSave it as .claude/skills/mermaid-visualizer/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
mermaid-visualizer
description
This skill should be used when a user asks to explain a complex idea, concept, or system architecture, or when a diagram would be helpful to visualize control flows, system architectures, data flows, state machines, sequence diagrams, or entity relationships.

Mermaid Visualizer

Purpose

To create clear, effective Mermaid diagrams that visualize complex concepts, system architectures, and control flows. This skill provides comprehensive guidance for generating diagrams that aid understanding of intricate systems and processes.

How to Use This Skill

  1. Understand the concept being visualized by reviewing the user's description
  2. Select the appropriate diagram type from the diagram type options below
  3. Reference the Mermaid syntax guide in references/mermaid-syntax.md for correct syntax
  4. Create the diagram using Mermaid markdown syntax
  5. Embed the diagram in the response using markdown code fence with mermaid language identifier
  6. Follow best practices from references/mermaid-syntax.md to ensure clarity and correctness

Diagram Types Supported

  • Flowcharts: Decision trees, process flows, control flows
  • Sequence Diagrams: Interactions between components or systems over time
  • State Diagrams: State transitions and triggers
  • Class Diagrams: Object-oriented relationships and hierarchies
  • Entity Relationship Diagrams: Database schemas and data relationships
  • System Architecture Diagrams: Component relationships and service interactions

Key Mermaid Concepts

Node Syntax: Use NodeID[Label] for rectangular nodes, {Decision} for diamonds, (Rounded) for rounded nodes.

Edge Syntax: Connect nodes with --> for arrows, -.-> for dotted lines, and |Label| for edge descriptions.

Prohibited Symbols: Avoid unescaped quotes, pipes, brackets, colons, and semicolons in node IDs. Use underscores or hyphens for spaces in IDs, and quoted strings for complex labels.

For detailed syntax guidance, refer to references/mermaid-syntax.md.

© closedloop-ai, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in plugins/code/skills/mermaid-visualizer of closedloop-ai/claude-plugins.

  • SKILL.md
  • references/mermaid-syntax.md

Open the folder on GitHubat commit 476b54c

Compare with similar skills

Mermaid Visualizer 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 Visualizer compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Mermaid Visualizer this skillclosedloop-ai/claude-plugins122—~525Automated safety check: PassApache-2.0
Archify Diagramstt-a1i/archify79k—~2.9kAutomated safety check: PassMIT
Diagram Designcathrynlavery/diagram-design45k1 repos~7.5kAutomated safety check: PassMIT
Draw.io Diagram StudioAgents365-ai/drawio-skill10k—~2.4kAutomated safety check: NotesMIT
Code Graph Mermaid Diagramstrailofbits/skills7.4k1 repos~1.7kAutomated safety check: PassCC-BY-SA-4.0
Pretty Mermaid Rendererimxv/Pretty-mermaid-skills1.5k—~2kAutomated 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.

    79k 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.

    45k 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
  • Code Graph Mermaid Diagrams

    trailofbits/skills

    Official

    Generates Mermaid diagrams from Trailmark code graphs, including call graphs, class hierarchies, module dependency maps, complexity heatmaps and attack surface data flows.

    7.4k GitHub starsUsed in 1 repo~1.7k tokens
    DevelopmentAuto-check passed
  • 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

More from closedloop-ai/claude-plugins

All 41 skills in this repo
  • Codex Review

    closedloop-ai/claude-plugins

    Run Codex to review a plan file and return structured feedback with a verdict.

    122 GitHub stars~1.4k tokensUpdated today
    Auto-check: notes
  • Critic Cache

    closedloop-ai/claude-plugins

    Check if critic reviews are still valid before re-running Phase 2.5 critics.

    122 GitHub stars~528 tokensUpdated today
    Auto-check: notes
  • Cross Repo Cache

    closedloop-ai/claude-plugins

    Check if cross-repo coordinator results can be reused, avoiding redundant Sonnet agent launches.

    122 GitHub stars~683 tokensUpdated today
    Auto-check: notes
  • Eval Cache

    closedloop-ai/claude-plugins

    Check for a cached plan-evaluation.json result before launching the plan-evaluator agent.

    122 GitHub stars~516 tokensUpdated today
    Auto-check: notes
  • Find Plugin File

    closedloop-ai/claude-plugins

    This skill should be used when needing to locate files within the Claude Code plugins cache directory (~/.claude/plugins/cache).

    122 GitHub stars~812 tokensUpdated today
    Auto-check passed
  • Gh Monitor PR

    closedloop-ai/claude-plugins

    Start a detached GitHub pull-request monitor that wakes the exact launching Codex Desktop or CLI root through the managed Codex App Server when review, CI, conflict, merge-queue, closure, readiness…

    122 GitHub stars~5.1k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Mermaid Visualizer

What does Mermaid Visualizer do?

This skill should be used when a user asks to explain a complex idea, concept, or system architecture, or when a diagram would be helpful to visualize control flows, system architectures, data…. Mermaid Visualizer is an agent skill from closedloop-ai/claude-plugins. This skill should be used when a user asks to explain a complex idea, concept, or system architecture, or when a diagram would be helpful to visualize control flows, system architectures, data flows, state machines, sequence diagrams, or entity relationships.

When should I use Mermaid Visualizer?

Mermaid Visualizer fits situations like: tasks that involve Diagrams.

How do I install Mermaid Visualizer in Claude Code?

Run `npx skills add closedloop-ai/claude-plugins --skill mermaid-visualizer -a claude-code`. Or copy the skill folder (plugins/code/skills/mermaid-visualizer in closedloop-ai/claude-plugins) into .claude/skills/mermaid-visualizer in your project. Claude Code loads it when a task matches its description.

How do I install Mermaid Visualizer in Codex?

Run `npx skills add closedloop-ai/claude-plugins --skill mermaid-visualizer -a codex`. Or copy the skill folder (plugins/code/skills/mermaid-visualizer in closedloop-ai/claude-plugins) into .agents/skills/mermaid-visualizer in your project. Codex loads it when a task matches its description.

Can I use Mermaid Visualizer 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 closedloop-ai/claude-plugins --skill mermaid-visualizer -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-visualizer, .gemini/skills/mermaid-visualizer, .github/skills/mermaid-visualizer and .opencode/skills/mermaid-visualizer in your project.

What does Mermaid Visualizer need to run?

SKILL.md names no scripts, command-line tools or credentials: Mermaid Visualizer is instructions for the agent only.

Does Mermaid Visualizer 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 Visualizer 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. Review the folder before installing.

What licence does Mermaid Visualizer use?

Mermaid Visualizer is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Mermaid Visualizer use?

About 525 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 1.2k tokens, read only when the agent opens those files.

What are the alternatives to Mermaid Visualizer?

Skills that share tags, products or a category with Mermaid Visualizer: Archify Diagrams (tt-a1i/archify, 79k stars), Diagram Design (cathrynlavery/diagram-design, 45k stars), Draw.io Diagram Studio (Agents365-ai/drawio-skill, 10k stars) and Code Graph Mermaid Diagrams (trailofbits/skills, 7.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Mermaid Visualizer?

closedloop-ai (a GitHub organization) maintains it in closedloop-ai/claude-plugins, which has 122 GitHub stars. The repository holds 41 skills in this directory. The repository was last updated on October 7, 2026.

Source: closedloop-ai/claude-plugins on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.