Skip to content
Documentation
Skill

/omm-view

Start the omm web viewer to explore architecture diagrams in the browser. Use when the user says "omm view", "open viewer", "show diagrams", "view architecture", or "open architecture".

From plugin
oh-my-mermaid
2.2k3 skills
Install
$ npx -y skills add oh-my-mermaid/oh-my-mermaid --skill omm-view --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/omm-view

Context preview

The summary Claude sees to decide when to auto-load this skill.

Start the omm web viewer to explore architecture diagrams in the browser. Use when the user says "omm view", "open viewer", "show diagrams", "view architecture", or "open architecture".

SKILL.md

omm-view.SKILL.md
name: omm-view
description: Start the omm web viewer to explore architecture diagrams in the browser. Use when the user says "omm view", "open viewer", "show diagrams", "view architecture", or "open architecture".
argument-hint: "[--port <port>]"

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:

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

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

omm view

If the user specified a port:

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
Ships withoh-my-mermaid

Turn complex codebases into clear, navigable architecture diagrams with Claude Code.

Get the whole plugin
Stats
2,169
Stars
185
Forks
Maintained
Maintenance
TypeScript
Language
MIT
License
4mo ago
Last commit
4mo ago
Created

Repo: oh-my-mermaid/oh-my-mermaid