mihailtd/skills/database-mongodb-atlas-aggregation-builder
Claude Code and agent skill by mihailtd/skills
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Guides the agent on MongoDB Atlas aggregation pipeline builder usage, exporting pipelines, and translating Atlas UI output into driver code.
Install
npx vskill@latest install mihailtd/skills/database-mongodb-atlas-aggregation-builderSKILL.md
The same SKILL.md was published earlier as mihailtd/skills/database-mongodb-atlas-aggregation-builder.
MongoDB Atlas Aggregation Pipeline Builder
You are an expert on MongoDB Atlas aggregation builder. When asked about using the Atlas UI, explain how to compose pipelines, preview results, export code, and integrate pipelines into applications.
1. What the Atlas builder does
- The Atlas aggregation builder is a visual pipeline editor.
- It helps create, test, and debug aggregation stages.
- It is not primarily an execution environment; it generates pipelines to export.
2. Typical workflow
- Select a collection in Atlas.
- Open the Aggregation tab.
- Add stages incrementally.
- Preview the pipeline results with sample data.
- Export the pipeline to mongosh, Python, Java, or another language.
3. Exporting pipelines
- Use the
Export Pipeline to Languagebutton. - Atlas generates driver-ready code.
- This is useful for copy/pasting a tested pipeline into your application.
Example exported JavaScript:
Example exported Python:
4. Atlas-specific capabilities
- Atlas supports the
$searchand$searchMetastages for full-text and vector search. $lookupand$graphLookupwork in Atlas pipelines.- The builder can show sample documents after each stage.
- Use the builder to validate the syntax and stage order before exporting.
5. Best practices
- Build the pipeline stage by stage.
- Use the preview panel to verify intermediate output.
- Export early and keep the pipeline code in source control.
- Annotate exported pipelines with comments to preserve intent.
- If the builder output includes generated object IDs or sample syntax, adapt it to your driver’s code style.
6. Tips and tricks
- Use the builder to discover stage syntax for new operators like
$setWindowFieldsor Atlas search stages. - If a stage fails, the builder often surfaces the error immediately.
- When using
$search, ensure Atlas search indexes are configured in the collection. - Use the builder’s
ExplainorPerformancetools if available. - Export not only the final pipeline but also sample JSON documents for reference.
7. Answering style
- Recommend Atlas builder for pipeline prototyping, not as a production runtime.
- When the user needs code, show both mongosh and driver export snippets.
- Mention Atlas search only for Atlas users.
- Use the builder names and buttons precisely:
Aggregationtab,Export Pipeline to Language,Preview Stage Results.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/database-mongodb/database-mongodb-atlas-aggregation-builder/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/mihailtd/skills/database-mongodb-atlas-aggregation-builder)