Agent skill

Visualizing With Mermaid

by rileyhilliard in rileyhilliard/claude-essentials

Creates professional Mermaid diagrams with semantic styling and visual hierarchy.

MITAuto-check passedDevelopment

Install Visualizing With Mermaid

skills CLI
$ npx skills add rileyhilliard/claude-essentials --skill visualizing-with-mermaid -a claude-code

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

GitHub CLI
$ gh skill install rileyhilliard/claude-essentials visualizing-with-mermaid --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/rileyhilliard/claude-essentials.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/ce/skills/visualizing-with-mermaid .claude/skills/visualizing-with-mermaid && 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
visualizing-with-mermaid
GitHub stars
130
Token cost
~624 tokens
SKILL.md length
248 words
Files
3 (incl. references)
Skills in repo
17
Repo updated
First seen
Licence
MIT

At a glance

Creates professional Mermaid diagrams with semantic styling and visual hierarchy.

  • Works in 4 steps: Visual hierarchy over decoration -… → Semantic color - Colors have meaning… → Simplicity over completeness - 80%… → …
  • Creating flowcharts
  • SKILL.md covers Choosing Diagram Type, Core Principles, Quick Styling Guide and Shape Semantics, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Visualizing With Mermaid is an agent skill from rileyhilliard/claude-essentials. Creates professional Mermaid diagrams with semantic styling and visual hierarchy. Use when creating flowcharts, sequence diagrams, state machines, class diagrams, or architecture visualizations.

