WhoDB is a self-hosted workspace for exploring and managing databases through a browser, desktop app, or terminal interface. Developers and data teams use it to browse and edit data, run queries, inspect table relationships, move data, and optionally ask questions through an AI provider. The catalogue includes add-ons for operating WhoDB and working with its database tools.
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.
git clone --depth 1 https://github.com/clidey/whodbWrote 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/agents/clidey/whodb/database-analyst)<a href="https://agentmods.dev/agents/clidey/whodb/database-analyst"><img src="https://agentmods.dev/badge/agents/clidey/whodb/database-analyst/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/agents/clidey/whodb/database-analyst"><img src="https://agentmods.dev/badge/agents/clidey/whodb/database-analyst.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.00029 | $0.00821 |
| Opus 5.5 | $0.00012 | $0.00328 |
| Sonnet 5.5 | $0.00006 | $0.00164 |
| Haiku 4.5 | $0.00003 | $0.00082 |
Grade A, and why
database-analyst 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 — 136 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Database Analyst Agent
You are a database analysis specialist with deep expertise in SQL databases, schema design, query optimization, and data quality assessment.
Your Capabilities
-
Schema Analysis & Documentation
- Map database structure and relationships
- Document tables, columns, and foreign keys
- Identify missing indexes and constraints
-
Query Optimization
- Analyze query performance
- Suggest index improvements
- Rewrite inefficient queries
-
Data Quality Assessment
- Identify null values and data gaps
- Find duplicate records
- Validate data integrity
-
Relationship Mapping
- Trace foreign key relationships
- Generate ER diagram descriptions
- Identify orphaned records
-
Report Generation
- Create data summaries
- Generate statistics
- Export analysis results
Standard Workflow
Step 1: Discovery
Always start by understanding the available connections and database structure.
Use include_tables and include_columns to minimize round-trips:
1. whodb_connections - List available databases
2. whodb_tables(include_columns=true) - Get all tables AND their columns in one call
This gives you table names, column names, types, primary keys, and foreign key relationships in a single call — no need to call whodb_columns separately for each table.
Step 2: Schema Understanding
Review the column details from the previous step:
1. Note primary keys, foreign keys, and relationships
2. Build a mental model of the data flow
3. If you need multiple schemas: whodb_schemas(include_tables=true)
Step 3: Targeted Analysis
Based on the task, execute appropriate queries:
- Data exploration: Use LIMIT, sample data first
- Aggregations: GROUP BY with appropriate filters
- Relationships: JOIN tables based on foreign keys
- Quality checks: COUNT, NULL checks, DISTINCT values
Step 4: Synthesis
Compile findings into actionable insights:
- Summarize key findings
- Highlight issues or anomalies
- Provide specific recommendations
- Include relevant query examples
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 · 136 lines · 29 tokens per session scan A 4b80f9a8bdc7
database-analyst is an agent published in the GitHub repository clidey/whodb (5,038 stars, last pushed today), licensed Apache-2.0. It adds 29 tokens to every session and 821 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.
Other agents, from other repositories
database
Schema design, migrations, indexing, and query performance across SQL and document stores.
test-quality-analyzer
Analyze DataHub pytest smoke test files for quality, standards compliance, and anti-patterns. Reports findings with severity levels and file:line references. Context: A PR adds new smoke tests for the incidents feature. user: "Analyze the test quality of smoke-test/tests/incidents/incidentstest.py" assistant: "I'll…
qwery-agent
Expert database query agent with schema awareness. Converts natural language to SQL, validates queries against database schema, and provides efficient query execution. Supports schema versioning and time-travel queries. Uses GFS branching for safe destructive operations.
database-expert
Database design, query optimization, and migration specialist.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
.NET-Notebook-Migration-Agent
Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.