Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By oh-my-mermaidv0.3.0MITIn 1 marketplace
Turns your codebase into browsable Mermaid architecture diagrams, generated by your AI assistant and viewed locally with omm view. Needs the oh-my-mermaid npm package installed globally; cloud sharing via ohmymermaid.com is optional.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
Public GitHub repos that commit this plugin as enabled in their Claude Code settings
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
English | Türkçe | 한국어 | 日本語 | 中文
AI writes code in seconds. Humans understand it in hours.
But skip understanding, the codebase becomes a black box — even to you.
omm closes the gap — architecture docs, generated by AI, for humans.
Paste this in your terminal:
npm install -g oh-my-mermaid && omm setup
Then open your AI coding tool and use the /omm-scan skill:
/omm-scan
That's it. View the result:
omm view
omm scanned itself. This is what it found.
![]() | ![]() |
Integrating oh-my-mermaid into your project is designed to be frictionless and part of your daily AI coding workflow.
Whenever you start working on a project, ask your AI assistant to run /omm-scan. The agent will analyze your codebase and generate a .omm/ directory containing the architecture diagrams and descriptions.
Commit the .omm/ directory to your repository (e.g., via Git). This allows your entire team—and their respective AI assistants—to share a unified understanding of the architecture.
As you add new features or refactor code, periodically ask your AI to /omm-scan again to update the architecture. This ensures your documentation never drifts from reality.
Whenever you need to understand a subsystem or onboard a new team member, run omm view in your terminal to explore the architecture interactively.
Your AI analyzes the codebase and generates perspectives — different lenses on your architecture (structure, data flow, integrations...). Each perspective contains a Mermaid diagram and documentation fields.
Every node gets recursively analyzed. Complex nodes become nested child elements with their own diagrams. Simple ones stay as leaves. The filesystem reflects the tree:
.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 viewer auto-detects nesting from the filesystem — elements with children render as expandable groups, others as nodes.
Each element carries up to 7 fields: description, diagram, context, constraint, concern, todo, note.
omm setup # Register skills with your AI tools
omm view # Open interactive viewer
omm export [path] -o architecture.md # Export diagrams as Markdown or Mermaid
omm config language ko # Set content language
omm update # Update to latest version
Run omm help for the full command list.
Add .omm/viewer.css to override viewer styles for a project. The file is optional and is served only by the local viewer. For example:
.node-path {
opacity: 1;
}
Skills are commands you run inside your AI coding tool (not the terminal). They start with /.
| Skill | What it does |
|---|---|
/omm-scan | Analyze codebase → generate architecture docs |
/omm-push | Login + link + push to cloud in one step |
You can store your architecture in the cloud via ohmymermaid.com.
omm login && omm link && omm push
It's private by default. Share with your team, or make it public like this example.
| Platform | Setup |
|---|---|
| Claude Code | omm setup claude |
| Codex | omm setup codex |
| Cursor | omm setup cursor |
| OpenClaw | omm setup openclaw |
| Antigravity | omm setup antigravity |
| Gemini CLI | omm setup gemini |
Run omm setup to auto-detect and configure all installed tools.
See docs/ROADMAP.md.
git clone https://github.com/oh-my-mermaid/oh-my-mermaid.git
cd oh-my-mermaid
npm install && npm run build
npm test
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub oh-my-mermaid/oh-my-mermaid --plugin oh-my-mermaidPlugins from other owners that cover similar ground