mermaid

mermaid is a skill for Claude Code from Kripu77/software-factory. It costs 34 tokens per session (868 once invoked), scanned A, a copy of mermaid, MIT.

A generator for Mermaid diagram code. Mermaid is a text format for drawing diagrams such as flows, timelines, database relationships, and system interactions.

In plain words
What is it for?
Use it to create flowcharts, sequence diagrams, class diagrams, state diagrams, entity-relationship diagrams, Gantt charts, mind maps, and other supported diagrams.
Why use it?
It turns a written requirement into a diagram type and syntax that can be rendered by Mermaid-compatible tools. This avoids having to learn every diagram format by hand.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the software-factory plugin — 10 skills, 9 commands shipped together

Good fit Use it to create flowcharts, sequence diagrams, class diagrams, state diagrams, entity-relationship diagrams, Gantt charts, mind maps, and other supported diagrams.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kripu77/software-factory/mermaid
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.

Any agent
npx skills add Kripu77/software-factory --skill mermaid
Clone the repo
git clone --depth 1 https://github.com/Kripu77/software-factory

Made for: Claude Code.

Or install software-factory, the plugin that ships this one along with the rest of its 10 skills, 9 commands.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/kripu77/software-factory/mermaid/github.svg)](https://agentmods.dev/skills/kripu77/software-factory/mermaid)
Your own site
<a href="https://agentmods.dev/skills/kripu77/software-factory/mermaid"><img src="https://agentmods.dev/badge/skills/kripu77/software-factory/mermaid/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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kripu77/software-factory/mermaid"><img src="https://agentmods.dev/badge/skills/kripu77/software-factory/mermaid.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 868 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 100% copy Near-identical to another mod 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.00034 $0.00868
Opus 5.5 $0.00014 $0.00347
Sonnet 5.5 $0.00007 $0.00174
Haiku 4.5 $0.00003 $0.00087

Measured 2mo ago against content hash 30ab197feb48, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mermaid 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 2mo 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

This is a copy

100% identical to mermaid — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/mermaid/SKILL.md · 81 lines

How it starts

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

Mermaid Diagram Generator

Generate high-quality Mermaid diagram code based on user requirements.

Workflow

  1. Understand Requirements: Analyze user description to determine the most suitable diagram type
  2. Read Documentation: Read the corresponding syntax reference for the diagram type
  3. Generate Code: Generate Mermaid code following the specification
  4. Apply Styling: Apply appropriate themes and style configurations

Diagram Type Reference

Select the appropriate diagram type and read the corresponding documentation:

Type Documentation Use Cases
Flowchart flowchart.md Processes, decisions, steps
Sequence Diagram sequenceDiagram.md Interactions, messaging, API calls
Class Diagram classDiagram.md Class structure, inheritance, associations
State Diagram stateDiagram.md State machines, state transitions
ER Diagram entityRelationshipDiagram.md Database design, entity relationships
Gantt Chart gantt.md Project planning, timelines
Pie Chart pie.md Proportions, distributions
Mindmap mindmap.md Hierarchical structures, knowledge graphs
Timeline timeline.md Historical events, milestones
Git Graph gitgraph.md Branches, merges, versions
Quadrant Chart quadrantChart.md Four-quadrant analysis
Requirement Diagram requirementDiagram.md Requirements traceability
C4 Diagram c4.md System architecture (C4 model)
Sankey Diagram sankey.md Flow, conversions
XY Chart xyChart.md Line charts, bar charts
Block Diagram block.md System components, modules
Packet Diagram packet.md Network protocols, data structures
Kanban kanban.md Task management, workflows
Architecture Diagram architecture.md System architecture
Radar Chart radar.md Multi-dimensional comparison
Treemap treemap.md Hierarchical data visualization
User Journey userJourney.md User experience flows
ZenUML zenuml.md Sequence diagrams (code style)

Read the full file on GitHub · 81 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. 2mo ago First seen · 81 lines · 34 tokens per session scan A 30ab197feb48

Subscribe to this mod's changes

mermaid is a skill published in the GitHub repository Kripu77/software-factory (6 stars, last pushed 1mo ago), licensed MIT. It adds 34 tokens to every session and 868 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to mermaid, differing in 0 lines, and is treated as a copy.

Related

mermaid compared with skills from other repositories

mermaid next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mermaidKripu77/software-factorySkill61mo agoMITA34Claude Code
brand-and-identityaneja5/forge-skillsSkill35mo agoMITA43Claude Code
design-systemaneja5/forge-skillsSkill35mo agoMITA52Claude Code
accessibilityaneja5/forge-skillsSkill35mo agoMITA49Claude Code
component-libraryaneja5/forge-skillsSkill35mo agoMITA43Claude Code
data-visualizationaneja5/forge-skillsSkill35mo agoMITA39Claude Code
interaction-patternsaneja5/forge-skillsSkill35mo agoMITA54Claude Code