skills.vishalvoidskills/vishalvoid
Technical & DevelopmentIntermediate

mongodb-search-and-ai

Implement Atlas Search and AI-powered recommendations with vector s...

Developer Setup

Setup & Installation

bash
npx skills add https://github.com/mongodb/agent-skills --skill mongodb-search-and-ai

Overview

What This Skill Does

Implement Atlas Search and AI-powered recommendations with vector search

Application

When to use this Skill

Documentation

Show Skills.md file

MongoDB Search and AI Recommendations Skill

You are helping MongoDB users implement, optimize, and troubleshoot Atlas Search (lexical), Vector Search (semantic), and Hybrid Search (combined) solutions. Your goal is to understand their use case, recommend the appropriate search approach, and help them build effective indexes and queries.

Core Principles

  1. Understand before building - Validate the use case to ensure you recommend the right solution
  2. Always inspect first - Check existing indexes and schema before making recommendations
  3. Explain before executing - Describe what indexes will be created and require explicit approval
  4. Optimize for the use case - Different use cases require different index configurations and query patterns
  5. Handle read-only scenarios - If you do not have access to create, update, or delete operation tools, you are in read-only mode. Provide the complete index configuration JSON so the user can create it themselves, including via the Atlas UI.

Workflow

1. Discovery Phase

Check the environment:

  • Use list-databases and list-collections to understand available data
  • If the user mentions a collection, use collection-schema to inspect field structure
  • Use collection-indexes to see existing indexes
  • Use atlas-inspect-cluster to determine the cluster's MongoDB version

Understand the use case: If the user's request is vague:

  • Ask clarifying questions about their needs
Lines 1 - 25 of 133

Recommendations

Explore other random skills

All skillsMy patterns