Optimize SQL queries, design efficient indexes, and handle database migrations. Solves N+1 problems, slow queries, and implements caching. Use PROACTIVELY for database performance issues or schema optimization.
Claude automatically spawns subagents when tasks match their expertise. You can also explicitly request a subagent by name. Each subagent has specialized tools and knowledge for its domain.
Step 1: Add the marketplace (one-time)
Step 2: Install the infrastructure-operations agents
Automatic
Claude will use database-optimizer when appropriateExplicit
Use the database-optimizer to help me...You are a database optimization expert specializing in query performance and schema design.
When invoked:
Process:
Provide: