db-verify

db-verify is an agent for Claude Code from jhlee0409/omni-harness-kit. It costs 170 tokens per session (1,167 once invoked), scanned A, original, MIT.

A database fact-checker that checks whether fields or columns really exist, contain data, and have the expected types in the configured MongoDB or SQL database.

In plain words
What is it for?
Use it to verify schema changes, data migrations, backfills, and claims about stored values by running real database queries and reviewing samples, types, and indexes.
Why use it?
Code describes how data should look, but the live database may differ. This catches incorrect assumptions before a change that reads, writes, or transforms data is considered complete.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Part of the harness-kit plugin — 18 skills, 28 agents, 2 hooks shipped together

Good fit Use it to verify schema changes, data migrations, backfills, and claims about stored values by running real database queries and reviewing samples, types, and indexes.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/jhlee0409/omni-harness-kit/db-verify
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/jhlee0409/omni-harness-kit

Made for: Claude Code.

Or install harness-kit, the plugin that ships this one along with the rest of its 18 skills, 28 agents, 2 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-verify

README.md
[![agentmods](https://agentmods.dev/badge/agents/jhlee0409/omni-harness-kit/db-verify.svg)](https://agentmods.dev/agents/jhlee0409/omni-harness-kit/db-verify)
Your own site
<a href="https://agentmods.dev/agents/jhlee0409/omni-harness-kit/db-verify"><img src="https://agentmods.dev/badge/agents/jhlee0409/omni-harness-kit/db-verify.svg" alt="Measured on agentmods" height="20"></a>
Per session 170 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,167 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.00170 $0.01167
Opus 5 $0.00085 $0.00583
Sonnet 5 $0.00034 $0.00233
Haiku 4.5 $0.00017 $0.00117

Measured 7d ago against content hash 6a170547f5dd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

db-verify 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 7d 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.

adapters/omp/agents/db-verify.md · 66 lines

How it starts

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

You verify that a data-shape claim is TRUE against the real configured store, before any data-touching change is reported done. You did not make the change — you check it. The largest failure pattern is inferring DB shape from code: code says what SHOULD be there; only a query says what IS. You run the query.

You are a fresh-context critic: you did NOT design the schema and you do NOT assume the code's shape is correct. Falsify; do not edit.

Required skill

Required skill: db-verify-checks (load via skill:// — subagents don't auto-inject skill bodies). If absent, use the checklist below.

  • db-verify-checks — the canonical checks for both Mongo and SQL stores (existence count / type distribution / 10-row sample / index or owner crosscheck) + verdict rules + output format. Without this skill your verification is uncalibrated.

Step 0 — DETECT the store first

Before choosing an idiom, read the repo's own config / env to determine which store backs the change:

  • Look for DATABASE_URL (or equivalent) in the repo environment / config. A sqlite:///... or postgresql://... / postgres://... value ⇒ SQL store. A mongodb://... / mongodb+srv://... URI (often MONGO_URI / MONGODB_URL) ⇒ Mongo store.
  • If both are absent, grep the backend for the actual client (sqlalchemy / create_engine / pymongo / motor) and its config module.
  • Prefer the repository's own DB dependency over assuming a system CLI exists. Read the connection target from config — never hard-code a production host.
  • Default to the local store (dev default, e.g. sqlite:///./*.db or mongodb://localhost:27017). Touch a shared / production store only with explicit approval, and only to READ.

Workflow

  1. Extract from the invocation prompt: (collection/table, field(s)/column(s), expected type, expected presence — required/optional/migrated).
  2. DETECT the store (Step 0). Confirm ownership if the repo defines an ownership SSOT; wrong owner = a finding.
  3. Load DB credentials from the repo env (read only — never write .env). Test the connection with the repo's own client. Real prod hostnames in fixtures BANNED.
  4. Apply the right idiom:
    • Mongo$exists: true count vs total, $type distribution via aggregate, sample 10 real documents, index coverage on write-path changes.
    • SQL — column existence via information_schema.columns (Postgres) or PRAGMA table_info(<table>) (SQLite), SELECT COUNT(*) total + populated (non-null) count, stored type check, and a 10-row sample.
  5. Emit exactly 1 verdict. Query the environment the change targets, not a guess.

Read the full file on GitHub · 66 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. 7d ago First seen · 66 lines · 170 tokens per session scan A 6a170547f5dd

Subscribe to this mod's changes

db-verify is an agent published in the GitHub repository jhlee0409/omni-harness-kit (2 stars, last pushed 1mo ago), licensed MIT. It adds 170 tokens to every session and 1,167 once invoked, about $0.0009 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-31.

Related

Other agents, from other repositories

doctrine-architect

Designs Doctrine entity schemas, relationships, and migration strategies. Analyzes existing entities, proposes schema changes, and plans migration paths before implementation. Use for entity design, relationship modeling, or migration planning.

dev-toolings/superpowers-symfony · 46 tokens

doctrine-performance-optimizer

Read-only performance audit of Doctrine usage: N+1 queries, fetch modes, batch processing, missing indexes, and caching opportunities. Use proactively after adding entities, relations, repository queries, or when a page/endpoint is reported slow.

dev-toolings/superpowers-symfony · 53 tokens

db-postgres-expert

Use this agent when you need expert PostgreSQL database management, optimization, and architecture guidance. This agent specializes in PostgreSQL 16+ features, advanced SQL queries, indexing strategies, performance tuning, replication, and high-availability configurations. Examples: Context: User needs to optimize…

andisab/swe-marketplace · 403 tokens

database

Database expert for schema design review, migration analysis, query optimization, index assessment, and transaction safety. Use when reviewing database schemas, migrations, ORM code, or raw queries.

restarter/lets-workflow · 37 tokens

todo

Intent-filtered action-list scanner agent — the /super-bootstrap:todo skill's fallback lane. Primary render is the skill's bundled render-board.py script (zero dispatch); this agent dispatches only when the script fails (python3 absent, non-zero exit, empty stdout). Reads the open cards in docs/work/ (plus…

RockyHong/super-bootstrap · 119 tokens

plugin-digest

Reduce plugin README / manifest content to a structured digest (hardpathsshipped, manualinstallsteps, userinvoketrigger, multicomponent). Batch: 1..N candidates per dispatch. Read-only. Dispatched by the /super-bootstrap:resolve-plugins skill's Phase 2.5 on Haiku — mechanical extraction; safe at this tier because…

RockyHong/super-bootstrap · 0 tokens