118downloads
MongoDB slow query and index review skill
Investigate slow MongoDB queries and choose indexes using query evidence. Focus on performance and indexing when a workload needs faster execution.
When it runs
Your agent reads this description from SKILL.md to decide when to load the skill:
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 MongoDB MCP when available.
What SKILL.md covers
- When this skill is invoked
- High Level Workflow
- MCP: available tools
- Example workflow 1 (help with specific query)
- Example workflow 2 (general database performance help)
- Load references
- Output
Files in the ZIP
Related skills
MongoDB Atlas Stream Processing workflow skill
Build and operate MongoDB Atlas Stream Processing pipelines. Configure workspaces and connections, manage processors and diagnose streaming data failures.
MongoDB connection pools and timeout tuning skill
Review MongoDB client connections, pool sizing and timeouts for your workload. Diagnose connection failures before choosing driver configuration changes.
MongoDB MCP Server setup and connection skill
Configure MongoDB MCP Server and check its connection to your database. Follow the setup workflow before using agent tools for MongoDB operations.