Installation
Skills CLI
npx skills@latest add mongodb/agent-skills --skill mongodb-query-optimizerRequires Node.js and npm. Choose your agents in the installer; add -g for a global installation.
Prompt
Use the mongodb-query-optimizer skill for this task.Paste this into your agent once the skill is installed, then add your own context.
Fieldbook review
Reviewed 27 Sept 2026Uses MongoDB MCP explain, index, sample-document, and Atlas Performance Advisor data when configured, then ranks evidence-backed improvements. Atlas analysis needs API credentials and cluster access; index creation is withheld until the user approves because it changes database state and write overhead.
- LicenceApache-2.0
- FrontmatterValid name and description
- Risky patternsNone found
- Size150 lines
- Last checked27 Sept 2026 ·
62a5bff5f4050596baf63a60856d8df52dddcce3e7ba21461885476a88be4873
What it can touch
- Needs MCP
Requires an MCP server to be configured.
- Network
Reaches external services or the web.
Read the source
Fieldbook links to the original instead of copying it, so you always read the version you install.
skills/mongodb-query-optimizer/SKILL.md on GitHub (opens in a new tab)