oh-my-mermaid: one runtime dependency, no renderer, and an empty example table
Turn complex codebases into clear, navigable architecture diagrams with Claude Code.
At a glance
- What is it?
- A CLI plus a pair of agent skills that have an AI write architecture documentation as Mermaid text files into a directory tree. The prose lists seven fields per element and shows three, the described lenses and the actual directory names disagree, and the flagship example on the front page renders as an empty table.
- Who is it for?
- oh-my-mermaid is a reasonable choice if you want architecture documentation that lives in your repository as plain text next to the code, because Mermaid files diff cleanly and the filesystem mirrors the nesting, which is a better shape for review than a diagram in a wiki. Three things to know.
- Can I use it commercially?
- Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Activity is slowing. The repository last received commits 7 months ago.
- What is it written in?
- Mainly TypeScript, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 22, 2026, and from our analysis. They are not legal advice.
Star history
- oh-my-mermaid/oh-my-mermaid3,398 β Β· +1,143
| Repository | 2026-09-11 | 2026-11-22 |
|---|---|---|
| oh-my-mermaid/oh-my-mermaid | 2.3k | 3.4k |
1,143 Stars in the last 72 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
It writes Mermaid text and never renders it
The dependency list is the most informative line in the manifest: there is exactly one runtime dependency, and it is a YAML parser. There is no Mermaid library, no diagram renderer, no headless browser. What the tool produces is Mermaid source: one file per diagram element, with the .mmd extension, sitting next to a Markdown file describing the same element. Rendering is somebody else's problem, which is why the viewer exists and why its most interesting behaviour is structural rather than graphical. The viewer auto-detects nesting from the directory tree itself: an element that has child directories renders as an expandable group, and one that does not renders as a plain node. There is no nesting metadata to keep in sync, because the nesting is the filesystem. That is a genuinely good design choice, and it also means the tool's output depends on nothing but a directory layout.
npm install -g oh-my-mermaid && omm setupSeven fields are documented and three are demonstrated
The readme says each element carries up to seven fields, and then names them: description, diagram, context, constraint, concern, todo and note. The directory tree shown right above that sentence contains three of them. Every element directory in the example holds a description file, a diagram file and a context file, and then either holds a child directory or does not. So four of the seven documented fields, constraint, concern, todo and note, appear nowhere in the illustration and are never explained. Since the whole value of the tool is that its output is reviewable in a repository, the fields most likely to matter to a reviewer are the ones the page does not show you. Anyone adopting this should expect to learn those four by reading the source rather than the documentation.
.omm/
βββ overall-architecture/ β perspective
β βββ description.md
β βββ diagram.mmd
β βββ context.md
β βββ main-process/ β nested element
β β βββ description.md
β β βββ diagram.mmd
β β βββ auth-service/ β deeper nesting
β β βββ ...
β βββ renderer/
β βββ ...
βββ data-flow/
βββ external-integrations/The lenses in the prose and the directories in the tree differ
Perspectives are described as different lenses on an architecture, and the readme gives three examples in parentheses: structure, data flow and integrations. The directory tree underneath shows three perspective directories, and they are not those three. There is no structure directory. There is a directory called overall architecture, which appears in neither list. Data flow is there, and integrations is there under a longer name with external prefixed to it. So the tree demonstrates one name from the prose, one name that is close to a prose name, and one name that is not in the prose at all, while the lens the readme leads with is the one the tree never shows. It is a small thing, but for a tool whose entire output is a set of directory names, the naming convention is the interface, and a first-time reader cannot infer the real set from the page.
The example on the front page is an empty table
The section headed Example says the tool scanned itself and reports what it found, and then contains a two-column HTML table with each cell half the width and nothing inside either one. There is no image, no diagram and no caption in the cells, which is what remains after the images are stripped from a page that originally had a screenshot of the tool's own output. So the single piece of evidence the project offers about whether it produces anything readable is not on the page. The related point is that the repository itself does contain a top-level directory with the tool's own output naming convention, which means the scan of the tool's own source is in the repository. That is the more useful version of the same evidence, and it is checkable, whereas the front page example is not.
The repository ships the plugin manifest and the scan output
Look at what gets published and what sits in the tree. The package manifest lists four things in its files array: the built output directory, the skills directory, a plugin manifest directory for the Claude Code plugin format, and the licence file. So the npm tarball carries the pieces a setup command needs to register the skills into a tool, which is why a single global install followed by one setup command can work without the user copying anything by hand. At the repository root there is a planning document, an instructions file for assistants, the scan output directory, the plugin manifest directory, five readme translations, a documentation directory with the roadmap, and the scripts directory holding the version tooling. It is a small project, and the root is a fair map of it: a build, two skills, a plugin manifest, and a scan of itself.
Five tools supported, two skills, and one of the two uploads
The tool support is wider than the metadata suggests. The repository description names Claude Code and the package description says a command line tool plus Claude Code skills, but the supported-tools table lists five platforms, each with its own setup subcommand: Claude Code, Codex, Cursor, another agent called OpenClaw, and one called Antigravity. Running setup with no argument is supposed to detect and configure all installed tools. The skills table is much shorter than that, with two entries. The scan skill does the actual work locally. The push skill logs in, links and pushes to a cloud service in one step, which means the architecture documentation, including the descriptions of your subsystems, goes to a third-party site. The readme is straight about it, saying storage is private by default and that you can share it with your team or make it public, and it links a public example.
Two update paths and a version reconciled by script
Installation is a global npm install, and the CLI also has an update subcommand that fetches the latest version, so there are two ways to move and no statement about which one the other defers to. The version itself lives in more than one place, which the manifest admits with two custom scripts: one that checks whether the versions agree and one that rewrites them to agree, and the second runs automatically on the publish hook after the build. A project does not write a version-drift checker unless it has been bitten by version drift. Two smaller details from the same file. The author field is an empty string in a package with a published homepage and issue tracker. And the engine requirement is node 18 or newer, which is generous for a tool that builds with a modern TypeScript bundler and type definitions for a much newer Node major than it claims to need.
Three releases in two days, then six months of silence
The release history is three tags inside a thirty-hour window in March 2026: two patch releases on the same morning eighteen minutes apart, then a minor release the next day. Since then there have been no releases, and the last commit to the default branch was on 2026-04-07. Read against a review date in October, that is a version 0.2.0 tool with about six months of no published movement, which is a young project rather than a dead one but does mean the readme is the best description available and the code is the only authority on the rest. The readme is also translated into five languages, which is more translation effort than the feature list would suggest, and the language switch line at the top has a stray closing bracket after the last link, a small piece of broken markup on the first line of the page.
Editorial conclusion
oh-my-mermaid is a reasonable choice if you want architecture documentation that lives in your repository as plain text next to the code, because Mermaid files diff cleanly and the filesystem mirrors the nesting, which is a better shape for review than a diagram in a wiki. Three things to know. It writes Mermaid text and never renders it, so whatever you read it with has to do that part. Only one of its two skills produces anything locally, while the other uploads your architecture to a third-party site after you log in. And the project has shipped three releases in a two-day window in March with no commit since April, so pin the version and expect to read the source.
Frequently asked questions
What is oh-my-mermaid?
It is a command line tool plus agent skills that have your AI coding tool analyse a codebase and write architecture documentation. The output is a directory of perspectives, each holding a Mermaid diagram file and documentation fields, with nested elements represented as nested directories.
How do I install and run oh-my-mermaid?
Install it globally with npm, run omm setup to register the skills with your AI coding tools, run the scan skill inside that tool, then run omm view to open the interactive viewer. A separate update command fetches the latest version.
Which AI coding tools does oh-my-mermaid support?
Claude Code, Codex, Cursor, OpenClaw and Antigravity, each with its own omm setup subcommand. Running omm setup with no argument is documented to detect and configure all installed tools automatically.
Does oh-my-mermaid need a diagram rendering library?
No. Its only runtime dependency is a YAML parser. It writes Mermaid as .mmd text files and leaves rendering to whatever consumes them, deriving the nesting shown in its viewer from the directory layout rather than from metadata.
What does the oh-my-mermaid push skill do?
It logs in, links and pushes to a cloud service in one step, storing your architecture documentation there. The readme says it is private by default and can be shared with a team or made public, and it links a public example.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/oh-my-mermaid-oh-my-mermaid)Star history chart for your README
[](https://hysenlabs.com/projects/oh-my-mermaid-oh-my-mermaid)Was this useful?