db-verify-checks

db-verify-checks is a skill for Claude Code from jhlee0409/omni-harness-kit. It costs 165 tokens per session (1,775 once invoked), scanned A, original, MIT.

A verification workflow for checking claims about the shape of data in MongoDB or SQL databases such as SQLite and PostgreSQL.

In plain words
What is it for?
Use it before reporting a database-related change as complete, when you need to verify a table or collection and one of its fields.
Why use it?
It replaces guesses based on code with evidence from the actual database, including checks for records, types, samples, indexes, or ownership.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

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

Good fit Use it before reporting a database-related change as complete, when you need to verify a table or collection and one of its fields.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/jhlee0409/omni-harness-kit/db-verify-checks/github.svg)](https://agentmods.dev/skills/jhlee0409/omni-harness-kit/db-verify-checks)
Your own site
<a href="https://agentmods.dev/skills/jhlee0409/omni-harness-kit/db-verify-checks"><img src="https://agentmods.dev/badge/skills/jhlee0409/omni-harness-kit/db-verify-checks/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-verify-checks

Your own site · 80×15
<a href="https://agentmods.dev/skills/jhlee0409/omni-harness-kit/db-verify-checks"><img src="https://agentmods.dev/badge/skills/jhlee0409/omni-harness-kit/db-verify-checks.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 165 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,775 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.00165 $0.01775
Opus 5 $0.00082 $0.00888
Sonnet 5 $0.00033 $0.00355
Haiku 4.5 $0.00016 $0.00178

Measured 12d ago against content hash 23e4a5af1d64, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

db-verify-checks 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 12d 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/skills/db-verify-checks/SKILL.md · 75 lines

How it starts

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

DB verification — detect store → measure → verdict

The largest failure pattern is inferring DB shape from code. Code says what SHOULD be there; only a query says what IS. This skill is the canonical replacement: prove or disprove a data-shape claim with a real query against the real store, before any data-touching change is reported done.

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

Step 0 — DETECT the store first

Read the repo's own config / env to determine which store backs the change:

  • DATABASE_URL (or equivalent) with sqlite:///... or postgresql://... / postgres://...SQL store. A mongodb://... / mongodb+srv://... URI (often MONGO_URI / MONGODB_URL) ⇒ Mongo store.
  • If 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.

Setup

  1. From the invocation prompt, extract: (collection/table, field/column name(s), expected type, expected presence — required / optional / migrated).
  2. If the repo defines an ownership SSOT (e.g. a collections/tables ownership doc), confirm the caller owns this collection/table. Wrong owner = a finding.
  3. Load DB credentials from the repo env (read only — never write .env directly).
  4. Test the connection with the repo's own client. Real prod hostnames in fixtures BANNED — use the env's actual host, never hardcode.
  5. Default target = local store (dev default, e.g. sqlite:///./*.db or mongodb://localhost:27017). Touch a shared / production store only on schema-change + explicit approval, and only to READ.

The checks (run every one — do not skip)

For each claimed field/column:

Mongo idiom

  1. $exists: true countdb.<coll>.countDocuments({"<field>": {"$exists": true}}). State the number and compare to total doc count. "every document has X" with $exists ratio <1.0 is a finding.
  2. $type distributiondb.<coll>.aggregate([{$group: {_id: {$type: "$<field>"}, count: {$sum: 1}}}]). State each type + count. A "string" field with a null / missing bucket is a finding — code must use doc.get("<field>"), never doc["<field>"].
  3. Sample 10 real documentsdb.<coll>.find({"<field>": {"$exists": true}}).limit(10). Dump them; confirm the value shape matches what the code expects.
  4. Index coverage (write-path changes only) — db.<coll>.getIndexes(). A new filter on <field> that no index covers = perf-risk finding.
  5. Owner crosscheck — confirm the changed code lives in the owner defined by the ownership SSOT. Wrong-owner write is a blocking finding.

Read the full file on GitHub · 75 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. 12d ago First seen · 75 lines · 165 tokens per session scan A 23e4a5af1d64

Subscribe to this mod's changes

db-verify-checks is a skill published in the GitHub repository jhlee0409/omni-harness-kit (2 stars, last pushed 1mo ago), licensed MIT. It adds 165 tokens to every session and 1,775 once invoked, about $0.0008 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 skills, from other repositories

journey-simulation

Use when caller wants to observe how a stranger encounters a flow, artifact, or sandbox — triggers like "simulate a user journey", "test our onboarding / checkout / signup", "will my ICP convert", "how does a cold reader experience this README", "first-time user test", "cognitive walkthrough", or any request to…

RockyHong/super-bootstrap · 79 tokens

caliber-testing

Writes Vitest tests following project patterns: tests/ directories, vi.mock() for module mocking with vi.hoisted() for test-time factories, global LLM mock from src/test/setup.ts, environment variable save/restore in beforeEach/afterEach, vi.clearAllMocks() lifecycle, and test file organization. Use when user says…

caliber-ai-org/ai-setup · 113 tokens

schema-e2e-validation

Earthly E2E validation for YAML schema contracts. TRIGGERS - schema validation, YAML schema, schema contracts, regenerate types.

terrylica/cc-skills · 34 tokens

test-run

Run plugin test suites in this monorepo and report a concise pass/fail summary. Optional plugin slug arg; without arg, runs all plugins under plugins/.

gtapps/claude-code-hermit · 35 tokens

symfony:doctrine-events

React to Doctrine entity lifecycle in Symfony with attribute listeners (#[AsDoctrineListener]/#[AsEntityListener], ORM 3) and lifecycle callbacks.

dev-toolings/superpowers-symfony · 35 tokens

symfony:doctrine-fetch-modes

Optimize Doctrine fetching with DTO hydration (SELECT NEW; partial removed in ORM 3), lazy loading, query hints, and DBAL 4 access.

dev-toolings/superpowers-symfony · 38 tokens