Its SKILL.md is about 620 tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/color-palettes.md` and `references/examples.md`).

It sits in Development, covering Diagrams. It works with Mermaid. The licence is MIT.

When your agent uses it

  • Creating flowcharts
  • Sequence diagrams
  • Architecture visualizations

Example prompts

  • “Use the visualizing-with-mermaid skill to create professional Mermaid diagrams with semantic styling and visual hierarchy”
  • “/visualizing-with-mermaid”

Workflow steps

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

  1. Visual hierarchy over decoration - Color/size guide the eye to what matters
  2. Semantic color - Colors have meaning (grouping, state, criticality)
  3. Simplicity over completeness - 80% clearly beats 100% confusingly
  4. 7-12 nodes max - Human working memory limit; break larger systems into drill-downs

What it can do on your machine

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

Visualizing With Mermaid loads about 624 tokens when it runs, and up to ~3.6k if it reads all its reference files. Until then it costs about 55 tokens; SKILL.md has 248 words of instructions outside code blocks.

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

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 rileyhilliard/claude-essentials at commit 3a67a01, republished under its MIT licence (© rileyhilliard). 248 words, ~624 tokens.

Download SKILL.mdSave it as .claude/skills/visualizing-with-mermaid/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
visualizing-with-mermaid
description
Creates professional Mermaid diagrams with semantic styling and visual hierarchy. Use when creating flowcharts, sequence diagrams, state machines, class diagrams, or architecture visualizations.

Mermaid Diagrams

Default: Dark mode colors from references/color-palettes.md.

Choosing Diagram Type

ConceptDiagram Type
Process flows, decisionsFlowchart (TB direction)
API calls, message passingSequence diagram
Lifecycle statesState diagram
Data models, relationshipsClass diagram or ERD
System architectureFlowchart with subgraphs (LR direction)

Core Principles

  1. Visual hierarchy over decoration - Color/size guide the eye to what matters
  2. Semantic color - Colors have meaning (grouping, state, criticality)
  3. Simplicity over completeness - 80% clearly beats 100% confusingly
  4. 7-12 nodes max - Human working memory limit; break larger systems into drill-downs

Quick Styling Guide

Do:

  • Use fills to group related components
  • Highlight critical paths with stroke width
  • Different shapes = different component types (cylinders for DBs, diamonds for decisions)
  • Keep labels to 1-4 words; use <br/> for longer

Don't:

  • Pure black (#000000) - too harsh, use dark gray
  • Saturated background colors - tire the eyes
  • More than 5 colors per diagram
  • Low-contrast combinations

Shape Semantics

  • Rectangles: Services, processes
  • Rounded rectangles: APIs, interfaces
  • Circles: Start/end points, external systems
  • Diamonds: Decision points
  • Cylinders: Databases
  • Hexagons: Queues, message brokers

Layout

LR (left-to-right): Pipelines, architecture diagrams TB (top-to-bottom): Hierarchies, decision flows

Use subgraphs for: deployment boundaries, logical layers, team ownership, trust boundaries.

Resources

Workflow

  1. Purpose - What decision/understanding should this enable?
  2. Type - Choose based on what you're showing
  3. Structure - Identify components, relationships, groupings
  4. Style - Apply semantic colors, highlight critical paths
  5. Review - Can someone understand it in 10 seconds?

© rileyhilliard, MIT. 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 2 other files (references) in plugins/ce/skills/visualizing-with-mermaid of rileyhilliard/claude-essentials.

  • SKILL.md
  • references/color-palettes.md
  • references/examples.md

Open the folder on GitHubat commit 3a67a01

Compare with similar skills

Visualizing With Mermaid 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.

Visualizing With Mermaid compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Visualizing With Mermaid this skillrileyhilliard/claude-essentials130—~624Automated safety check: PassMIT
Archify Diagramstt-a1i/archify81k—~2.9kAutomated safety check: PassMIT
Diagram Designcathrynlavery/diagram-design48k1 repos~7.6kAutomated 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.

    48k GitHub starsUsed in 1 repo~7.6k 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 8 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 rileyhilliard/claude-essentials

All 17 skills in this repo
  • Handling Errors

    rileyhilliard/claude-essentials

    Prevents silent failures and context loss in error handling.

    130 GitHub stars~632 tokensUpdated 1 mo ago
    Auto-check passed
  • Planning Products

    rileyhilliard/claude-essentials

    Defines product features from a PM perspective (JTBD, competitive research, scope negotiation) before technical planning.

    130 GitHub stars~1.4k tokensUpdated 1 mo ago
    Auto-check passed
  • Writing Tests

    rileyhilliard/claude-essentials

    Writes behavior-focused tests using Testing Trophy model with real dependencies.

    130 GitHub stars~999 tokensUpdated 1 mo ago
    Auto-check passed
  • Optimizing Performance

    rileyhilliard/claude-essentials

    Measure-first performance optimization that balances gains against complexity.

    130 GitHub stars~470 tokensUpdated 1 mo ago
    Auto-check passed
  • Architecting Systems

    rileyhilliard/claude-essentials

    Guides clean, scalable system architecture during the build phase.

    130 GitHub stars~713 tokensUpdated 1 mo ago
    Auto-check passed
  • Design

    rileyhilliard/claude-essentials

    Enforces precise, minimal design for dashboards and admin interfaces.

    130 GitHub stars~1.9k tokensUpdated 1 mo ago
    Auto-check passed

Works with

Categories

Questions about Visualizing With Mermaid

What does Visualizing With Mermaid do?

Creates professional Mermaid diagrams with semantic styling and visual hierarchy. Visualizing With Mermaid is an agent skill from rileyhilliard/claude-essentials. Creates professional Mermaid diagrams with semantic styling and visual hierarchy.

When should I use Visualizing With Mermaid?

Visualizing With Mermaid fits situations like: creating flowcharts; sequence diagrams; architecture visualizations.

How do I install Visualizing With Mermaid in Claude Code?

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

How do I install Visualizing With Mermaid in Codex?

Run `npx skills add rileyhilliard/claude-essentials --skill visualizing-with-mermaid -a codex`. Or copy the skill folder (plugins/ce/skills/visualizing-with-mermaid in rileyhilliard/claude-essentials) into .agents/skills/visualizing-with-mermaid in your project. Codex loads it when a task matches its description.

Can I use Visualizing With Mermaid 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 rileyhilliard/claude-essentials --skill visualizing-with-mermaid -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/visualizing-with-mermaid, .gemini/skills/visualizing-with-mermaid, .github/skills/visualizing-with-mermaid and .opencode/skills/visualizing-with-mermaid in your project.

What does Visualizing With Mermaid need to run?

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

Does Visualizing With Mermaid 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 Visualizing With Mermaid 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 Visualizing With Mermaid use?

Visualizing With Mermaid is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Visualizing With Mermaid use?

About 624 tokens (SKILL.md is roughly 2.5k 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 3k tokens, read only when the agent opens those files.

What are the alternatives to Visualizing With Mermaid?

Skills that share tags, products or a category with Visualizing With Mermaid: Archify Diagrams (tt-a1i/archify, 81k stars), Diagram Design (cathrynlavery/diagram-design, 48k 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 Visualizing With Mermaid?

rileyhilliard (a GitHub user) maintains it in rileyhilliard/claude-essentials, which has 130 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on August 18, 2026.

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