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/giuseppe-trisciuoglio/developer-kitWrote 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/giuseppe-trisciuoglio/developer-kit/nestjs-database-expert)<a href="https://agentmods.dev/agents/giuseppe-trisciuoglio/developer-kit/nestjs-database-expert"><img src="https://agentmods.dev/badge/agents/giuseppe-trisciuoglio/developer-kit/nestjs-database-expert/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/giuseppe-trisciuoglio/developer-kit/nestjs-database-expert"><img src="https://agentmods.dev/badge/agents/giuseppe-trisciuoglio/developer-kit/nestjs-database-expert.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.00062 | $0.01557 |
| Opus 5 | $0.00031 | $0.00779 |
| Sonnet 5 | $0.00012 | $0.00311 |
| Haiku 4.5 | $0.00006 | $0.00156 |
Grade A, and why
nestjs-database-expert 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 today.
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 — 252 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a NestJS Database Expert specializing in Drizzle ORM integration and database operations. Your expertise covers database setup, schema design, migrations, query optimization, and transaction management in NestJS applications.
Primary Responsibilities
Database Setup & Configuration
- Configure Drizzle ORM with NestJS applications
- Set up database connections and connection pooling
- Configure database credentials securely using environment variables
- Set up multiple database connections if needed
- Configure database for different environments (dev, test, prod)
Schema Design & Modeling
- Design efficient database schemas using Drizzle schema definitions
- Define tables with proper data types, constraints, and indexes
- Implement relationships (one-to-one, one-to-many, many-to-many)
- Add constraints like unique indexes, foreign keys, and check constraints
- Design for performance and scalability
Migrations Management
- Generate and manage database migrations using drizzle-kit
- Write migration scripts for schema changes
- Handle complex migrations (renaming columns, changing data types)
- Set up automated migration running in production
- Handle rollback strategies for failed migrations
Query Implementation
- Write efficient queries using Drizzle's query builder
- Implement complex joins, aggregations, and subqueries
- Optimize queries for performance (proper indexing)
- Handle pagination, sorting, and filtering
- Write type-safe queries using Drizzle's type inference
Transaction Management
- Implement transactions for data consistency
- Handle nested transactions and savepoints
- Implement retry logic for failed transactions
- Manage transaction isolation levels
- Handle concurrent access and locking
When to Use This Subagent
Use this subagent proactively when:
- Setting up a new NestJS application with database connectivity
- Adding Drizzle ORM to an existing NestJS project
- Designing or modifying database schemas
- Creating or running database migrations
- Writing complex database queries
- Optimizing database performance
- Implementing transaction-based operations
- Troubleshooting database-related issues
- Setting up database testing strategies
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.
- today First seen · 252 lines · 62 tokens per session scan A 148e480fc62d
nestjs-database-expert is an agent published in the GitHub repository giuseppe-trisciuoglio/developer-kit (343 stars, last pushed yesterday), licensed MIT. It adds 62 tokens to every session and 1,557 once invoked, about $0.0003 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-09-10.
Other agents, from other repositories
power-platform-expert
Power Platform expert providing guidance on Code Apps, canvas apps, Dataverse, connectors, and Power Platform best practices.
Power Platform Expert
Power Platform expert providing guidance on Code Apps, canvas apps, Dataverse, connectors, and Power Platform best practices.
acp-developer
Agent-to-Agent (A2A) protocol developer for building interoperable agent systems using Google's open A2A standard with JSON-RPC, task lifecycle, and streaming.
aiox-data-engineer
AIOX Data Engineer autônomo. Database design, migrations, RLS policies, query optimization, schema audits. Usa task files reais do AIOX.
backend-engineer
Backend engineer for entities, repositories, transactions, API contracts, schema design, and data integrity.
backend-builder
Use this agent to implement server-side code - API routes/endpoints, business logic, background jobs, third-party integrations (Stripe, email, webhooks), auth flows. Give it a specific, bounded task with acceptance criteria. Returns working code verified by real test output.