---
name: Omm View
slug: omm-view
category: Data
description: Omm View launches the omm web viewer so users can explore .omm architecture diagrams in their browser. Use it when the user wants to open the viewer, show diagrams, or view architecture.
github: "https://github.com/oh-my-mermaid/oh-my-mermaid/tree/main/skills/omm-view"
language: TypeScript
stars: 2190
forks: 187
install: "npx degit https://github.com/oh-my-mermaid/oh-my-mermaid/tree/main/skills/omm-view ~/.claude/skills/omm-view"
installs_to: ~/.claude/skills/omm-view
source_path: skills/omm-view/SKILL.md
collection_size: 3
category_size: 668
collection_url: "https://dirskills.com/collections/oh-my-mermaid/oh-my-mermaid"
added: 2026-08-18T06:58:25.497Z
last_synced: 2026-08-18T06:58:25.497Z
canonical_url: "https://dirskills.com/skills/omm-view"
---

# Omm View

Omm View launches the omm web viewer so users can explore .omm architecture diagrams in their browser. Use it when the user wants to open the viewer, show diagrams, or view architecture.

**Install:**

```bash
npx degit https://github.com/oh-my-mermaid/oh-my-mermaid/tree/main/skills/omm-view ~/.claude/skills/omm-view
```

## README

# omm-view — Architecture Viewer

## Purpose

Launch the interactive web viewer so the user can explore `.omm/` architecture diagrams in their browser.

## Prerequisites

Ensure the `omm` CLI is available:

```bash
command -v omm || npm install -g oh-my-mermaid
```

If the install command fails (permission denied), tell the user:
"Please run `npm install -g oh-my-mermaid` in your terminal, then try again."

## Steps

### Step 1: Verify .omm/ exists

```bash
omm list
```

If no classes found, tell the user:
"No architecture docs found. Run `/omm-scan` first to generate them."
Then stop.

### Step 2: Start the viewer

```bash
omm view
```

If the user specified a port:

```bash
omm view --port <port>
```

### Step 3: Report

Tell the user the viewer is running and provide the URL (default: `http://localhost:3000`).

The viewer auto-refreshes when `.omm/` files change.

## Rules

- Always check for existing classes before starting the viewer
- If no classes exist, suggest `/omm-scan` instead of starting an empty viewer
- The viewer is read-only — it does not modify `.omm/` files
