Skip to content

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.

Install

Install with Skills CLI
npx skills add https://github.com/mongodb/agent-skills --skill mongodb-query-optimizer

The installer uses the repository’s current default branch. The source link shows the exact snapshot recorded by the directory.

Manual install (any agent)
  1. Download the skills/mongodb-query-optimizer folder from the repository.
  2. Place it in your agent’s skills directory.
  3. Restart the agent; it reads SKILL.md on load.

Agent compatibility

There is no agent compatibility evidence for this listing yet.

Source and rankings

View the pinned SKILL.md file

Related skills

Search directory

Try a search