db-engineer

db-engineer is an agent for Claude Code from first-fluke/oh-my-agent. It costs 26 tokens per session (380 once invoked), scanned A, original, MIT.

A specialist for designing and implementing databases, including data schemas, entity-relationship diagrams, migrations, query tuning, and vector databases. An entity-relationship diagram maps the data entities and their links.

In plain words
What is it for?
Use it for relational schema design, database migrations, query optimization, ERDs, and retrieval systems that use vector search.
Why use it?
It helps make data structures consistent, preserve data integrity, and address transaction, concurrency, and performance concerns explicitly.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: installed under .agents/ (shared by several agents).

Part of the oma plugin — 37 skills, 12 agents, 4 hooks shipped together

Good fit Use it for relational schema design, database migrations, query optimization, ERDs, and retrieval systems that use vector search.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/first-fluke/oh-my-agent/db-engineer
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,345 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.

Clone the repo
git clone --depth 1 https://github.com/first-fluke/oh-my-agent

Made for: Claude Code.

Or install oma, the plugin that ships this one along with the rest of its 37 skills, 12 agents, 4 hooks.

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 db-engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/first-fluke/oh-my-agent/db-engineer/github.svg)](https://agentmods.dev/agents/first-fluke/oh-my-agent/db-engineer)
Your own site
<a href="https://agentmods.dev/agents/first-fluke/oh-my-agent/db-engineer"><img src="https://agentmods.dev/badge/agents/first-fluke/oh-my-agent/db-engineer/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 db-engineer

Your own site · 80×15
<a href="https://agentmods.dev/agents/first-fluke/oh-my-agent/db-engineer"><img src="https://agentmods.dev/badge/agents/first-fluke/oh-my-agent/db-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 380 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.
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.00026 $0.00380
Opus 5.5 $0.00010 $0.00152
Sonnet 5.5 $0.00005 $0.00076
Haiku 4.5 $0.00003 $0.00038

Measured 1mo ago against content hash 1127171ce8b8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

db-engineer 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 1mo ago.

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

1 near-identical copy found in the catalogue:

.agents/agents/db-engineer.md · 32 lines

What it actually says

You are a Database Specialist.

Execution Protocol

Follow the vendor-specific execution protocol:

  • Use the injected claim path and task/run/session identity from .agents/skills/_shared/runtime/result-contract.md. Human-readable reports use result-{agentId}-{taskId}-{runId}-{sessionId}.md.
  • Include: status, summary, files changed, acceptance criteria checklist

Follow the shared execution policy for authorization and clarification. State material assumptions when needed; pause only work that depends on a missing decision. No fixed preflight output is required.

Rules

  1. Stay in scope — only work on assigned database tasks
  2. Choose data model first, engine second
  3. At least 3NF for relational (break only with justification)
  4. Document ACID/BASE expectations explicitly
  5. Three schema layers: external, conceptual, internal
  6. Integrity as first-class: entity, domain, referential, business-rule
  7. Concurrency never implicit — define transaction boundaries, locking, isolation level
  8. Vector DBs: retrieval infrastructure, not source-of-truth; default to hybrid retrieval
  9. Migrations: reversible by default; keep a single migration head — resolve forks with a merge revision before handoff
  10. Boundary: schema design, ERD, data standards, and query tuning live here; application-level migration wiring and ORM integration belong to backend-engineer
  11. Select deliverables for the task: schema work may need a design and data standards; capacity estimates belong to capacity planning
  12. Never modify .agents/ files (SSOT) — run outputs under .agents/results/ and .agents/state/ are the only exceptions
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. 1mo ago Changed · -18 lines 1127171ce8b8
  2. 1mo ago First seen · 50 lines · 26 tokens per session scan A 97d0d405aa16

Subscribe to this mod's changes

db-engineer is an agent published in the GitHub repository first-fluke/oh-my-agent (1,345 stars, last pushed yesterday), licensed MIT. It adds 26 tokens to every session and 380 once invoked, about $0.0001 per session on Opus 5.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 agents, from other repositories

database-cloud-optimization-database-architect

Expert database architect specializing in data layer design from scratch, technology selection, schema modeling, and scalable database architectures. Masters SQL/NoSQL/TimeSeries database selection, normalization strategies, migration planning, and performance-first design. Handles both greenfield architectures and…

wshobson/agents · 83 tokens

sql-pro

Master modern SQL with cloud-native databases, OLTP/OLAP optimization, and advanced query techniques. Expert in performance tuning, data modeling, and hybrid analytical systems. Use PROACTIVELY for database optimization or complex analysis.

wshobson/agents · 48 tokens

Urbanista danych

Architekt Bazy projektuje schemat, klucze, indeksy, constraints i plan migracji bezprzerwowych. Jego misja to dobranie modelu danych (relacyjny, dokumentowy, kolumnowy) pod realne wzorce zapytań i wolumen, zanim aplikacja uderzy produkcyjnie w baze.

TheJacksonCode/Agent-Architecture · 76 tokens

code-reviewer-bug

name: code-reviewer-bug description: Specialized code reviewer for bug patterns — null safety, race conditions, resource leaks, logic and error-handling defects. Returns scored findings (severity × impact × confidence). skills: code-review model: inherit.

zxpmail/ReqForge · 0 tokens

database-reviewer

Reviews database schema design, migration safety, indexing strategy, query patterns, and data integrity. Spawn when user asks to "database review", "check schema design", "review migrations", or "audit database".

RashadAnsari/myagents · 45 tokens

feedback-observer

name: feedback-observer description: Dispatched after failures (compile error, review fail, verification fail) OR user corrections/feedback. Auto-scores Skill dimensions on failure. Uses feedback-writer skill to record feedback. skills: feedback-writer model: opus color: blue.

zxpmail/ReqForge · 0 tokens