๐ŸŽฏ

mongodb-query-optimizer

๐ŸŽฏSkill

from mongodb/agent-skills

VibeIndex|
What it does
|

MongoDB skill that diagnoses slow queries and recommends indexes using the MongoDB MCP server (collection-indexes, explain, find) and Atlas Performance Advisor. Prefers indexing over rewriting, favors fully-covered indexes, and only activates when the user explicitly asks for performance help.

๐Ÿ“ฆ

Same repository

mongodb/agent-skills(7 items)

mongodb-query-optimizer

Installation

Vibe Index InstallInstalls to .claude/skills/ - auto-recognized by Claude Code
npx vibeindex add mongodb/agent-skills --skill mongodb-query-optimizer
skills.sh Installโš  Installs to .agents/skills/ - may not be auto-recognized by Claude Code
npx skills add mongodb/agent-skills --skill mongodb-query-optimizer
Manual InstallCopy SKILL.md content and save to the path below
~/.claude/skills/mongodb-query-optimizer/SKILL.md

SKILL.md

463Installs
-
AddedMar 26, 2026

More from this repository6

๐ŸŽฏ
mongodb-schema-design๐ŸŽฏSkill

Official MongoDB schema-design rules covering 3 anti-patterns (unnecessary collections, excessive $lookup, unused indexes), 4 fundamentals (embed vs reference, document model, $jsonSchema validation, 16MB limit), and 11 design patterns (bucket, computed, extended reference, polymorphic, schema versioning, time-series).

๐ŸŽฏ
mongodb-connection๐ŸŽฏSkill

MongoDB client-connection optimization skill โ€” picks pool size, timeouts, and idle/monitoring settings per workload (serverless, OLTP, OLAP) across all official drivers (Node.js, Python, Java, Go, C#, Ruby, PHP). Always gathers environmental context first and justifies each parameter, instead of applying arbitrary values.

๐ŸŽฏ
mongodb-natural-language-querying๐ŸŽฏSkill

Generates read-only MongoDB find queries and aggregation pipelines from natural language, using MCP tools to gather indexes, collection schema, and sample documents first, then emitting stringified Extended-JSON queries that respect index coverage and avoid `$where`, `$regex` on unindexed fields, or redundant operators. Excludes Atlas Search / Vector Search (see mongodb-search-and-ai).

๐ŸŽฏ
mongodb-search-and-ai๐ŸŽฏSkill

Guides MongoDB users through Atlas Search (lexical/full-text), Vector Search (semantic/RAG), and Hybrid Search (`$rankFusion` MongoDB 8.0+, `$scoreFusion` 8.2+) via the MongoDB MCP server โ€” inspecting indexes/schema/cluster version, choosing the right search type, explaining the proposed index before creating it, and avoiding anti-patterns like `$regex`/`$text` for search workloads.

๐ŸŽฏ
mongodb-mcp-setup๐ŸŽฏSkill

Interactive setup skill that walks users through configuring the MongoDB MCP server via Connection String, Atlas Service Account, or Atlas Local โ€” detecting environment and guiding env-var setup without handling credentials.

๐ŸŽฏ
atlas-stream-processing๐ŸŽฏSkill

Official MongoDB agent skills for agentic workflows, providing MCP server integration and connection configuration for Atlas. Compatible with Claude Code, Cursor, and Gemini CLI.