oma-db

oma-db is a skill for Claude Code, Codex from first-fluke/oh-my-agent. It costs 111 tokens per session (2,517 once invoked), scanned A, original, MIT.

A guide for designing and reviewing databases, including SQL tables, NoSQL documents, vector search stores, and retrieval systems. It covers how data is structured, searched, protected, backed up, and kept correct when many operations happen at once.

In plain words
What is it for?
Use it for schema and ERD design, indexes, normalization, migrations, transactions, concurrency, vector search and RAG storage, capacity planning, backups, and database reviews.
Why use it?
It helps prevent poor data models, slow queries, broken relationships, unsafe concurrent changes, and plans that do not account for growth or recovery.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Part of the oma plugin — 33 skills shipped together , and of oma

Good fit Use it for schema and ERD design, indexes, normalization, migrations, transactions, concurrency, vector search and RAG storage, capacity planning, backups, and database reviews.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/first-fluke/oh-my-agent/oma-db
About the project

oh-my-agent is a harness for checking whether coding agents actually completed their work by verifying tests, required artifacts, independent reviews, and recorded decisions. It is used across multiple agent runtimes to make workflow results auditable instead of relying on an agent's own report. The catalogue add-ons provide parts of its skills, agents, hooks, MCP integrations, instructions, and plugins.

first-fluke/oh-my-agent · 1,278 stars · on GitHub · firstfluke.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add first-fluke/oh-my-agent --skill oma-db
Clone the repo
git clone --depth 1 https://github.com/first-fluke/oh-my-agent

Made for: Claude Code, Codex.

Or install oma, the plugin that ships this one along with the rest of its 33 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for oma-db

README.md
[![agentmods](https://agentmods.dev/badge/skills/first-fluke/oh-my-agent/oma-db/github.svg)](https://agentmods.dev/skills/first-fluke/oh-my-agent/oma-db)
Your own site
<a href="https://agentmods.dev/skills/first-fluke/oh-my-agent/oma-db"><img src="https://agentmods.dev/badge/skills/first-fluke/oh-my-agent/oma-db/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for oma-db

Your own site · 80×15
<a href="https://agentmods.dev/skills/first-fluke/oh-my-agent/oma-db"><img src="https://agentmods.dev/badge/skills/first-fluke/oh-my-agent/oma-db.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 111 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,517 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00111 $0.02517
Opus 5 $0.00056 $0.01259
Sonnet 5 $0.00022 $0.00503
Haiku 4.5 $0.00011 $0.00252

Measured today against content hash 3fef4375037a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

oma-db scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

  • oma-db — 100% identical, 2 lines differ
  • oma-db — 92% identical, 11 lines differ
.agents/skills/oma-db/SKILL.md · 195 lines

How it starts

The opening of the file, as written. The whole thing — 195 lines — stays where its author put it; the contents beside it link to each section on GitHub.

DB Agent - Data Modeling & Database Architecture Specialist

Scheduling

Goal

Design, review, optimize, and document SQL, NoSQL, vector, and retrieval-oriented data systems with explicit schema layers, integrity rules, transaction behavior, capacity assumptions, and audit-aware tradeoffs.

Intent signature

  • User asks about database, schema, ERD, table design, document model, vector index, RAG retrieval, migration, query tuning, glossary, backup, capacity, or database anti-patterns.
  • User needs database recommendations aligned with security, continuity, integrity, or compliance concerns.

When to use

  • Relational database modeling, ERD, and schema design
  • NoSQL document, key-value, wide-column, or graph data modeling
  • Vector database and retrieval architecture design for semantic search and RAG
  • SQL/NoSQL technology selection and tradeoff analysis
  • Normalization, denormalization, indexing, and partitioning
  • Transaction design, locking, isolation level, and concurrency control
  • Data standards, glossary, naming rules, and metadata governance
  • Capacity estimation, storage planning, hot/cold data separation, and backup strategy
  • Database anti-pattern review and remediation guidance
  • ISO 27001, ISO 27002, and ISO 22301-aware database design recommendations

When NOT to use

  • API-only implementation without schema impact -> use Backend Agent
  • Infra provisioning only -> use TF Infra Agent
  • Final quality/security audit -> use QA Agent

Expected inputs

  • Business entities, events, access patterns, volume, latency, retention, and recovery targets
  • Existing schema, queries, migrations, indexes, data standards, or retrieval pipeline context
  • Consistency, transaction, backup, audit, and compliance constraints
  • Optional target deliverable such as ERD, migration plan, glossary, or capacity estimate

Expected outputs

  • External, conceptual, and internal schema documentation
  • Data standards, glossary, capacity estimate, indexing/partitioning plan, and backup/recovery strategy
  • Integrity, transaction, isolation, and concurrency recommendations
  • Vector/RAG-specific embedding, chunking, filtering, reranking, and re-index plans when relevant

Read the full file on GitHub · 195 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed · -5 lines 3fef4375037a
  2. 3d ago Changed 51bf84680917
  3. 10d ago First seen · 200 lines · 111 tokens per session scan A 480be5c534d3

Subscribe to this mod's changes

oma-db is a skill published in the GitHub repository first-fluke/oh-my-agent (1,278 stars, last pushed today), licensed MIT. It adds 111 tokens to every session and 2,517 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

agent-harness-fault-injection

Use when an agent workflow needs deterministic recovery evidence for sandbox, MCP/tool, worker, checkpoint, memory, or orchestration failures.

sickn33/agentic-awesome-skills · 34 tokens

sql_query

A procedure for answering data questions with read-only SQL queries, such as counting users or orders. It first finds the available data source and relevant tables, then checks their columns before running a query.

mateaix/mateclaw · 54 tokens

migration-ready-schema

Data-model rules that make a schema importable from day one, so the migration-import-engineer is never blocked on missing columns. Every SMB Product-Builder product must let a customer bring their data from an incumbent (ServiceTitan/Toast/Mindbody/Shopify) — that requires provenance (sourceref) and rollback…

avelikiy/great_cto · 133 tokens

orch

AI agent orchestrator — manage teams of AI agents that work on your codebase in parallel. Use when the user wants to: run multiple agents, coordinate AI work, deploy agent teams, manage tasks/goals/agents, check orchestrator status, or mentions 'orch', 'orchestry', 'agents team', 'agent orchestration'.

oxgeneral/ORCH · 71 tokens

published-track

A publishing record system that uses SQLite, a small file-based database, to store posts published on different platforms and their interaction data in separate platform tables.

TeamWiseFlow/xiaobei · 66 tokens

ir-record

A persistent SQLite database stored in the workspace at db/irrecord.db. It is intended for tracking investor discovery and follow-up, as well as project applications.

TeamWiseFlow/xiaobei · 37 tokens