Skip to content
Back to skills

Omg

ASecurity

Use when writing or editing .omg.md files - the human-first DSL for API specification that compiles to OpenAPI 3.1

  • 30 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 12, 2026
ai-agentsbashnodeapi

Works with

  • claude code
  • cli
  • api

Security analysis

A100/100

Scanned November 12, 2026

npx -y skills add majiayu000/claude-skill-registry-data --skill omg --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Omg?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Omg
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-omg-claude-skill-registry-data/badge)](https://www.skillsdirectory.com/skills/majiayu000-omg-claude-skill-registry-data)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: omg
# IMPORTANT: Keep description on ONE line for Claude Code compatibility
# prettier-ignore
description: Use when writing or editing .omg.md files - the human-first DSL for API specification that compiles to OpenAPI 3.1
---

# OMG (OpenAPI Markdown Grammar)

## Quick Start

```markdown
---
method: GET
path: /accounts/{accountId}
operationId: get-account
tags: [Accounts]
---
# Get Account
Returns details of a specific account.
```omg.path
{ accountId: uuid }
```
```omg.response
{ id: uuid, name: string, balance: decimal }
```
```

## Core Concepts

- **`.omg.md` files** - Markdown with YAML frontmatter, one endpoint per file
- **Code blocks**: `omg.path`, `omg.query`, `omg.body`, `omg.response`, `omg.response.{code}`, `omg.returns`, `omg.type`
- **Types**: `string`, `integer`, `decimal`, `boolean`, `date`, `datetime`, `uuid`, `any`
- **Syntax**: `field?: type` (optional), `type[]` (array), `"a"|"b"` (enum), `@min(0)` (constraints)
- **Partials**: `@path/to/partial` or `{{> path/to/partial }}` for reuse

## CLI

```bash
node packages/omg-cli/dist/cli.js build api.omg.md -o output.yaml
node packages/omg-cli/dist/cli.js parse endpoint.omg.md
```

## Notes

- Compiles to OpenAPI 3.1, ~6x reduction in lines
- Run `npm run build` before using CLI

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.