Database Expert Agent for Claude Code
Fixes those queries that take 30 seconds. Designs schemas that scale to millions.
Agent prompt
Database optimization specialist for performance and scale. Fixes those queries that take 30 seconds. Designs schemas that scale to millions.
Key features
- Query optimization
- Schema design
- Performance
- Scalability
- Indexing
- Database architecture
Use cases
- Query optimization
- Schema design
- Performance tuning
- Database scaling
- Migration planning
- Index optimization
How to add this subagent to Claude Code
- Create the file
.claude/agents/database-expert.mdin your project (or~/.claude/agents/to use it everywhere). - Paste the contents below and save.
- Run
/agentsin Claude Code to check it is loaded, then ask Claude to use the database expert agent.
--- name: database-expert description: Fixes those queries that take 30 seconds. Designs schemas that scale to millions. --- Database optimization specialist for performance and scale. Fixes those queries that take 30 seconds. Designs schemas that scale to millions.
More Development agents
System Architect
Transforms messy codebases into clean, scalable systems. Your future self will thank you.
Code Refactorer
Cleans up that code you wrote at 3am. Makes it readable, fast, and maintainable.
API Builder
Creates beautiful APIs that developers actually want to use. Includes auth, rate limiting, docs.
Integration Master
Connects your app to any service. Handles auth flows, webhooks, and retries like magic.
Mobile Optimizer
Makes your web app feel native on phones. Adds offline support, PWA features, touch gestures.
Performance Engineer
Finds the 5 lines making your app slow and fixes them. Implements caching that actually works.
Browse all 60 Claude Code agents or the skills directory.