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 khalilbenaz/claude-skills-collection --skill mongodb-guidegit clone --depth 1 https://github.com/khalilbenaz/claude-skills-collectionWrote 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/khalilbenaz/claude-skills-collection/mongodb-guide)<a href="https://agentmods.dev/skills/khalilbenaz/claude-skills-collection/mongodb-guide"><img src="https://agentmods.dev/badge/skills/khalilbenaz/claude-skills-collection/mongodb-guide/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/khalilbenaz/claude-skills-collection/mongodb-guide"><img src="https://agentmods.dev/badge/skills/khalilbenaz/claude-skills-collection/mongodb-guide.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00052 | $0.02135 |
| Opus 5.5 | $0.00021 | $0.00854 |
| Sonnet 5.5 | $0.00010 | $0.00427 |
| Haiku 4.5 | $0.00005 | $0.00214 |
Grade A, and why
mongodb-guide 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 2mo 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 — 203 lines — stays where its author put it; the contents beside it link to each section on GitHub.
MongoDB Guide
Workflow
1. Analyser les patterns d'accès
Avant tout schéma, lister les requêtes réelles : quelles entités sont lues ensemble ? À quelle fréquence ? Ratio lecture/écriture ?
Critères de décision embed vs reference :
| Critère | Embed | Reference |
|---|---|---|
| Données toujours lues ensemble | ✅ | ❌ |
| Taille du tableau bornée (<100 éléments) | ✅ | ❌ |
| Données partagées entre plusieurs parents | ❌ | ✅ |
| Mise à jour fréquente de sous-documents | ❌ | ✅ |
| Document proche de 16 Mo | ❌ | ✅ |
2. Concevoir le schéma
Patterns courants :
- Subset : n'embarquer que les N derniers éléments (ex. 10 derniers avis)
- Computed : stocker un agrégat précalculé (total, moyenne) mis à jour à l'écriture
- Bucket : regrouper des séries temporelles par période (ex. mesures IoT par heure)
- Extended Reference : dupliquer les champs les plus lus du document référencé
- Outlier : gérer les documents « hors-norme » via un flag + collection overflow
Exemple schéma Computed (compteur dénormalisé) :
// À l'écriture d'un avis :
db.products.updateOne(
{ _id: productId },
{
$push: { latestReviews: { $each: [review], $slice: -10 } },
$inc: { reviewCount: 1, ratingSum: review.rating }
}
)
// reviewCount et ratingSum toujours à jour, aucun $lookup nécessaire
3. Construire les aggregation pipelines
Règles d'ordre obligatoires :
$matchle plus tôt possible (utilise les index)$project/$unsetpour réduire la taille des documents en transit$sort+$limitavant$lookuppour limiter les jointures
db.orders.aggregate([
{ $match: { status: "shipped", createdAt: { $gte: ISODate("2026-01-01") } } },
{ $project: { customerId: 1, totalAmount: 1, _id: 0 } },
{ $group: { _id: "$customerId", totalSpent: { $sum: "$totalAmount" } } },
{ $sort: { totalSpent: -1 } },
{ $limit: 20 },
{ $lookup: {
from: "customers",
localField: "_id",
foreignField: "_id",
as: "customer",
pipeline: [{ $project: { name: 1, email: 1 } }]
}},
{ $unwind: "$customer" }
])
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.
- 2mo ago First seen · 203 lines · 52 tokens per session scan A 625bfe4b52c9
mongodb-guide is a skill published in the GitHub repository khalilbenaz/claude-skills-collection (27 stars, last pushed 3mo ago), licensed MIT. It adds 52 tokens to every session and 2,135 once invoked, about $0.0002 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-guide compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mongodb-guidekhalilbenaz/claude-skills-collection | Skill | 27 | 3mo ago | MIT | A | 52 | Claude Code, Codex |
| mongo-migrationjohnqtcg/awesome-skills | Skill | 31 | 1mo ago | MIT | A | 140 | Claude Code, Codex |
| database-patternssoftspark/ai-toolkit | Skill | 180 | 13d ago | Apache-2.0 | A | 55 | Claude Code |
| migration-patternssoftspark/ai-toolkit | Skill | 180 | 13d ago | Apache-2.0 | A | 41 | Claude Code |
| migratesoftspark/ai-toolkit | Skill | 180 | 13d ago | Apache-2.0 | A | 38 | Claude Code |
| database-experttravisjneuman/.claude | Skill | 115 | 2d ago | MIT | A | 36 | Claude Code |
| agent-database-experttravisjneuman/.claude | Skill | 115 | 2d ago | MIT | A | 49 | Claude Code |