スキル公式
mongodb-query-optimizer
Apache-2.02026年11月10日 更新197GitHubスター
MongoDB's skill for query performance and indexing, meant to be used only when the user asks why something is slow or how to speed it up.
スキルの内容
MongoDB's skill for query performance and indexing, meant to be used only when the user asks why something is slow or how to speed it up. With the MongoDB MCP Server and a working connection the agent reads existing indexes and explain output; with Atlas API credentials it can pull slow queries and index suggestions from Atlas Performance Advisor. Without either it recommends indexes from the shape of the query alone. It favours indexing as the fix and leaves creating the index to the user or their migrations.
できること
- Explain why a MongoDB query is slow
- Recommend indexes for a query shape
- List slow queries from Atlas Performance Advisor
- Review aggregation pipelines for performance
概要
- 公開元
- MongoDB
- ツール
- MongoDB
インストール
- すべてのクライアントに追加するには、次のコマンドを実行します:
npx skills add mongodb/agent-skills
含まれるファイル
- references/aggregation-optimization.md
- references/antipattern-examples.md
- references/core-indexing-principles.md
- references/update-query-examples.md
MCPサーバーやスキルは、お使いのコンピューターでコードを実行したり、データを操作したりできます。インストールする前にソースを確認してください。
詳細
出典
- スキルファイル(SKILL.md)github.com/mongodb/agent-skills · 根拠となる項目:ライセンス2026年11月10日
- Webページmongodb.com · 根拠となる項目:公式かどうか2026年11月12日
- GitHubリポジトリgithub.com/mongodb/agent-skills · 根拠となる項目:公開元, 活動状況, ライセンス2026年11月11日
- リポジトリ内のフォルダ(mongodb-query-optimizer)github.com/mongodb/agent-skills · 根拠となる項目:スクリプトを含む2026年11月10日