SKILL7.1K installs191

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-optimizer

About 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


Similar Skills