Architecture mirror for vibe coding

Your codebase,
always readable.

Vibe coding makes you move fast — but the architecture quietly bloats. oh-my-mermaid keeps a living diagram of your codebase, automatically.

system-overviewauth-flowdata-layerAPI Gateway@auth-flowOAuthSessionRBACPush SvcShare Svc@data-layerSupabaseDBStoreWeb Viewer (SSR)3 diagrams · 9 nodes · 12 edges

The problem

01

You move fast

AI writes code faster than you can think. Modules pile up. Dependencies multiply.

02

Architecture drifts

Nobody updated the diagram. Nobody knows what connects to what anymore.

03

You lose the map

Your own codebase becomes a black box. Debugging becomes guessing.

How it works

1

Setup once

Install the CLI and register Claude Code skills. The CLI scans your project and generates a .omm/ directory with structured Mermaid diagrams.

$ omm setup
2

AI keeps it fresh

Two Claude Code skills — /omm-scan and /omm-push — let AI analyze your code and write diagrams directly. Architecture stays in sync as you build.

$ /omm-scan
3

View and share

View locally or push to cloud. Share with your team via organization workspaces. Drill into any diagram, see diffs, navigate cross-references.

$ omm view

Features

Living diagrams

Every diagram is plain text (.mmd). Committed to git. Diffable. Reviewable.

Cross-diagram links

Reference another diagram with @class-name. Click to drill down. Navigate with breadcrumbs.

Claude Code skills

/omm-scan and /omm-push ship as Claude Code skills. AI writes diagrams, CLI owns the files.

Cloud push & share

Push your architecture to the cloud. Share read-only links with stakeholders or embed in docs.

Team workspaces

Create organizations, invite editors, manage seats. Everyone sees the same living architecture.

Real-time viewer

File watcher + SSE means the browser updates the moment you save a diagram.

Install

Global$ npm install -g oh-my-mermaid
One-shot$ npx oh-my-mermaid setup

CLI

omm setupRegister skills with Claude Code and AI tools
omm listList all architecture classes
omm show <class>Print all fields for a class
omm diff <class>Show diagram diff from previous version
omm refs <class>Show which classes reference this one
omm viewStart the local web viewer on :3000
omm pushPush .omm/ to cloud
omm pullPull .omm/ from cloud
omm sharePrint the shareable URL
omm org listList your organizations