Skip to content
Documentation
Skill

/omm-push

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".

From plugin
oh-my-mermaid
3.4k3 skills

Claude Code

$ npx -y skills add oh-my-mermaid/oh-my-mermaid --skill omm-push --agent claude-code

SKILL.md

omm-push.SKILL.md
name: omm-push
description: 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".

omm-push — Cloud Push Workflow

Purpose

Automate the full workflow of pushing .omm/ architecture docs to the oh-my-mermaid cloud service.

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."

Workflow

Step 1: Check Login Status

Run `omm share` via Bash. If it errors with "not logged in":

  • Tell the user: "You need to log in first."
  • Run `omm login` — this opens a browser for GitHub OAuth
  • Wait for the user to complete login

Step 2: Check Project Link

Run `omm share` via Bash. If it errors with "no project slug":

  • Run `omm link` — this sets the cloud project slug from the directory name
  • Confirm: "Linked to {slug}"

Step 3: Push

Run `omm push` via Bash.

Handle errors:

  • **401 Unauthorized**: "Login expired. Run `omm login` again."
  • **403 Free plan limit**: "Free plan allows 1 project. Upgrade at https://ohmymermaid.com/pricing"
  • **Network error**: "Cannot reach server. Check your connection."

Step 4: Report

On success, output:

  • Number of files uploaded
  • View URL: `https://ohmymermaid.com/p/{slug}`
  • Share URL (if Pro): "Run `omm share` to get the shareable link"

Rules

  • Always check login before pushing
  • Always check link before pushing
  • Do NOT skip steps — each depends on the previous
  • If any step fails, stop and report the error with guidance
Read more
@oh-my-mermaid
Ships withoh-my-mermaid

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

Stars on GitHub

Momentum

stars in total
3.4k
Star history of oh-my-mermaid/oh-my-mermaid on GitHub, a chart by star-history.com

Other skills on oh-my-mermaid.

omm-scan

omm-scan

Scan codebase architecture and generate/update .omm/ documentation. Use when the user says "omm scan", "scan architecture",…

omm-view

omm-view

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

More skills from other plugins.

context7-cli

context7-cli

Use the ctx7 CLI to fetch library documentation and configure Context7 MCP. Activate when the user mentions "ctx7" or "context7",…

context712d64k
@upstash@upstashInstall Skill
docs-components

docs-components

Comprehensive MDX component patterns (Note, Pitfall, DeepDive, Recipes, etc.) for all documentation types. Authoritative source…

@reactjs@reactjsInstall Skill
codebase-wiki

codebase-wiki

How to work in a Codebase Wiki project (the `codebase-wiki` starter pack): an agent-authored, source-grounded wiki of the…

@inkeep@inkeepInstall Skill

Questions about omm-push.

Which coding agents can use omm-push?
omm-push installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.