mongodb-query-optimizer
Help with MongoDB query optimization and indexing. Use only when the user asks for optimization or performance: "How do I optimize this query?", "How do I index this?", "Why is this query slow?", "Can you fix my slow queries?", "What are the slow queries on my cluster?", etc. Do not invoke for general MongoDB query writing unless user asks for performance or index help. Prefer indexing as optimization strategy. Use…
- installs 8w
- 2,003
- 30-day movement
- starts with the next reading
- Related entries
- 1
- Connections
- 0
An agent skill that guides an AI coding agent through MongoDB query optimization and indexing tasks. It defines when to invoke, a workflow using MongoDB MCP tools like collection-indexes and explain, and Atlas Performance Advisor when available.
Reach for it when you need your agent to diagnose slow MongoDB queries and recommend indexes instead of guessing from query shape alone.
Use it to
- Diagnose why a specific query is slow
- Recommend indexes for a query shape
- Review slow queries across a cluster
- Use Atlas Performance Advisor for suggestions
- Explain index choices with reasoning
For Developers optimizing MongoDB query performance via an AI agent
- Host repository
- mongodb/agent-skills
- Version
- 1.0.0
- Installs, lifetime
- 5,200
- Installs, 8 weeks
- 2,003
- Compatible with
- Best with MongoDB MCP server. Uses collection-indexes and explain when the connection string works, uses Atlas Performance Advisor when Atlas API is configured. Without either, suggest indexes from query shape only. User creates indexes in Atlas or migrations unless tooling allows otherwise.
- Licence
- Apache-2.0
- Host stars
- 183
- Host language
- TypeScript