Mindsdb MCP Skill
LeoYeAI/openclaw-master-skills
MindsDB MCP服务器交互技能,用于通过自然语言查询和操作200+企业级数据源。当用户需要查询数据库、分析数据、创建AI模型、连接数据源(MySQL、PostgreSQL、MongoDB、Excel、CSV、Gmail、Slack等)、执行SQL查询、进行数据预测、构建知识库(RAG)、智能问答、文档检索或任何与数据库交互的任务时使用此技能。即使没有明确提到MindsDB,只要涉及数据库操…
Generate read-only MongoDB queries (find) or aggregation pipelines using natural language, with collection schema context and sample documents.
$ npx skills add mongodb/agent-skills --skill mongodb-natural-language-querying -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install mongodb/agent-skills mongodb-natural-language-querying --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/mongodb/agent-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/mongodb-natural-language-querying .claude/skills/mongodb-natural-language-querying && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "mongodb-natural-language-querying" agent skill from https://github.com/mongodb/agent-skills/tree/main/skills/mongodb-natural-language-querying into .claude/skills/mongodb-natural-language-querying/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mongodb-natural-language-querying", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/mongodb/agent-skills/tree/main/skills/mongodb-natural-language-queryingType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add mongodb/agent-skills --skill mongodb-natural-language-querying -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install mongodb/agent-skills mongodb-natural-language-querying --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mongodb/agent-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/mongodb-natural-language-querying .agents/skills/mongodb-natural-language-querying && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "mongodb-natural-language-querying" agent skill from https://github.com/mongodb/agent-skills/tree/main/skills/mongodb-natural-language-querying into .agents/skills/mongodb-natural-language-querying/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mongodb-natural-language-querying", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add mongodb/agent-skills --skill mongodb-natural-language-querying -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install mongodb/agent-skills mongodb-natural-language-querying --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mongodb/agent-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/mongodb-natural-language-querying .cursor/skills/mongodb-natural-language-querying && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "mongodb-natural-language-querying" agent skill from https://github.com/mongodb/agent-skills/tree/main/skills/mongodb-natural-language-querying into .cursor/skills/mongodb-natural-language-querying/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mongodb-natural-language-querying", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/mongodb/agent-skills.git --path skills/mongodb-natural-language-querying--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add mongodb/agent-skills --skill mongodb-natural-language-querying -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install mongodb/agent-skills mongodb-natural-language-querying --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mongodb/agent-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/mongodb-natural-language-querying .gemini/skills/mongodb-natural-language-querying && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "mongodb-natural-language-querying" agent skill from https://github.com/mongodb/agent-skills/tree/main/skills/mongodb-natural-language-querying into .gemini/skills/mongodb-natural-language-querying/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mongodb-natural-language-querying", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install mongodb/agent-skills mongodb-natural-language-queryingInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add mongodb/agent-skills --skill mongodb-natural-language-querying -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/mongodb/agent-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/mongodb-natural-language-querying .github/skills/mongodb-natural-language-querying && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "mongodb-natural-language-querying" agent skill from https://github.com/mongodb/agent-skills/tree/main/skills/mongodb-natural-language-querying into .github/skills/mongodb-natural-language-querying/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mongodb-natural-language-querying", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add mongodb/agent-skills --skill mongodb-natural-language-querying -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install mongodb/agent-skills mongodb-natural-language-querying --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mongodb/agent-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/mongodb-natural-language-querying .opencode/skills/mongodb-natural-language-querying && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "mongodb-natural-language-querying" agent skill from https://github.com/mongodb/agent-skills/tree/main/skills/mongodb-natural-language-querying into .opencode/skills/mongodb-natural-language-querying/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mongodb-natural-language-querying", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
mongodb-natural-language-queryingGenerate read-only MongoDB queries (find) or aggregation pipelines using natural language, with collection schema context and sample documents.
Mongodb Natural Language Querying is an agent skill from mongodb/agent-skills, published by the product's own GitHub organization. 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)…
Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Databases, covering NoSQL databases. It works with MongoDB, Model Context Protocol and SQL. The repository describes itself as: Use the official MongoDB Skills with your favorite coding agent to build faster. The licence is Apache-2.0.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit c370a63. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
mcp__mongodb__*From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are json).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Mongodb Natural Language Querying loads about 2.4k tokens when it runs. Until then it costs about 215 tokens; SKILL.md has 1,100 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from mongodb/agent-skills at commit c370a63, republished under its Apache-2.0 licence (© mongodb). 1,100 words, ~2,407 tokens.
.claude/skills/mongodb-natural-language-querying/SKILL.md (or your agent's skills folder).You are an expert MongoDB read-only query and aggregation pipeline generator.
Required Information:
mcp__mongodb__list-databases and mcp__mongodb__list-collections if not provided)Fetch in this order:
Indexes (for query optimization):
mcp__mongodb__collection-indexes({ database, collection })Schema (for field validation):
mcp__mongodb__collection-schema({ database, collection, sampleSize: 50 })Sample documents (for understanding data patterns):
mcp__mongodb__find({ database, collection, limit: 4 })Before generating a query, always validate field names against the schema you fetched. MongoDB won't error on nonexistent field names - it will simply return no results or behave unexpectedly, making bugs hard to diagnose. By checking the schema first, you catch these issues before the user tries to run the query.
Also review the available indexes to understand which query patterns will perform best.
Prefer find queries over aggregation pipelines because find queries are simpler and easier for other developers to understand.
Use Find Query when:
Use Aggregation Pipeline when the request requires:
Output queries using the user-requested language or driver syntax; if no language or expected format is supplied, always use MongoDB shell syntax (with unquoted keys and single quotes) for readability and compatibility with MongoDB tools.
Find Query Response:
{
"query": {
"filter": "{ age: { $gte: 25 } }",
"projection": "{ name: 1, age: 1, _id: 0 }",
"sort": "{ age: -1 }",
"limit": "10"
}
}Aggregation Pipeline Response:
{
"aggregation": {
"pipeline": "[{ $match: { status: 'active' } }, { $group: { _id: '$category', total: { $sum: '$amount' } } }]"
}
}$where because it prevents index usage$text without a text index$expr should only be used when necessary (use sparingly)$exists when you already have an equality or inequality check (e.g., status: "active" or age: { $gt: 25 } already implies the field exists)$gte: 0 and $gt: -1)_id: 0 to the projection when _id field is not needed$eq, $ne, $gt, $gte, $lt, $lte for comparisons$in, $nin for matching against a list of possible values (equivalent to multiple $eq/$ne conditions OR'ed together)$and, $or, $not, $nor for logical operations$regex for case-sensitive text pattern matching (prefer left-anchored patterns like /^prefix/ when possible, as they can use indexes efficiently)$exists for field existence checks (prefer a: {$ne: null} to a: {$exists: true} to leverage available indexes)$type for type matching"arrayField.0": {$exists: true} instead of arrayField: {$exists: true, $type: "array", $ne: []}$elemMatch$size when you need an exact count$match as early as possible to reduce documents$project at the end to correctly shape returned documents to the client$limit after $sort when appropriate$match and $sort stages can use indexes:$match stages at the beginning of the pipeline$match and $sort stages can use indexes if they precede any stage that modifies documents$match filters, check if indexes can support them$match$lookup - Consider denormalization for frequently joined data[longitude, latitude] or {type: "Point", coordinates: [lng, lat]}). This is opposite to how coordinates are often written in plain English, so double-check this when generating geo queries.When provided with sample documents, analyze:
Use sample documents to:
If you cannot generate a query:
User Input: "Find all active users over 25 years old, sorted by registration date"
Your Process:
status, age, registrationDate or similarGenerated Query:
{
"query": {
"filter": "{ status: 'active', age: { $gt: 25 } }",
"sort": "{ registrationDate: -1 }"
}
}Fetching large or numerous sample documents wastes context and can degrade query quality.
Adjust sample count by schema width:
limit: 4 (default)limit: 2limit: 1limit: 1 with a projection of only the fields relevant to the user's queryPreview large array fields and strings:
$slice: 3 in the sample projection to cap array size. Limit string fields to 100 characters with $substr in the sample projection to prevent excessively long values from consuming context.© mongodb, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/mongodb-natural-language-querying of mongodb/agent-skills.
Open the folder on GitHubat commit c370a63
We found 5 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in mongodb/agent-skills, which our catalogue first saw on October 7, 2026.
Mongodb Natural Language Querying next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Mongodb Natural Language Querying this skillmongodb/agent-skills | 189 | 1 repos | ~2.4k | Automated safety check: Pass | Apache-2.0 | |
| Mindsdb MCP SkillLeoYeAI/openclaw-master-skills | 2.2k | — | ~2.5k | Automated safety check: Pass | MIT | |
| Azure Storagemicrosoft/GitHub-Copilot-for-Azure | 255 | 2 repos | ~1.3k | Automated safety check: Pass | MIT | |
| Database FundamentalsDanielPodolsky/ownyourcode | 290 | 1 repos | ~1.6k | Automated safety check: Pass | MIT | |
| DB SculptorEliasOulkadi/shokunin | 114 | — | ~3.1k | Automated safety check: Notes | MIT | |
| Discover Databaserand/cc-polymath | 181 | — | ~2k | Automated safety check: Pass | MIT |
LeoYeAI/openclaw-master-skills
MindsDB MCP服务器交互技能,用于通过自然语言查询和操作200+企业级数据源。当用户需要查询数据库、分析数据、创建AI模型、连接数据源(MySQL、PostgreSQL、MongoDB、Excel、CSV、Gmail、Slack等)、执行SQL查询、进行数据预测、构建知识库(RAG)、智能问答、文档检索或任何与数据库交互的任务时使用此技能。即使没有明确提到MindsDB,只要涉及数据库操…
microsoft/GitHub-Copilot-for-Azure
Azure Storage Services including Blob Storage, File Shares, Queue Storage, Table Storage, and Data Lake.
DanielPodolsky/ownyourcode
Reviews schema design, SQL queries, ORM patterns. An agent skill from DanielPodolsky/ownyourcode.
EliasOulkadi/shokunin
Design database schemas with Prisma/Drizzle, PostgreSQL index strategy (B-tree, GIN, GiST, BRIN, Hash), query optimization (EXPLAIN ANALYZE), migration safety (expand/contract, zero-downtime), and…
rand/cc-polymath
Automatically discover database skills when working with SQL, PostgreSQL, MongoDB, Redis, database schema design, query optimization, migrations, connection pooling, ORMs, or database selection.
jamesrochabrun/skills
Master SQL and database queries across multiple systems. An agent skill from jamesrochabrun/skills.
mongodb/agent-skills
Help with MongoDB query optimization and indexing. An agent skill from mongodb/agent-skills.
mongodb/agent-skills
Review a proposed Agent Skill for structural validity and content quality before publishing.
mongodb/agent-skills
Guide users through configuring key MongoDB MCP server options.
mongodb/agent-skills
MongoDB schema design patterns and anti-patterns. An agent skill from mongodb/agent-skills.
mongodb/agent-skills
Optimize MongoDB client connection configuration (pools, timeouts, patterns) for any supported driver language.
mongodb/agent-skills
Guides MongoDB users through implementing and optimizing Atlas Search (full-text), Vector Search (semantic), and Hybrid Search solutions.
Works with
Categories
Generate read-only MongoDB queries (find) or aggregation pipelines using natural language, with collection schema context and sample documents. Mongodb Natural Language Querying is an agent skill from mongodb/agent-skills, published by the product's own GitHub organization. Generate read-only MongoDB queries (find) or aggregation pipelines using natural language, with collection schema context and sample documents.
Mongodb Natural Language Querying fits situations like: the user asks to write; generate MongoDB queries; wants to filter/query/aggregate data in MongoDB; asks how do I query...
Run `npx skills add mongodb/agent-skills --skill mongodb-natural-language-querying -a claude-code`. Or copy the skill folder (skills/mongodb-natural-language-querying in mongodb/agent-skills) into .claude/skills/mongodb-natural-language-querying in your project. Claude Code loads it when a task matches its description.
Run `npx skills add mongodb/agent-skills --skill mongodb-natural-language-querying -a codex`. Or copy the skill folder (skills/mongodb-natural-language-querying in mongodb/agent-skills) into .agents/skills/mongodb-natural-language-querying in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mongodb/agent-skills --skill mongodb-natural-language-querying -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/mongodb-natural-language-querying, .gemini/skills/mongodb-natural-language-querying, .github/skills/mongodb-natural-language-querying and .opencode/skills/mongodb-natural-language-querying in your project.
SKILL.md names no scripts, command-line tools or credentials: Mongodb Natural Language Querying is instructions for the agent only. Its frontmatter pre-approves these tools: mcp__mongodb__*.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Mongodb Natural Language Querying is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.4k tokens (SKILL.md is roughly 9.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Mongodb Natural Language Querying: Mindsdb MCP Skill (LeoYeAI/openclaw-master-skills, 2.2k stars), Azure Storage (microsoft/GitHub-Copilot-for-Azure, 255 stars), Database Fundamentals (DanielPodolsky/ownyourcode, 290 stars) and DB Sculptor (EliasOulkadi/shokunin, 114 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
mongodb (a GitHub organization, an official publisher) maintains it in mongodb/agent-skills, which has 189 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on October 10, 2026.
Source: mongodb/agent-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.