Omh relational db

From rlaope/oh-my-hermes · View interactive version

Omh relational db is an AI agent skill from the GitHub repository rlaope/oh-my-hermes. [omh] Database work on a relational store: a slow query, an index…

How to use this skill

Skill file

Relational Db

This is an OMH relational-db workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).

Why This Exists

relational-db exists because the database work itself had no owner: omh-backend owns schema_migration_plan/v1 for a service change, and an index question, a lock taken during deploy, or an N+1 finding was answered by a data, deploy, or interview lane with no lock model at all.

First Steps

Do Not Use When

Examples

Good example:

Bad example:

Completion Checklist

Recovery Notes

When to Use

Use when the work is the database itself on a relational engine such as Postgres or MySQL: a slow query and the index that fixes it, an online migration on a large table, DDL that took or would take a lock during deploy, N+1 queries from an endpoint, or when to partition or shard. The output is a plan plus the checks that prove it safe to run; OMH never connects to a database.

Strong routing signals: relational-db, relational database, online migration, migration for a large table, lock-safe ddl, alter table, took a lock, table lock, lock during deploy, create index concurrently, which index, what index, missing index, index size, seq scan, seq-scans, sequential scan, explain analyze, query plan, n+1, n+1 query, n+1 queries, need to shard, shard the database, database sharding, table partitioning, partition the table, index bloat, postgres lock, mysql online ddl

Catalog Metadata

Category: planning

Phase: relational-db

Quality tier: db-lock-and-rollback-gated

Reasoning demand: standard

Quality bar:

Required inputs:

Expected outputs:

Artifact expectations:

Safety rules:

Runtime Evidence

Use the current host's own tools and subagent/task mechanism when available;

otherwise run the same lanes sequentially or name the unavailable capability.

A prepared plan, handoff, checklist, or skill installation is not execution,

review, CI, merge-readiness, or merge evidence. Record actual tool results, or

not_observed / not_available, in the record; never invent dispatch or host

accounting.

Treat supplied context as advisory, not proof of hidden memory reads or writes.

State scope, constraints, verification, and the stop condition before work.

Reply in the user's own words and the host's own voice: the host's persona owns

reply language, tone, speech level, and sentence endings, progress updates

included (where it sets no language, use the one the user wrote in), and OMH

shapes structure and content only; OMH's record terms

(surface, lane, wrapper, handoff, evidence boundary, not_observed) stay in

records and tool calls, never in the sentence the user reads unless they ask

about one; and when a real unresolved user decision or a useful briefing discussion

remains, offer one specific, content-linked question. Completed work needs no question;

omit unrelated non-action footers and generic offers to continue.

Supporting paths are relative to this skill directory; sibling skill paths are

relative to its parent. Resolve them from the host-provided skill base directory

({baseDir} on hosts that provide it), never a hardcoded install location.

A named workflow not installed here is unavailable, not permission to emulate

its host-specific capabilities. Verify through the real surface before done.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.