Your Mermaid diagrams, placed by rule and made live.
Mermaid is the easy way to write a diagram and an odd way to look at one. Merlive keeps your Mermaid as the source, places every box by rule, and writes a page readers can step through, in your own colours. It is a skill for your coding agent. You say Merlive this document
.
npx skills add victorsaly/merlive -gFor any agent that reads Agent Skills: Claude Code, Codex, Cursor, OpenCode. Needs Node 22 and nothing else. Get started
One block of Mermaid, drawn twice

Nobody edited the Mermaid and nobody placed a box. The main path runs in one straight line, every box is one size, and the ways back go round the side at right angles. Open Merlive’s as the live page it wrote: pick a box to see only what it connects to, and walk the five steps its author wrote into the Mermaid.
See for yourself
Try it with your own
Paste a block of Mermaid. See Mermaid’s drawing and Merlive’s side by side, with the rules it was checked against. Nothing you paste leaves your browser.
Look through the library
520 samples, one for every feature of 13 kinds of diagram, each drawn twice. Find a shape or a keyword and see both drawings of it.
Read the docs
What is read of each kind of diagram, the lines you can add to your Mermaid, how it finds your colours, and every rule it places by.
Why not a theme
A theme changes what a diagram is coloured with. What is wrong with most Mermaid diagrams is where things are: a decision twice the size of the boxes round it, a main path that wanders, boxes of every size. No theme moves a box.
So Merlive places, by rules it checks before it writes anything. And it has no themes of its own to pick from either: it reads the colours of the site your diagrams will sit on, and holds them to two rules, so words can be read and kinds of box told apart. Why not a theme, and how it differs from the other ways to a better diagram.
What it draws
13 kinds of diagram, feature by feature. Every other kind in the same file is left exactly as you wrote it, and named.
- Flowcharts70 features: 49 drawn as written, 20 drawn less something, 1 partly read
- State diagrams27 features: 19 drawn as written, 8 drawn less something
- Class diagrams36 features: 28 drawn as written, 8 drawn less something
- Entity diagrams48 features: 38 drawn as written, 10 drawn less something
- Requirement diagrams46 features: 37 drawn as written, 9 drawn less something
- C4 diagrams41 features: 25 drawn as written, 16 drawn less something
- Architecture diagrams28 features: 17 drawn as written, 11 drawn less something
- Block diagrams36 features: 31 drawn as written, 5 drawn less something
- Mindmaps38 features: 33 drawn as written, 5 drawn less something
- Kanban boards25 features: 17 drawn as written, 8 drawn less something
- Timelines29 features: 29 drawn as written
- Packets22 features: 22 drawn as written
- Sequence diagrams42 features: 40 drawn as written, 2 drawn less something
Add Merlive to your agent
npx skills add victorsaly/merlive -gThen ask: Merlive docs/orders.md.
The first time, it reads your site’s colours and sets itself up. MIT licence.