Skip to skills
AI Craft Pad
Home/Skills/Data & databases/mongodb-query-optimizer
First-party source

Mongodb Query Optimizer

Investigate a slow MongoDB workload using query plans, current indexes and available Atlas evidence.

Editorial review checked 2026-10-31 against this instruction snapshot. Supporting scripts and runtime behavior remain outside this editorial review.

What it does

The instruction separates a specific query investigation from cluster-wide performance analysis. It combines index inventory, explain output and bounded document samples when database tools are connected, while Atlas recommendations require a separate working API configuration. Without those observations it falls back to a conditional suggestion based on query shape.

Best for

Developers who have an actual performance question and can identify the database, collection and representative query.

Tradeoffs and requirements

An index recommendation is a hypothesis, with storage and write overhead as well as possible read benefits. The source limits direct index creation and does not turn an absent connection into measured evidence. Its companion indexing references and the live database remain separate verification boundaries.

Best with MongoDB MCP server. Uses collection-indexes and explain when the connection string works; uses Atlas Performance Advisor when Atlas API is configured. Without either, suggest indexes from query shape only. User creates indexes in Atlas or migrations unless tooling allows otherwise.

Data and service requirements

Connected diagnosis can retrieve collection documents, query plans and slow-query logs. Review the selected cluster, permitted data scope and MCP connection before sending that information into an agent session.

Instruction-level disclosure at the checked snapshot; not an independent audit of the service or its current terms.

Install from the source

First time installing a skill? Follow the walkthrough →

Inspect the pinned source snapshot and its supporting files first. The command selects this skill through the open-source skills CLI. Node.js and agent-specific setup may be required. Installation can download code. Catalog ingestion never executes skill instructions or install scripts.

npx skills add https://github.com/mongodb/agent-skills/tree/155bb9c4b42a9a3e019f47be0669de0e4547d1ea/skills/mongodb-query-optimizer --skill mongodb-query-optimizer

Review pinned skill folder ↗ · CLI documentation ↗

After source review, use npx skills check and npx skills update to inspect and apply upstream updates. Re-check changed instructions before running them.

Safety & review signals

Static review only. This is not a security audit or a guarantee of safety.

SKILL.md text only; scripts, dependencies and runtime behavior not audited.

  • Credential Reference — review the source context.
  • Network Access — review the source context.

Allowed tools declaration: Unknown. Runtime permissions and network behavior: Unknown.

AI Craft Pad Skill Score

85/100 · Metadata coverage 100% · Model 1.0

Scores summarize observable discovery signals. Popularity and repository activity apply to the whole repository. Unknown runtime safety earns no certification.

Documentation
100/100
100
Maintenance
100/100
100
License Clarity
100/100
100
Repository Health
100/100
100
Compatibility Evidence
80/100
80
Popularity
41/100
41
Originality
80/100
80
Static Safety
60/100
60
Read the formula and limits →

Suggested workflow

Preserve the original query and workload conditions. Inspect available indexes and the plan before choosing a candidate change, then explain the evidence and expected tradeoff. Apply an approved index through the project migration process rather than silently changing a cluster.

How to judge the result

Compare returned rows, scanned keys and documents, sort behavior and elapsed time under comparable conditions. Check concurrent write behavior and verify that the claimed improvement comes from a fresh result rather than an illustrative source example.

Similar skills to compare

Related by category; compare scope and dependencies before choosing an alternative.

Data & databases87/100

spreadsheet manual build

sickn33/agentic-awesome-skills

A community workbook-building reference for deliberate cell structure, formulas, types and readable spreadsheet presentation.

Community sourceMITEditorial review3 matching source records

Repository star change: +73 over 24.12 hours. 2026-11-02

48,999 repo stars0 text flagsReview ↗
Data & databases87/100

huggingface datasets

huggingface/skills

A Dataset Viewer workflow for inspecting subsets, paginating rows, applying filters and locating downloadable dataset parts.

First-party sourceApache-2.0Editorial review

Repository star change: +9 over 24.12 hours. 2026-11-02

11,252 repo stars2 text flagsReview ↗
Data & databases86/100

xlsx

anthropics/skills

A spreadsheet-file workflow for formulas, formatting, data cleanup and checking recalculated workbook results.

First-party sourceLicense declaredEditorial review

Repository star change: +478 over 24.12 hours. 2026-11-02

186,432 repo stars1 text flagReview ↗

More from this source

Development85/100

mongodb atlas stream processing

mongodb/agent-skills

Explore mongodb atlas stream processing as a development workflow from mongodb/agent-skills. Compare its source, maintenance and review signals before choosing it for your agent.

First-party sourceApache-2.0

Repository star change: +0 over 24.12 hours. 2026-11-02

194 repo stars2 text flagsReview ↗
Development85/100

mongodb connection

mongodb/agent-skills

Explore mongodb connection as a development workflow from mongodb/agent-skills. Compare its source, maintenance and review signals before choosing it for your agent.

First-party sourceApache-2.0

Repository star change: +0 over 24.12 hours. 2026-11-02

194 repo stars0 text flagsReview ↗
Automation & agents85/100

mongodb mcp setup

mongodb/agent-skills

Explore mongodb mcp setup as a automation & agents workflow from mongodb/agent-skills. Compare its source, maintenance and review signals before choosing it for your agent.

First-party sourceApache-2.0

Repository star change: +0 over 24.12 hours. 2026-11-02

194 repo stars3 text flagsReview ↗

Related Plugins

Category-based discovery candidates. Inspect overlap, permissions and requirements; these combinations have not been integration-tested.

Data & databases74/100

aws data analytics

aws/agent-toolkit-for-aws · Plugin

Explore aws-data-analytics as an agent plugin package for data & databases. Review its supported format, bundled components and setup requirements before installing.

Manifest metadataApache-2.0
3,368 repo stars1 metadata flagReview ↗
Data & databases74/100

consumer goods

forcedotcom/sf-skills · Plugin

Explore consumer-goods as an agent plugin package for data & databases. Review its supported format, bundled components and setup requirements before installing.

Manifest metadataApache-2.0
1,136 repo stars0 metadata flagsReview ↗
Data & databases74/100

clickhouse best practices

ClickHouse/agent-skills · Plugin

Explore clickhouse-best-practices as an agent plugin package for data & databases. Review its supported format, bundled components and setup requirements before installing.

Manifest metadataApache-2.0
565 repo stars1 metadata flagReview ↗

Related MCP Servers

Category-based discovery candidates. Inspect overlap, permissions and requirements; these combinations have not been integration-tested.

Data & databases72/100

mapcast

21prnv/mapcast · MCP server

Explore mapcast as an MCP connection for data & databases. Compare the declared transport, package requirements and source evidence before connecting an agent.

Registry metadataMIT
3 repo stars1 metadata flagReview ↗
Data & databases71/100

byte protocol

0rkz/byte-mcp-server · MCP server

Explore byte-protocol as an MCP connection for data & databases. Compare the declared transport, package requirements and source evidence before connecting an agent.

Registry metadataMIT
1 repo stars3 metadata flagsReview ↗
Data & databases71/100

ModWrench

171county/modwrench · MCP server

Explore ModWrench as an MCP connection for data & databases. Compare the declared transport, package requirements and source evidence before connecting an agent.

Registry metadataMIT
0 repo stars1 metadata flagReview ↗

Continue your task with AI Craft Pad

Optional resources from our own site. These links do not affect the Skill Score or editorial selection.

Free tool

Inspect skill files →

Review text and supporting files for patterns needing manual inspection. No safety certification is implied.