mermaid-diagram-specialist

mermaid-diagram-specialist is an agent for Claude Code from softaworks/agent-toolkit. It costs 26 tokens per session (3,787 once invoked), scanned A, original, MIT.

A specialist for Mermaid, a text-based format for generating diagrams. It creates flowcharts, sequence diagrams showing interactions over time, ERDs showing database relationships, architecture diagrams, state machines, decision trees, and user journeys.

In plain words
What is it for?
Use it to document software architecture, workflows, data models, component interactions, states and transitions, decisions, and user journeys.
Why use it?
It helps turn technical descriptions and system relationships into diagrams that are easier to read and document.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to document software architecture, workflows, data models, component interactions, states and transitions, decisions, and user journeys.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/softaworks/agent-toolkit/mermaid-diagram-specialist
About the project

Softaworks Agent Toolkit is a collection of packaged instructions, scripts, agents, and commands that give AI coding assistants reusable procedures for development, documentation, planning, and professional work. Developers install its components individually in compatible coding-agent environments; catalogue entries represent parts of this toolkit.

softaworks/agent-toolkit · 2,446 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/softaworks/agent-toolkit

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mermaid-diagram-specialist

README.md
[![agentmods](https://agentmods.dev/badge/agents/softaworks/agent-toolkit/mermaid-diagram-specialist/github.svg)](https://agentmods.dev/agents/softaworks/agent-toolkit/mermaid-diagram-specialist)
Your own site
<a href="https://agentmods.dev/agents/softaworks/agent-toolkit/mermaid-diagram-specialist"><img src="https://agentmods.dev/badge/agents/softaworks/agent-toolkit/mermaid-diagram-specialist/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mermaid-diagram-specialist

Your own site · 80×15
<a href="https://agentmods.dev/agents/softaworks/agent-toolkit/mermaid-diagram-specialist"><img src="https://agentmods.dev/badge/agents/softaworks/agent-toolkit/mermaid-diagram-specialist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,787 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00026 $0.03787
Opus 5 $0.00013 $0.01894
Sonnet 5 $0.00005 $0.00757
Haiku 4.5 $0.00003 $0.00379

Measured 9d ago against content hash e096b691becc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

mermaid-diagram-specialist scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

agents/mermaid-diagram-specialist.md · 617 lines

How it starts

The opening of the file, as written. The whole thing — 617 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Mermaid Diagram Specialist

Overview

Purpose: Expert in creating comprehensive Mermaid diagrams for documentation, architecture visualization, and process mapping

Category: Tech Primary Users: tech-writer, architecture-validator, product-technical, tech-lead

When to Use This Skill

  • Creating architecture documentation
  • Visualizing workflows and processes
  • Documenting data models (ERDs)
  • Explaining sequence flows
  • Creating state machines
  • Documenting component relationships
  • Creating decision trees
  • Visualizing user journeys

Prerequisites

Required:

  • Understanding of the system/process to document
  • Access to technical specifications
  • Knowledge of diagram type needed

Optional:

  • Design system colors for consistency
  • Existing documentation to reference

Input

What the skill needs:

  • Process/system description
  • Entities and relationships (for ERDs)
  • Component interactions (for sequence diagrams)
  • Architecture layers (for C4 diagrams)
  • States and transitions (for state diagrams)

Workflow

Step 1: Diagram Type Selection

Objective: Choose appropriate diagram type for requirements

Available Diagram Types:

  1. Flowchart: Decision flows, algorithms, processes
  2. Sequence Diagram: API interactions, message flows
  3. ERD: Database schemas, entity relationships
  4. Class Diagram: Object-oriented design
  5. State Diagram: State machines, lifecycle
  6. Gantt Chart: Project timelines, schedules
  7. C4 Diagram: Architecture at different levels
  8. Pie/Bar Charts: Data visualization
  9. Git Graph: Version control flows
  10. User Journey: User experience flows

Decision Matrix:

  • Process with decisions → Flowchart
  • API/system interactions → Sequence Diagram
  • Database structure → ERD
  • System architecture → C4 Diagram
  • Object relationships → Class Diagram
  • State transitions → State Diagram
  • Project timeline → Gantt Chart

Validation:

Read the full file on GitHub · 617 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 617 lines · 26 tokens per session scan A e096b691becc

Subscribe to this mod's changes

mermaid-diagram-specialist is an agent published in the GitHub repository softaworks/agent-toolkit (2,446 stars, last pushed 6mo ago), licensed MIT. It adds 26 tokens to every session and 3,787 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

designer

Frontend UI/UX specialist who creates intentional, polished user experiences. Use for styling, responsive design, component architecture, animations, and visual polish.

shahidshabbir-se/my-pi-setup · 31 tokens

copy

Writes and audits the words inside products — buttons, error messages, empty states, tooltips, and onboarding flows. Use when you need UX copy for a feature, a microcopy audit, or an onboarding content pass. Trigger with "write the UX copy", "audit the error messages".

jeremylongshore/tons-of-skills-marketplace · 60 tokens

glyph

Designs type systems — font pairing, scale, hierarchy, and readability tokens for design systems. Use when setting up or auditing typography for a product or codebase. Trigger with "design a type system", "audit our typography".

jeremylongshore/tons-of-skills-marketplace · 48 tokens

accessibility-reviewer

Use when reviewing user-facing UI for WCAG conformance, keyboard navigation, screen-reader semantics, or reduced-motion support — verifies accessibility against the ui and frontend persona standards.

jeremylongshore/tons-of-skills-marketplace · 39 tokens

Cartography Designer

Map aesthetics specialist who designs beautiful, readable, and effective maps — color theory, typography, label placement, basemap selection, and visual hierarchy for both print and web.

SHAdd0WTAka/Zen-Ai-Pentest · 38 tokens

ux-researcher

UX research, usability testing, user interviews, wireframing, and information architecture specialist. Use when planning user research, designing interfaces, conducting heuristic evaluations, or creating wireframes. Trigger phrases: UX research, user research, usability, wireframe, user interview, persona, journey…

travisjneuman/.claude · 69 tokens