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 agentmods add skills/cookiemonsterdev/agents-skills/mongodb-docsnpx skills add cookieMonsterDev/agents-skills --skill mongodb-docsgit clone --depth 1 https://github.com/cookieMonsterDev/agents-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/cookiemonsterdev/agents-skills/mongodb-docs)<a href="https://agentmods.dev/skills/cookiemonsterdev/agents-skills/mongodb-docs"><img src="https://agentmods.dev/badge/skills/cookiemonsterdev/agents-skills/mongodb-docs.svg" alt="Measured on agentmods" 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 | $0.00096 | $0.01167 |
| Opus 5 | $0.00048 | $0.00583 |
| Sonnet 5 | $0.00019 | $0.00233 |
| Haiku 4.5 | $0.00010 | $0.00117 |
Grade A, and why
mongodb-docs 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 4d 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 — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.
MongoDB questions are easy to answer from stale memory or SQL-centric assumptions. Use this skill to ground answers in the official MongoDB documentation and return the closest authoritative page instead of generic NoSQL advice.
When to Use
Use this skill when the request is about:
- MongoDB concepts, documents, collections, and databases
- Getting started with Atlas, Community Edition, or local development
- CRUD operations, queries, updates, and deletes
- Indexes, query optimization, and explain plans
- Data modeling, schema design, and embedding vs referencing
- Aggregation pipelines and analytics patterns
- MongoDB Search, Atlas Search, and Vector Search
- Transactions, change streams, and time series collections
- Replication, sharding, and deployment architecture
- Security, authentication, authorization, and encryption
- Client libraries and language drivers
- Atlas administration, backups, monitoring, and scaling
- Tools: Compass, Atlas CLI, Charts, and Migrator
Do not use this skill for:
- Raw AWS DocumentDB console operations when the question is provider-specific rather than MongoDB behavior. Use
aws-cli-docsfor AWS CLI commands. - PostgreSQL SQL, schemas, or relational modeling. Use the appropriate
postgresql-*-docsskill instead. - Redis caching or BullMQ job queues. Use
redis-docsorbullmq-docsinstead. - Kafka change data capture unless the question is specifically about MongoDB stream processing documented by MongoDB.
Workflow
1. Classify the request
Decide which bucket the question belongs to before searching:
- Getting started and deployment choice
- Development: CRUD, queries, indexes, and modeling
- Aggregation, search, and vector features
- Transactions, change streams, and streaming data
- Management: security, backup, scaling, and monitoring
- Client libraries and application integration
- Atlas cloud operations and architecture guidance
- Server administration for self-managed deployments
If you need a quick starting point, load references/topic-map.md and jump to the closest section. For broader discovery, the live docs index is at https://www.mongodb.com/docs/llms.txt. Markdown versions of pages are available by appending .md to URL paths.
What ships with it
2 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.
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.
- 4d ago First seen · 107 lines · 96 tokens per session scan A a19fc621b2e0
mongodb-docs is a skill published in the GitHub repository cookieMonsterDev/agents-skills (4 stars, last pushed 15d ago), licensed MIT. It adds 96 tokens to every session and 1,167 once invoked, about $0.0005 per session on Opus 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-08-31.
Other skills, from other repositories
okf-mongodb
MongoDB connector that produces and ingests Open Knowledge Format (OKF) bundles by sampling documents to infer each collection's schema. Emits one concept per collection with a Name | Type | Presence table (top-level fields, with mixed types shown as a union and presence as the percentage of sampled documents). The…
nosql-injection
Detects MongoDB and other NoSQL queries that mix user input into operators or filters without validation. Use when writing MongoDB queries, Elasticsearch queries, or other NoSQL database operations that include user-supplied input. Also invoke when building query filters from request parameters or constructing…
mongodb-atlas-checker
Verify MongoDB Atlas setup and configuration for backend applications. Checks connection strings, environment variables, connection pooling, and ensures proper setup for Next.js and NestJS applications. Use when verifying MongoDB Atlas setup, checking connection strings or environment variables, or troubleshooting…
mongodb-migration-expert
Database schema design, indexing, and migration guidance for MongoDB-based applications. Use when adding or changing MongoDB collections, indexes, or fields, designing schema for multi-tenant or large datasets, or planning forward-only migrations.
firebase
Firebase gives you a complete backend in minutes - auth, database, storage, functions, hosting. But the ease of setup hides real complexity. Security rules are your last line of defense, and they're often wrong. Firestore queries are limited, and you learn this after you've designed your data model. This skill covers…
database-schema-design
Use when designing database schemas, creating migrations, modeling data relationships, optimizing database queries, adding indexes, or selecting between SQL and NoSQL storage.