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

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.

agentmods
npx agentmods add skills/cookiemonsterdev/agents-skills/mongodb-docs
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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00096 $0.01167
Opus 5 $0.00048 $0.00583
Sonnet 5 $0.00019 $0.00233
Haiku 4.5 $0.00010 $0.00117

Measured 4d ago against content hash a19fc621b2e0, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 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.

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. 4d 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 (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.

Related

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…

xSAVIKx/okf-skills · 126 tokens

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…

thejefflarson/soundcheck · 66 tokens

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…

shipshitdev/skills · 62 tokens

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.

shipshitdev/skills · 51 tokens

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…

omer-metin/skills-for-antigravity · 208 tokens

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.

Pixel-Process-UG/superkit-agents · 32 tokens