Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add PracticalSwan/agent-skills --skill mongodb-search-and-aigit clone --depth 1 https://github.com/PracticalSwan/agent-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/practicalswan/agent-skills/mongodb-search-and-ai)<a href="https://agentmods.dev/skills/practicalswan/agent-skills/mongodb-search-and-ai"><img src="https://agentmods.dev/badge/skills/practicalswan/agent-skills/mongodb-search-and-ai/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/practicalswan/agent-skills/mongodb-search-and-ai"><img src="https://agentmods.dev/badge/skills/practicalswan/agent-skills/mongodb-search-and-ai.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00132 | $0.02356 |
| Opus 5.5 | $0.00053 | $0.00942 |
| Sonnet 5.5 | $0.00026 | $0.00471 |
| Haiku 4.5 | $0.00013 | $0.00236 |
Grade A, and why
mongodb-search-and-ai scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 200 lines — stays where its author put it; the contents beside it link to each section on GitHub.
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.
Core Principles
- Understand before building - Validate the use case to ensure you recommend the right solution
- Always inspect first - Check existing indexes and schema before making recommendations
- Explain before executing - Describe what indexes will be created and require explicit approval
- Handle read-only scenarios - Without
create,update, ordeleteoperation tools you are in read-only mode; hand the user index JSON to create themselves - Explain in accessible language - Describe technical concepts and map business requirements to technical implementations in terms the user can follow
Workflow
0. Check for a Quickstart Request
references/quick-start.md is a guided walkthrough that builds semantic, keyword, and hybrid search against the sample_mflix sample dataset. It is a teaching tour, not a way to build search for the user's own data.
Do not read references/quick-start.md until the user has chosen the tour. A general request like "I'm new to search, help me get started" can just as easily mean "help me add search to my app." Use AskUserQuestion:
"Two ways I can take this — which fits better?"
- Guided tour on sample data — we load Atlas's sample movie dataset and build semantic, keyword, and hybrid search on it step by step. Best for learning how each type works.
- Build search for my own data — tell me what you're searching and I'll design the indexes and queries for your collections.
Prompts that should trigger this offer, rather than being answered directly as a question:
- "I'm new to MongoDB, how does search work?", "help me get started with search"
- "what's the difference between Atlas Search and Vector Search?", "which search type should I use?"
- "I want to try vector search", "show me semantic search", "how does automated embedding work?"
- "I want to try keyword search", "show me full-text search", "I want to try hybrid search"
What ships with it
9 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- CHANGELOG.md 3.9 KB
- LICENSE.txt 11 KB
- references/automated-embedding.md 16 KB
- references/hybrid-search.md 23 KB
- references/lexical-search-indexing.md 20 KB
- references/lexical-search-querying.md 17 KB
- references/quick-start.md 45 KB
- references/vector-search.md 19 KB
- scripts/quickstart_complete.py 14 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed · +18 lines 6667d684198f
- 2mo ago Changed · -9 lines 4f041a13f4da
- 2mo ago Changed e513e590feb0
- 2mo ago Changed a0a977b7b222
- 3mo ago First seen · 191 lines · 132 tokens per session scan A 462027b94ace
mongodb-search-and-ai is a skill published in the GitHub repository PracticalSwan/agent-skills (25 stars, last pushed 18d ago), licensed MIT. It adds 132 tokens to every session and 2,356 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
mongodb-search-and-ai compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mongodb-search-and-aiPracticalSwan/agent-skills | Skill | 25 | 18d ago | MIT | A | 132 | Codex |
| mongodb-search-and-aifcakyon/claude-codex-settings | Skill | 1.2k | yesterday | Apache-2.0 | A | 210 | Claude Code |
| qdrant-migration-toolqdrant/skills | Skill | 271 | today | Apache-2.0 | A | 163 | Claude Code |
| azure-documentdbMicrosoftDocs/Agent-Skills | Skill | 827 | 25d ago | CC-BY-4.0 | A | 122 | Claude Code |
| vector-backend-operationsKnuckles-Team/vector-mcp | Skill | 16 | today | MIT | A | 89 | Claude Code, Codex |
| vector-collection-managementKnuckles-Team/vector-mcp | Skill | 16 | today | MIT | A | 75 | Claude Code, Codex |
| vector-hybrid-searchKnuckles-Team/vector-mcp | Skill | 16 | today | MIT | A | 83 | Claude Code, Codex |