Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

markdown-mermaid-writing

Skill by K-Dense-AI

Writes Markdown documents and Mermaid diagrams for workflows, relationships, timelines and schemas. Built for scientific reports, research notes and READMEs that need structural diagrams.

  • Score 94
  • 59k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install markdown-mermaid-writing

Built from the published package, never by AI.

git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills /tmp/scientific-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/scientific-agent-skills/skills/markdown-mermaid-writing ~/.claude/skills/markdown-mermaid-writing

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install markdown-mermaid-writing in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill gives an assistant a house style for Markdown documents that include Mermaid diagrams. It includes guides for 23 diagram types, a composition guide, and templates for pull requests, issues, architecture decision records, research papers, status reports and how-to guides. It also covers accessibility metadata and checks for the Mermaid version a host renders.

The source says Mermaid is meant for structural diagrams such as workflows, schemas, timelines and relationships. Quantitative charts and statistical figures should use plotting tools instead. The tested versions are Mermaid 12.0.0 and Mermaid CLI 12.0.0. It suits researchers and teams who keep documentation as Markdown under version control.

Written from the project's SKILL.md and checked against it.

What it can do

  • Diagram type guidesCovers 23 Mermaid diagram types, including flowchart, sequence, ER, Gantt and C4.
  • Document templatesStarts documents from templates such as ADRs, research papers, status reports and tutorials.
  • Markdown style guideApplies house rules for headings, emoji use, bold text and tables.
  • Accessibility metadataAdds accTitle and accDescr text to diagrams where the renderer supports it.
  • Rendering checksChecks the destination's Mermaid version before choosing newer diagram types.
  • Source retentionKeeps the .md source alongside any exported SVG or PNG figures.

What you need

  • Node.js 22.13 or later for local rendering
  • A supported Chromium browser for local rendering
  • Network access for package or CDN installation

Try asking

  • Write a README with a Mermaid flowchart of our data pipeline.
  • Draw a Mermaid sequence diagram of the API calls in this service.
  • Create a research note in Markdown with a Mermaid timeline of the study.

Good to know

  • Mermaid renders only where the host supports it; plain viewers may show code.
  • Quantitative charts and statistical figures need separate plotting tools.
  • Hosts and extensions ship different Mermaid versions, so check the destination.
  • Tested with Mermaid and Mermaid CLI 12.0.0 only.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/markdown-mermaid-writing/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: Read Write Edit Bash

  • SKILL.md16 KB
  • assets/examples/example-research-report.md3 KB
  • references/current-rendering.md8 KB
  • references/diagrams/architecture.md5 KB
  • references/diagrams/block.md5 KB
Show all 38 files
  • references/diagrams/c4.md7 KB
  • references/diagrams/class.md9 KB
  • references/diagrams/complex_examples.md17 KB
  • references/diagrams/er.md8 KB
  • references/diagrams/flowchart.md7 KB
  • references/diagrams/gantt.md6 KB
  • references/diagrams/git_graph.md2 KB
  • references/diagrams/kanban.md4 KB
  • references/diagrams/mindmap.md2 KB
  • references/diagrams/packet.md2 KB
  • references/diagrams/pie.md2 KB
  • references/diagrams/quadrant.md3 KB
  • references/diagrams/radar.md3 KB
  • references/diagrams/requirement.md3 KB
  • references/diagrams/sankey.md3 KB
  • references/diagrams/sequence.md6 KB
  • references/diagrams/state.md6 KB
  • references/diagrams/timeline.md4 KB
  • references/diagrams/treemap.md3 KB
  • references/diagrams/user_journey.md5 KB
  • references/diagrams/xy_chart.md3 KB
  • references/diagrams/zenuml.md3 KB
  • references/markdown_style_guide.md32 KB
  • references/mermaid_style_guide.md27 KB
  • templates/decision_record.md7 KB

And 8 more files on GitHub.

Alternatives to markdown-mermaid-writing

All alternatives →

Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr

markdown-mermaid-writing: common questions

Does it replace plotting tools for data charts?

No. The source says quantitative scientific figures require suitable plotting tools, and Mermaid is not a required step before them.

Why keep diagrams as Mermaid text?

The source says Mermaid in a .md file is editable text that diffs cleanly in git and renders in compatible hosts without a separate build step.

Which Mermaid version is it tested with?

The metadata lists Mermaid and Mermaid CLI 12.0.0, with Node.js 22.13 or later and a supported Chromium browser for local rendering.

How do I install markdown-mermaid-writing?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is markdown-mermaid-writing free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is markdown-mermaid-writing safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to markdown-mermaid-writing?

Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.

markdown-mermaid-writing Install

Add to stack

Loading.