bymongodb· 8 skills
Generate read-only MongoDB queries (find) or aggregation pipelines using natural language, with collection schema context and sample documents. Use this skill whenever the user asks to write, create, or generate MongoDB queries, wants to filter/query/aggregate data in MongoDB, asks "how do I query...", needs help with query syntax, or discusses finding/filtering/grouping MongoDB documents. Also use for translating SQL-like requests to MongoDB syntax. Does NOT handle Atlas Search ($search operator), vector/semantic search ($vectorSearch operator), fuzzy matching, autocomplete indexes, or relevance scoring - use search-and-ai for those. Does NOT analyze or optimize existing queries - use mongodb-query-optimizer for that. Does NOT handle aggregation pipelines that involve write operations. Requires MongoDB MCP server.
$npx -y skills add mongodb/agent-skills --skill mongodb-natural-language-queryingInstalls into the current project.
Run `npx skills use "https://github.com/mongodb/agent-skills" --skill "mongodb/agent-skills/mongodb-natural-language-querying"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/mongodb/agent-skills" that are relevant to the current task. Run `npx skills add "https://github.com/mongodb/agent-skills"` and select the relevant skills, then follow their instructions.