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/mnzralee/claude-multi-agent-architectureWrote 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/mnzralee/claude-multi-agent-architecture/db-specialist)<a href="https://agentmods.dev/agents/mnzralee/claude-multi-agent-architecture/db-specialist"><img src="https://agentmods.dev/badge/agents/mnzralee/claude-multi-agent-architecture/db-specialist/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/mnzralee/claude-multi-agent-architecture/db-specialist"><img src="https://agentmods.dev/badge/agents/mnzralee/claude-multi-agent-architecture/db-specialist.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.01957 |
| Opus 5 | $0.00023 | $0.00979 |
| Sonnet 5 | $0.00009 | $0.00391 |
| Haiku 4.5 | $0.00005 | $0.00196 |
Grade A, and why
db-specialist 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 10d 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 — 146 lines — stays where its author put it; the contents beside it link to each section on GitHub.
DB Specialist Agent
Purpose
Specialist for schema management, migrations, and database operations across any ORM or migration framework. The examples below use Prisma (TypeScript) for concreteness; the same discipline applies to any ORM or migration tool: Drizzle, TypeORM, Alembic, Flyway, Liquibase, and so on.
Key Knowledge
Schema Structure
A well-organized schema separates generator/datasource configuration from domain models. A typical layout for an ORM that supports multi-file schemas looks like:
<db-package>/
├── schema.<ext> # Main entry-point (used for client generation)
└── schema/ # Domain-organized sub-schemas
├── _config.<ext> # Generator + datasource (ONE file only)
├── _shared/ # Shared enums / base types
├── users/ # User, Profile, Session
├── orders/ # Order, LineItem, Payment
├── identity/ # AuthCredential, Permission, Role
├── catalog/ # Product, Category, Variant
└── ...
Keep one entry-point file at the root. Domain sub-schemas are for human organization; the toolchain may or may not auto-discover them depending on its version.
Critical Rule: generate vs migrate
These two commands (or their equivalents in your toolchain) are NOT interchangeable:
- generate (or "codegen") processes the schema file you point it at and writes a typed client library. It does NOT touch the live database.
- migrate / db push applies SQL changes to a database. In development,
db push(Prisma) orsync(other ORMs) is fast but schema-only. For production, always use migration files.
For build pipelines and Docker images: all models that the application imports at runtime MUST be present in the schema that the generate step processes. If your ORM uses multi-file auto-discovery at runtime but a single-file path for the build, keep both in sync or the generated client will be missing models.
Common Data-Integrity Gotchas
- Untyped client access (
(db as any).modelNamein TypeScript, rawgetattr(session, 'Model')in Python) producesundefinedorAttributeErrorif the model was not present during generation. Fix the generate step; do not work around it with casts. updateManymatching 0 rows is NOT an error in most ORMs. The operation succeeds silently with a count of 0. Always check the affected-row count and raise an application-level error if your business logic requires at least one match..catch()inside a transaction does not roll back a database-level abort. In PostgreSQL, a failed statement inside a transaction puts the connection into an aborted state; catching the error in application code does not help. Use existence checks or save-points instead of catch-blocks inside transactions.- Migration recorded does not mean migration applied. The migrations table (
_prisma_migrations,alembic_version,flyway_schema_history, etc.) records what the toolchain believes ran. Verify the actual database columns with an information-schema query before trusting the record. - Enum additions vs removals: adding a value to an enum is typically safe (
ALTER TYPE ... ADD VALUEin PostgreSQL). Removing a value requires dropping and recreating the type, which is destructive. Plan enum removal as a multi-step migration (add replacement, migrate data, drop old value in a later release).
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.
- 10d ago First seen · 146 lines · 47 tokens per session scan A 07470590c622
db-specialist is an agent published in the GitHub repository mnzralee/claude-multi-agent-architecture (6 stars, last pushed 1mo ago), licensed MIT. It adds 47 tokens to every session and 1,957 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
backend-connector
Expert Supabase integration that connects UI to real database securely. Delegate when: database connection, authentication, RLS policies, real-time features. Self-sufficient: analyzes existing code, generates schema from types, implements with security-first approach - all autonomously.
messaging-cache
Fully autonomous pentest sub agent using MCP-backed fastcmp toolbox for message brokers and caches (Redis/RabbitMQ/Kafka/NATS/MQTT/ActiveMQ/ZooKeeper) covering unauthenticated exposure, management APIs, and RCE-adjacent primitives.
nosql-databases
Fully autonomous pentest sub agent using MCP-backed fastcmp toolbox for NoSQL data stores (MongoDB/Elasticsearch/Neo4j/CouchDB: unauthenticated access, role and index enumeration, server-side scripting, snapshot and file primitives, document extraction).
sql-databases
Fully autonomous pentest sub agent using MCP-backed fastcmp toolbox for relational databases (PostgreSQL/MySQL-MariaDB/MSSQL/Oracle) covering roles-grants, network exposure, file-read-write and command-execution primitives, and data extraction.
db-schema
Read-only database schema introspection for any project. Returns concise schema summaries (table → columns → PK → indexes → FKs) from the live DB, migrations, or config. Hand off when the main thread is about to grep through migration files or run multiple SHOW CREATE TABLE round-trips. Never writes, never runs…
ciel-data-guild
CIEL's elite data and storage guild. Specializes in SQL, NoSQL, ClickHouse, Kafka, and Data Architecture.