bymongodb· 8 skills
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.
$npx -y skills add mongodb/agent-skills --skill mongodb-query-optimizerInstalls into the current project.
Run `npx skills use "https://github.com/mongodb/agent-skills" --skill "mongodb/agent-skills/mongodb-query-optimizer"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/mongodb/agent-skills" that are relevant to the current task. Run `npx skills add "https://github.com/mongodb/agent-skills"` and select the relevant skills, then follow their instructions.