Install any skill in seconds. Free to start, no credit card required.
Get Started Free →fcakyon/mongodb-natural-language-querying
Generate read-only MongoDB queries (find) or aggregation pipelines using natural language, with collection schema context and sample documents.
5 of 22 test cases passed with the skill.
Tokens, turns and time describe resource use, not a dollar price.
Lift withheld: 5 comparable cases; this report requires 8.
One of 4 test cases the skill fixed. Same model, same prompt, with and without the skill.
Write a MongoDB filter for finding products where `status` is equal to 'active'. Make sure to include `$exists: true` on `status` to ensure the field is present in the document.
| Checked | Without skill | With skill |
|---|---|---|
| The generated filter does not include $exists for the status field. | Missed | Passed |
The instructions your model reads when the skill loads.
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.
test cases passed with the skill
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.