Agent skill · Audited from source
Omm Scan
skill · oh-my-mermaid/oh-my-mermaidMIT licenceAudited 9 Oct 2026 · source a306c32c4012
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit a306c32c4012 and found no filesystem, network or shell access and no hard-coded secrets. What it does: Scan codebase architecture and generate/update .omm/ documentation. Use when the user says "omm scan", "scan architecture", "update architecture", "refresh diagrams".
Cite
Cite this page
ModelsAtlas. “Omm Scan (oh-my-mermaid/oh-my-mermaid)”. Retrieved 9 Oct 2026. https://modelsatlas.com/skills/oh-my-mermaid/omm-scan
Trust audit
Audit 0.4.1 · source read 9 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | NA | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (0)
No findings at any severity. We re-audit when the source changes.
Audit 0.4.1 · source sha a306c32c4012 · 9 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publisheroh-my-mermaid GitHub organizationOwner of the repository this skill is read from
- Source folderoh-my-mermaid/oh-my-mermaid/skills/omm-scanThe exact folder we audited
- LicenceMITAs the repository states it
- Commit pinned for this verdicta306c32c4012A new audit runs when the source changes
- Repository statusNot archivedLast push 184 days ago
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Scan codebase architecture and generate/update .omm/ documentation. Use when the user says "omm scan", "scan architecture", "update architecture", "refresh diagrams".
---
name: omm-scan
description: Scan codebase architecture and generate/update .omm/ documentation. Use when the user says "omm scan", "scan architecture", "update architecture", "refresh diagrams".
---
# omm-scan — Perspective-Based Architecture Scanner
## Purpose
Analyze the codebase and generate `.omm/` architecture documentation using **perspective-driven recursive analysis**.
- A **perspective** is a top-level element — a distinct way to look at the architecture.
- Each element in a diagram gets analyzed recursively. If it has internal structure, it becomes a **child element** (subdirectory with its own diagram). If not, it stays a leaf.
- The filesystem determines nesting. Element IDs in diagrams match child directory names. The viewer resolves groups from the filesystem.
## Prerequisites
```bash
command -v omm || npm install -g oh-my-mermaid
```
If the install fails, tell the user: "Please run `npm install -g oh-my-mermaid` in your terminal, then try again."
---
## Step 0: Check Language
```bash
omm config language
```
Write field content (description, context, constraint, concern, todo, note) in the configured language. Default is English. Element IDs, directory names, and diagram node IDs are always English kebab-case.
## Step 1: Explore the Codebase
Use Glob and Read to understand the project:
- Read `package.json`, `pyproject.toml`, or equivalent manifests
- List top-level directories to identify module boundaries
- Read key entry points (main, index, app files)
- Look for route definitions, service layers, database connections, external integrations
## Step 2: Select Perspectives
From the catalog below, choose which perspectives are meaningful for this codebase.
### Perspective Catalog
| Perspective | When to create | What it answers |
| --- | --- | --- |
| `overall-architecture` | **Always** | What exists and how pieces relate |
| `request-lifecycle` | Any server/API | How a request enters and gets handled end-to-end |
| `data-flow` | Any data processing, DB usage | Where data comes from, transforms, and lands |
| `dependency-map` | Complex module graph | What depends on what, what's shared |
| `external-integrations` | External APIs/services | What the system connects to and why |
| `state-transitions` | Stateful features (frontend or backend) | How state changes and what triggers it |
| `route-page-map` | Frontend with routing | Page structure and navigation flow |
| `command-surface` | CLI tools | Command hierarchy and dispatch |
| `extension-points` | Plugin/extension systems | Extension architecture and registry |
| `pipeline` | ML/data pipelines | Stage topology and data flow |
| `orchestration` | Event-driven/queue systems | Publisher, subscriber, broker topology |
| `storage` | 2+ storage systems | Storage topology (DB, cache, queue, object store) |
Don't force perspectives that don't exist in the code.
## Step 3: Generate Perspectives with Recursive Drill-Down
For each selected perspective, follow this recursive process:
### 3a. Write the perspective diagram
Element IDs match child directory names. The viewer resolves nesting from the filesystem.
```bash
omm write <perspective> diagram - <<'MERMAID'
graph LR
renderer["Renderer\nsrc/renderer/"]
renderer -->|"IPC invoke/on"| main-process["Main Process\nsrc/main/"]
main-process -->|"spawn PTY"| engine-system["Engine System\nsrc/main/engine/"]
main-process -->|"read/write JSON"| data-store["Data Store\nsrc/main/store.ts"]
main-process -->|"xterm.js"| terminal-dock["Terminal Dock\nsrc/renderer/src/panel/"]
MERMAID
```
### 3b. Write the other 6 fields
Each as a separate `omm write` command: description, context, constraint, concern, todo, note.
### 3c. Recursive drill-down: analyze every element
**For every element in the diagram:**
1. **Analyze** the code it represents (Glob + Read the relevant files/directories)
2. **Write description for every node — no exceptions.** This creates the element directory. Optionally write other fields (context, constraint, concern, todo, note) if relevant — Write in the configured language.
```bash
omm write <perspective>/<element-name> description - <<'EOF'
(what this element does, which files/dirs it covers)
EOF
```
3. **Decide leaf or group:**
- **Distinct internal components found** → write a diagram and recurse deeper (it becomes a group)
- **No meaningful sub-components** (single file, trivial wrapper, external system) → write remaining fields only (it stays a leaf)
4. **If group** — write diagram and recurse:
```bash
omm write <perspective>/<element-name> diagram - <<'MERMAID'
graph LR
(internal elements)
MERMAID
```
Then repeat step 3c for each element in this diagram.
### Example recursion
```text
overall-architecture (perspective)
elements: renderer, main-process, engine-system, data-store, terminal-dock
→ analyze renderer (src/renderer/)
→ finds: App.tsx, components/, hooks/, stores/, world/
→ group → write diagram with: components, stores, world
→ analyze components → 15 .tsx files, no sub-structure → leaf
→ analyze stores → 4 zustand stores → leaf
→ analyze world → OfficeCanvas + PixiJS logic → leaf
→ analyze main-process (src/main/)
→ finds: ipc.ts, auth/, engine/, terminal-session-service.ts, store.ts
→ group → write diagram with: auth, engine, terminal-session
→ analyze auth → auth-service.ts, callback-server.ts → leaf
→ analyze engine → claude-code.ts, codex.ts → leaf
→ analyze data-store (src/main/store.ts)
→ single file → leaf
→ analyze terminal-dock (src/renderer/src/panel/)
→ TerminalDock.tsx, DockManager → leaf
```
## Step 4: Summarize
Report what was created/updated and suggest `omm view` to view.
## Diagram Rules
- **Element IDs must match the child directory name.** Use kebab-case: `main-process`, `data-store`, `terminal-dock`.
- **Element labels use two-line format**: name + file path, separExcerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit a306c32
git clone https://github.com/oh-my-mermaid/oh-my-mermaid git -C oh-my-mermaid checkout a306c32c4012
The author documents no install command, so this uses the repository directly. Our verdict covers commit a306c32c4012 only.
Works in which agents?
What its own text says, not a test
| Agent | Status | More |
|---|---|---|
| Codex | Mentioned in its text, not tested | Skills for Codex · About Codex |
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
a306c32c4012
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/oh-my-mermaid/omm-scan/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
All coding & review skills →oh-my-mermaid/oh-my-mermaid
Push architecture docs to oh-my-mermaid cloud. Handles login, link, and push workflow with error guidance. Use when the user says "omm push", "push to cloud", "deploy architecture", or "share architecture".
oh-my-mermaid/oh-my-mermaid
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".
QingYunA/answer-me-with-html
Turns an answer into a one-page visual HTML explainer: the model writes a short Markdown draft and the bundled CLI builds one page. Use it proactively and liberally, without being asked, whenever a page would help the…
n8n-io/n8n
Reproduce a bug from a Linear ticket with a failing test. Expects the full ticket context (title, description, comments) to be provided as input.
n8n-io/n8n
Creates GitHub pull requests with properly formatted titles that pass the check-pr-title CI validation. Use when creating PRs, submitting changes for review, or when the user says /pr or asks to create a pull request.
google-gemini/gemini-cli
Use this skill when asked to review text and user-facing strings within the codebase. It ensures that these strings follow rules on clarity, usefulness, brevity and style.
Add this badge to your README
[](https://modelsatlas.com/skills/oh-my-mermaid/omm-scan/)
<a href="https://modelsatlas.com/skills/oh-my-mermaid/omm-scan/"><img src="https://modelsatlas.com/skills/oh-my-mermaid/omm-scan/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Omm Scan
What does the Omm Scan skill do?
Is Omm Scan safe to install?
What can Omm Scan access on my machine?
Which assistants does Omm Scan work with?
How current is this page?
Sources
- github.com/oh-my-mermaid/oh-my-mermaid/tree/main/skills/omm-scan — the audited source at commit a306c32c4012 and every finding aboveObserved · 9 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Omm Scan skill do?
- Is Omm Scan safe to install?
- What can Omm Scan access on my machine?