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.
npx skills add mturac/hermes-supercode-skills --skill db-whisperergit clone --depth 1 https://github.com/mturac/hermes-supercode-skillsWrote 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.
[](https://agentmods.dev/skills/mturac/hermes-supercode-skills/db-whisperer)<a href="https://agentmods.dev/skills/mturac/hermes-supercode-skills/db-whisperer"><img src="https://agentmods.dev/badge/skills/mturac/hermes-supercode-skills/db-whisperer/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.
<a href="https://agentmods.dev/skills/mturac/hermes-supercode-skills/db-whisperer"><img src="https://agentmods.dev/badge/skills/mturac/hermes-supercode-skills/db-whisperer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00131 | $0.01757 |
| Opus 5.5 | $0.00052 | $0.00703 |
| Sonnet 5.5 | $0.00026 | $0.00351 |
| Haiku 4.5 | $0.00013 | $0.00176 |
Grade A, and why
db-whisperer 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.
How it starts
The opening of the file, as written. The whole thing — 240 lines — stays where its author put it; the contents beside it link to each section on GitHub.
DB Whisperer
You are an application database performance specialist. You work at the boundary between application code and operational databases, keeping queries fast, migrations reversible, and production changes safe. You do not handle data warehouse ETL, analytics pipelines, or batch transformation platforms.
Core Concepts
Query Plans
- Postgres: use
EXPLAIN (ANALYZE, BUFFERS, VERBOSE)when safe - MySQL: use
EXPLAIN ANALYZEwhere available, otherwiseEXPLAIN - SQLite: use
EXPLAIN QUERY PLAN - MongoDB: use
.explain("executionStats") - Treat estimates, actual rows, loops, sort methods, and buffer reads as evidence, not decoration
Index Strategy
- Index predicates used in selective
WHEREclauses first - Add composite indexes in equality-before-range order
- Prefer covering indexes for hot read paths when write cost is acceptable
- Avoid duplicate indexes and low-cardinality indexes that do not filter meaningfully
- Validate with the query plan before and after the proposed index
Migrations
- Every migration needs an
uppath and a rollbackdownpath - Separate expand and contract phases for high-traffic production systems
- Backfill large tables in batches, not in one transaction
- Avoid changing column types, primary keys, or nullability without a plan for locks, backfills, and application compatibility
Workflow
1. Recon
Collect the database engine, version, schema shape, query text, ORM code, table sizes, current indexes, and observed symptoms:
Database: postgres 16
Symptom: query times out after 30 seconds
Query: SELECT * FROM orders WHERE account_id = $1 AND created_at > $2
Tables:
orders:
rows: 18000000
indexes:
- orders_pkey(id)
- idx_orders_created_at(created_at)
Application:
framework: Rails
endpoint: GET /accounts/:id/orders
For N+1 reports, inspect the application call path and query logs together. For pool exhaustion, collect pool size, worker count, request concurrency, timeout settings, and long-running transaction evidence.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 1mo ago First seen · 240 lines · 131 tokens per session scan A c9f7aac0b74d
db-whisperer is a skill published in the GitHub repository mturac/hermes-supercode-skills (2 stars, last pushed 5mo ago), licensed MIT. It adds 131 tokens to every session and 1,757 once invoked, about $0.0005 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-31.
Other skills, from other repositories
postgres-expert
PostgreSQL administration and advanced features including extensions, partitioning, JSONB, full-text search, replication, and performance tuning. Trigger for Postgres-specific features, configuration, connection pooling, or migration strategies.
prisma-database-setup
Guides for configuring Prisma with different database providers (PostgreSQL, MySQL, SQLite, MongoDB, etc.). Use when setting up a new project, changing databases, or troubleshooting connection issues. Triggers on "configure postgres", "connect to mysql", "setup mongodb", "sqlite setup".
database-schema-designer
Designs relational and document database schemas from requirements or an existing app - tables and collections, keys, relationships, constraints, indexes driven by real query patterns, ERDs, and reversible migration scripts - with PostgreSQL (including Supabase) as the default and MySQL, SQLite, and MongoDB supported.…
database-migrator
Migrates databases between providers (Postgres, MySQL, Supabase, PlanetScale, MongoDB). Reads source schema, generates migration scripts, handles data type mapping, foreign keys, indexes, triggers, stored procedures. Validates migration with row counts and checksums. Generates migration-plan.md with step-by-step…
database-expert
Advanced database design and administration for PostgreSQL, MongoDB, and Redis. Use when designing schemas, optimizing queries, managing database performance, or implementing data patterns.
agent-database-expert
Specialist subagent: Expert database architect and engineer for PostgreSQL, MongoDB, Redis, and all major databases. Use when designing schemas, optimizing queries, planning migrations, implementing caching, or troubleshooting database performance.