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 MongoDB MCP when available.
- Type
- Skill
- Author
- mongodb
- GitHub stars
- 191
- Installs
- 7.1K
- Last updated
- October 31, 2026
Install
npx skills add https://github.com/mongodb/agent-skills --skill mongodb-query-optimizerAbout this skill
Helps optimize MongoDB queries and choose indexes, with indexing as the preferred strategy. It's meant for performance work — slow query diagnosis, index design, and cluster-level slow query review. Uses the MongoDB MCP server when one is available, and stays out of general query writing unless performance is the ask.
Summary written with AI assistance from the project's public description.
Categories
More from mongodb
Mongodb Schema Design
MongoDB schema design patterns and anti-patterns. Use when designing data models, reviewing schemas, migrating from SQL, or troubleshooting perform...
by mongodb
Mongodb Search And Ai
Guides MongoDB users through implementing and optimizing Atlas Search (full-text), Vector Search (semantic), and Hybrid Search solutions. Use this...
by mongodb
Mongodb Connection
Optimize MongoDB client connection configuration (pools, timeouts, patterns) for any supported driver language. Use this skill when working/updatin...
by mongodb
Similar Skills
Find Skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", o...
by vercel-labs
Grill Me
A relentless interview to sharpen a plan or design.
by mattpocock
Ai Video Generation
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0,...
by inference-sh
Ai Image Generation
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FL...
by inference-sh