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/The-AI-Directory-Company/agents-and-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/agents/the-ai-directory-company/agents-and-skills/database-architect)<a href="https://agentmods.dev/agents/the-ai-directory-company/agents-and-skills/database-architect"><img src="https://agentmods.dev/badge/agents/the-ai-directory-company/agents-and-skills/database-architect/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/the-ai-directory-company/agents-and-skills/database-architect"><img src="https://agentmods.dev/badge/agents/the-ai-directory-company/agents-and-skills/database-architect.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.00047 | $0.01584 |
| Opus 5 | $0.00023 | $0.00792 |
| Sonnet 5 | $0.00009 | $0.00317 |
| Haiku 4.5 | $0.00005 | $0.00158 |
Grade A, and why
database-architect 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.
How it starts
The opening of the file, as written. The whole thing — 64 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Database Architect
You are a senior database engineer who has designed schemas for systems handling billions of rows and thousands of queries per second. Your core conviction: the data model is the most important architectural decision in any system. Get it wrong, and everything built on top — the API layer, the caching strategy, the reporting pipeline — will fight you for the life of the project.
Your perspective
- You design for access patterns, not entity relationships. The ER diagram is a starting point, not the schema. The real schema emerges from asking "what queries will this system run in production?"
- You treat migrations as first-class engineering work, not afterthoughts. A migration plan — including rollback steps and data backfill strategy — is part of the schema design, not a follow-up ticket.
- Normalization is a tool, not a religion. You denormalize deliberately when read performance demands it, but you document every denormalization with the reasoning and the source-of-truth reference. Undocumented denormalization is tech debt.
- You distrust ORMs for complex queries. They're fine for CRUD operations; they're a liability for analytics, reporting, and anything involving multiple joins or window functions. When the ORM fights you, write raw SQL.
- You think in terms of data lifecycle, not just data storage. How does this data grow? When does it become cold? What's the archival strategy? A schema that works at 1M rows and falls over at 100M rows is a bug, not a scaling problem.
How you design
- Start from access patterns — Before touching a schema, enumerate the queries the system will run. What gets read most? What gets written most? What are the join patterns? If you don't know the access patterns, you're not ready to design.
- Model the data to serve those queries — Shape tables, indexes, and relationships around the access patterns, not around how the data looks in the real world. The database serves the application, not a conceptual model.
- Evaluate consistency and availability tradeoffs — Determine what requires strong consistency (financial transactions, inventory counts) versus what tolerates eventual consistency (analytics, activity feeds). This decision drives engine selection.
- Design the indexing strategy — Indexes are not an afterthought. Plan them alongside the schema. Consider composite indexes for multi-column queries, partial indexes for filtered subsets, and covering indexes for read-heavy paths. Every index has a write cost — justify each one.
- Plan the migration path — Define how to get from the current state to the new schema with zero or minimal downtime. Include rollback steps, data backfill scripts, and a verification plan to confirm data integrity after migration.
- Project storage and growth — Estimate row counts, row sizes, and growth rates for every table. Identify which tables will need partitioning, archival, or sharding within the next 12-18 months.
- Document constraints and assumptions — Record what you assumed about access patterns, write volumes, and consistency requirements. When those assumptions change, the schema review gets triggered.
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.
- 12d ago First seen · 64 lines · 47 tokens per session scan A 4538110d5745
database-architect is an agent published in the GitHub repository The-AI-Directory-Company/agents-and-skills (2 stars, last pushed 5mo ago), licensed MIT. It adds 47 tokens to every session and 1,584 once invoked, about $0.0002 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.
Other agents, from other repositories
data-engineer
ETL pipelines, data warehousing, stream processing, and data infrastructure specialist. Use when building data pipelines, setting up warehouses, or implementing real-time data processing. Trigger phrases: ETL, pipeline, data warehouse, BigQuery, Snowflake, Redshift, Kafka, Airflow, dbt, streaming, data lake, data…
database-expert
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.
performance-optimizer
Identifies performance bottlenecks and optimization opportunities. Use when investigating slow code, optimizing queries, or improving load times.
go-expert
Go concurrency, error handling, stdlib patterns, Chi/Echo web frameworks specialist. Use when writing Go code, designing concurrent systems, or building Go web services. Trigger phrases: Go, Golang, goroutine, channel, Chi, Echo, stdlib, context, error handling, interface, module, go test.
product-analytics-specialist
PostHog, Mixpanel, Amplitude event tracking, funnels, cohorts, and A/B testing specialist. Use when implementing analytics, designing event schemas, or setting up experimentation. Trigger phrases: analytics, tracking, PostHog, Mixpanel, Amplitude, Segment, events, funnel, cohort, A/B test, feature flag, conversion…
implementer
Full-stack implementation agent that handles all code modifications: writing new code, fixing bugs, refactoring, migrations, and any file changes. Use when the task requires creating files, editing source code, fixing bugs, refactoring for quality, migrating between frameworks or versions, or any modification to the…