mongodb-docs

mongodb-docs is a skill for Claude Code, Codex from cookieMonsterDev/agents-skills. It costs 96 tokens per session (1,167 once invoked), scanned A, original, MIT.

A reference guide for MongoDB, a database that stores data as flexible documents grouped into collections. It covers local and hosted MongoDB, including Atlas.

In plain words
What is it for?
Use it to model, query, index, aggregate, secure, deploy, back up, monitor, scale, and troubleshoot MongoDB databases and applications.
Why use it?
It helps avoid answering MongoDB questions with assumptions from SQL databases or confusing MongoDB with Amazon DocumentDB. It points to the official documentation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to model, query, index, aggregate, secure, deploy, back up, monitor, scale, and troubleshoot MongoDB databases and applications.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cookiemonsterdev/agents-skills/mongodb-docs
Install

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.

Any agent
npx skills add cookieMonsterDev/agents-skills --skill mongodb-docs
Clone the repo
git clone --depth 1 https://github.com/cookieMonsterDev/agents-skills

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for mongodb-docs

README.md
[![agentmods](https://agentmods.dev/badge/skills/cookiemonsterdev/agents-skills/mongodb-docs/github.svg)](https://agentmods.dev/skills/cookiemonsterdev/agents-skills/mongodb-docs)
Your own site
<a href="https://agentmods.dev/skills/cookiemonsterdev/agents-skills/mongodb-docs"><img src="https://agentmods.dev/badge/skills/cookiemonsterdev/agents-skills/mongodb-docs/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.

agentmods 80×15 button for mongodb-docs

Your own site · 80×15
<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="Reviewed on agentmods" width="80" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,167 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00096 $0.01167
Opus 5.5 $0.00038 $0.00467
Sonnet 5.5 $0.00019 $0.00233
Haiku 4.5 $0.00010 $0.00117

Measured 1mo ago against content hash a19fc621b2e0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 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.

docs-skills/mongodb-docs/SKILL.md · 107 lines

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-docs for AWS CLI commands.
  • PostgreSQL SQL, schemas, or relational modeling. Use the appropriate postgresql-*-docs skill instead.
  • Redis caching or BullMQ job queues. Use redis-docs or bullmq-docs instead.
  • 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.

Read the full file on GitHub · 107 lines

Files

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.

Changes

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.

  1. 1mo ago First seen · 107 lines · 96 tokens per session scan A a19fc621b2e0

Subscribe to this mod's changes

mongodb-docs is a skill published in the GitHub repository cookieMonsterDev/agents-skills (6 stars, last pushed today), licensed MIT. It adds 96 tokens to every session and 1,167 once invoked, about $0.0004 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-08-31.

Related

Other skills, from other repositories

commerce-app-storage

Integrate App Builder Database Storage (@adobe/aio-lib-db) into an Adobe Commerce app and scaffold a runtime action that reads and writes documents. Use when the user wants persistent, queryable storage backing a Commerce app — either from a web action (HTTP-invokable) or from an event/webhook handler. Requires a base…

adobe/skills · 78 tokens

mongodb-qe-size-estimation

Estimates the storage and memory impact of encrypting fields in collections with Queryable Encryption (QE) enabled. Do NOT use for collections that use Client-Side Field Level Encryption (CSFLE) instead of QE.

mongodb/agent-skills · 52 tokens

azure-documentdb

Expert knowledge for Azure DocumentDB development including troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, integrations & coding patterns, and deployment. Use when using DocumentDB vector search, MongoDB-compatible APIs, change streams…

MicrosoftDocs/Agent-Skills · 118 tokens

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…

xSAVIKx/okf-skills · 126 tokens

mongodb

Expert MongoDB document database assistance covering aggregation pipelines, compound indexes, replica sets, and sharding. Use when designing flexible JSON schemas, querying geospatial data, or scaling document stores.

G1Joshi/Agent-Skills · 39 tokens

mongodb-natural-language-querying

Generate read-only MongoDB queries (find) or aggregation pipelines using natural language, with collection schema context and sample documents. Use this skill whenever the user asks to write, create, or generate MongoDB queries, wants to filter/query/aggregate data in MongoDB, asks "how do I query...", needs help with…

mongodb/agent-skills · 162 tokens