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 ericrisco/rsc-harness --skill mongodbgit clone --depth 1 https://github.com/ericrisco/rsc-harnessWrote 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/ericrisco/rsc-harness/mongodb)<a href="https://agentmods.dev/skills/ericrisco/rsc-harness/mongodb"><img src="https://agentmods.dev/badge/skills/ericrisco/rsc-harness/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/ericrisco/rsc-harness/mongodb"><img src="https://agentmods.dev/badge/skills/ericrisco/rsc-harness/mongodb.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.00118 | $0.04929 |
| Opus 5.5 | $0.00047 | $0.01972 |
| Sonnet 5.5 | $0.00024 | $0.00986 |
| Haiku 4.5 | $0.00012 | $0.00493 |
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 8d 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 — 344 lines — stays where its author put it; the contents beside it link to each section on GitHub.
MongoDB — modeling, indexing, aggregation, transactions, ops
Engine-level MongoDB 8.2 guidance: model documents for the queries you actually run, pick the
index the planner will use, write aggregation pipelines that stay index-eligible, run
multi-document transactions with correct retry, and operate/secure a deployment. Driver-agnostic —
every example is mongosh shell syntax that maps 1:1 to the official drivers (Node, Python, Go,
Java, Rust). This skill owns the server's query and the index it picks, not any ODM's API.
When to use / When NOT to use
When to use:
- Document modeling: embed vs reference, the 16 MB cap, one-to-many/many-to-many, the subset/extended-reference/bucket/computed/outlier patterns, taming unbounded array growth.
- Index decisions: single-field, compound (the ESR ordering rule), multikey, partial, TTL, text,
wildcard,
2dsphere; and when an index is NOT worth it. - Any query that is slow or scans too much; reading
explain("executionStats"). - Aggregation pipelines: stage order so
$match/$sorthit an index,$lookupcost,$unwindexplosion,$group/$sortmemory limits andallowDiskUse,$merge/$out, faceting. - Multi-document transactions: sessions,
withTransactionretry semantics, read/write concern. - Operating/securing: replica set, read preference, write concern, Atlas tier choice, Atlas Search & Vector Search, Queryable Encryption, role-based access, connection-pool knobs.
When NOT to use:
- Relational schema / SQL /
EXPLAIN ANALYZE→postgresdb. Different engine, planner, and concurrency model. - ODM/driver API ergonomics (Mongoose pre-save hooks, the Node driver's
bulkWritereturn shape,updateMany's result object) → that tool's own docs. This skill owns the server query and the index the server picks, not the JS object the driver hands back. - App-layer caching as a product (Redis-in-front-of-reads).
- Cloud-console click-paths — we give the shell command / connection string, not the Atlas UI tour.
- Picking a vector store across engines (Pinecone vs Weaviate). Atlas Vector Search inside Mongo is in scope; cross-engine selection is not.
What ships with it
6 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.
- 8d ago Changed · +1 lines a354005bf422
- 24d ago Changed 0e8b678288a8
- 3mo ago First seen · 343 lines · 118 tokens per session scan A bf13001664bd
mongodb is a skill published in the GitHub repository ericrisco/rsc-harness (707 stars, last pushed 2d ago), licensed MIT. It adds 118 tokens to every session and 4,929 once invoked, about $0.0005 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 compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mongodbericrisco/rsc-harness | Skill | 707 | 2d ago | MIT | A | 118 | Claude Code, Codex |
| mongodbbobmatnyc/claude-mpm-skills | Skill | 79 | 4mo ago | MIT | A | 24 | Claude Code |
| huawei-cloud-dds-dcs-instance-managementhuaweicloud/huaweicloud-devkit | Skill | 71 | today | Apache-2.0 | A | 258 | Claude Code |
| mongodb-expertpersonamanagmentlayer/pcl | Skill | 47 | 1mo ago | Apache-2.0 | A | 56 | Claude Code |
| nosql-database-designsoulcodex/agentic | Skill | 10 | 14d ago | MIT | A | 71 | Claude Code, Codex |
| traverse-multi-hopayeshakhalid192007-dev/graph-engineering-crash-course | Skill | 5 | 3mo ago | MIT | A | 51 | Claude Code |
| transact-graph-writeayeshakhalid192007-dev/graph-engineering-crash-course | Skill | 5 | 3mo ago | MIT | A | 51 | Claude Code |