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 dayfinggg/openai-codex-agent-skills --skill mongodbgit clone --depth 1 https://github.com/dayfinggg/openai-codex-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/dayfinggg/openai-codex-agent-skills/mongodb)<a href="https://agentmods.dev/skills/dayfinggg/openai-codex-agent-skills/mongodb"><img src="https://agentmods.dev/badge/skills/dayfinggg/openai-codex-agent-skills/mongodb/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/dayfinggg/openai-codex-agent-skills/mongodb"><img src="https://agentmods.dev/badge/skills/dayfinggg/openai-codex-agent-skills/mongodb.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.00030 | $0.00268 |
| Opus 5.5 | $0.00012 | $0.00107 |
| Sonnet 5.5 | $0.00006 | $0.00054 |
| Haiku 4.5 | $0.00003 | $0.00027 |
Grade A, and why
mongodb 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 today.
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.
What it actually says
Establish the target MongoDB deployment, server and driver versions, authorized database, and requested result. Choose the relevant procedure from verified workload evidence.
Read host integration once before following the imported procedures.
| Task | Read |
|---|---|
| Configure or diagnose client pools, lifecycle, and connection failures | Connections |
| Design documents, validation, embedding, or references | Schema design |
| Turn a data question into a query or aggregation | Query authoring |
| Investigate slow queries, indexes, or aggregation performance | Query optimization |
Load the selected guide and only the reference patterns it calls for. Keep schema design, query meaning, and measured performance distinct even when a task needs several procedures.
Discover the host's actual MongoDB capabilities instead of assuming upstream MCP names are available. An existing authorized driver or CLI can provide equivalent evidence. Preserve the current deployment and do not provision a hosted service solely to follow a sample.
What ships with it
29 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.
- references/connections/guide.md 13 KB
- references/connections/references/monitoring-guide.md 8.4 KB
- references/optimization/guide.md 9.3 KB
- references/optimization/references/aggregation-optimization.md 6.6 KB
- references/optimization/references/antipattern-examples.md 2.5 KB
- references/optimization/references/core-indexing-principles.md 4.2 KB
- references/optimization/references/update-query-examples.md 1.1 KB
- references/queries/guide.md 8.6 KB
- references/schema/guide.md 13 KB
- references/schema/references/antipattern-excessive-lookups.md 3.6 KB
- references/schema/references/antipattern-unnecessary-collections.md 4.2 KB
- references/schema/references/antipattern-unnecessary-indexes.md 3.7 KB
- references/schema/references/fundamental-document-model.md 3.5 KB
- references/schema/references/fundamental-document-size.md 9.6 KB
- references/schema/references/fundamental-embed-vs-reference.md 15 KB
- references/schema/references/fundamental-schema-validation.md 4.3 KB
- references/schema/references/pattern-approximation.md 3.3 KB
- references/schema/references/pattern-archive.md 5.3 KB
- references/schema/references/pattern-attribute.md 2.4 KB
- references/schema/references/pattern-bucket.md 4.2 KB
- references/schema/references/pattern-computed.md 6.2 KB
- references/schema/references/pattern-document-versioning.md 5.0 KB
- references/schema/references/pattern-extended-reference.md 3.4 KB
- references/schema/references/pattern-outlier.md 5.6 KB
- references/schema/references/pattern-polymorphic.md 6.0 KB
- references/schema/references/pattern-schema-versioning.md 8.2 KB
- references/schema/references/pattern-time-series-collections.md 6.5 KB
- references/schema/references/source-query-stats.md 3.3 KB
- references/schema/references/source-slow-query-logs.md 2.3 KB
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.
- today First seen · 21 lines · 30 tokens per session scan A 1c93af2dec39
mongodb is a skill published in the GitHub repository dayfinggg/openai-codex-agent-skills (8 stars, last pushed today), licensed MIT. It adds 30 tokens to every session and 268 once invoked, about $0.0001 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-10-30.
Other skills, from other repositories
mongodb-schema-and-indexing
Production-grade MongoDB schema design patterns, indexing strategies, ESR rule (Equality, Sort, Range), aggregation framework optimization, and sharding/partitioning architectures. Use when designing MongoDB schemas, tuning query performance, or building aggregation pipelines.
kmp-mongodb-database
MongoDB Kotlin Coroutine Driver pattern for Kotlin Multiplatform full-stack apps. Covers: server-side MongoDB access, document mapping, repository boundaries, typed database errors, reactive reads with Flow, change streams, and a scaffold script for repeated database setup. Use this for the backend data layer, not…
byted-volcengine-mongodb
An operations tool for Volcengine MongoDB, a document database that stores data in flexible, JSON-like records. It can query managed MongoDB instances and return details for further explanation or diagnosis.
prisma-mongodb-upgrade
Decision and migration guide for Prisma ORM MongoDB projects on v6, which have no upgrade path to v7. Use when a MongoDB project asks about upgrading Prisma, when "upgrade to prisma 7" comes up in a project with provider = "mongodb", or when evaluating a move to Prisma Next. Triggers on "upgrade prisma mongodb"…
mongodb-connection
Optimize MongoDB client connection configuration (pools, timeouts, patterns) for any supported driver language. Use this skill when working/updating/reviewing on functions that instantiate or configure a MongoDB client (eg, when calling connect()), configuring connection pools, troubleshooting connection errors…
mongodb-schema-design
MongoDB schema design patterns and anti-patterns. Use when designing data models, reviewing schemas, migrating from SQL, or troubleshooting performance issues caused by schema problems. Triggers on "design schema", "embed vs reference", "MongoDB data model", "schema review", "unbounded arrays", "one-to-many", "tree…