meteor-mongo-minimongo

meteor-mongo-minimongo is a skill for Claude Code from meteor/agent-skills. It costs 73 tokens per session (1,583 once invoked), scanned A, original, MIT.

A guide to MongoDB queries in Meteor 3 and Minimongo, Meteor's in-memory browser-side copy of subscribed data. It explains the differences between server database access and client-local reads.

In plain words
What is it for?
Writing or debugging collections, queries, inserts, updates, projections, sorting, pagination, indexes, publications, and client-side Minimongo reads.
Why use it?
It helps prevent using the wrong synchronous or asynchronous API and helps keep larger queries efficient with limits and indexes.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the meteor plugin — 19 skills shipped together

Good fit Writing or debugging collections, queries, inserts, updates, projections, sorting, pagination, indexes, publications, and client-side Minimongo reads.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/meteor/agent-skills/meteor-mongo-minimongo
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 meteor/agent-skills --skill meteor-mongo-minimongo
Clone the repo
git clone --depth 1 https://github.com/meteor/agent-skills

Made for: Claude Code.

Or install meteor, the plugin that ships this one along with the rest of its 19 skills.

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 meteor-mongo-minimongo

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/meteor/agent-skills/meteor-mongo-minimongo"><img src="https://agentmods.dev/badge/skills/meteor/agent-skills/meteor-mongo-minimongo.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,583 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00073 $0.01583
Opus 5 $0.00036 $0.00792
Sonnet 5 $0.00015 $0.00317
Haiku 4.5 $0.00007 $0.00158

Measured yesterday against content hash dcdab4b86d08, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

meteor-mongo-minimongo 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 yesterday.

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.

skills/meteor-mongo-minimongo/SKILL.md · 187 lines

How it starts

The opening of the file, as written. The whole thing — 187 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Mongo and Minimongo

Meteor ships two implementations of the Mongo API in one codebase. The server talks to MongoDB through an async driver. The client runs Minimongo, an in-memory synchronous Mongo emulator that holds the documents that subscriptions have shipped.

Decision flow

  1. Where does this code run?
    • Server-only: use await Collection.*Async(...).
    • Client-only: use Collection.*(...) synchronously.
    • Isomorphic (import in shared code): use await Collection.*Async(...). On the client the work is local but still Promise-based; on the server it talks to Mongo.
  2. Does the query select more than a page of documents? Add { limit, skip } and an index that matches the selector.
  3. Are you reading from a publication on the client? Use find().fetch() (sync) without await. The data is already local.

Server reads

const doc  = await Posts.findOneAsync(id);
const list = await Posts.find({ ownerId }, {
  fields: { title: 1 }, sort: { createdAt: -1 }, limit: 50,
}).fetchAsync();
const count = await Posts.find({ ownerId }).countAsync();

Server writes

const _id = await Posts.insertAsync({ title, ownerId });
await Posts.updateAsync({ _id }, { $set: { title } });
await Posts.removeAsync({ _id });

Client reads (Minimongo)

The async API is isomorphic. Prefer it in shared code so the same line works on the server.

const doc = await Posts.findOneAsync(id);                 // works in shared/client/server
const list = await Posts.find({ ownerId }).fetchAsync();

On the client, the operation reads in-memory Minimongo but the async API still returns a real Promise. Code after await resumes in a later microtask. The sync API also works client-side, but only there:

const doc = Posts.findOne(id);                            // client-only
const list = Posts.find({ ownerId }).fetch();             // client-only

Pick sync when the calling scope is naturally sync and forcing await would cascade async into a render path. Common cases:

Read the full file on GitHub · 187 lines

Files

What ships with it

3 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. yesterday Changed · +8 lines dcdab4b86d08
  2. 10d ago First seen · 179 lines · 73 tokens per session scan A 682cbfe0d599

Subscribe to this mod's changes

meteor-mongo-minimongo is a skill published in the GitHub repository meteor/agent-skills (8 stars, last pushed today), licensed MIT. It adds 73 tokens to every session and 1,583 once invoked, about $0.0004 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

dbx

DBX CLI for database schema exploration and read-only queries. When the user needs to list connections, explore tables, describe schemas, run queries, or generate AI-friendly schema context from DBX-managed databases. Do NOT use for write operations unless the user explicitly confirms with --allow-writes.

t8y2/dbx · 61 tokens

azure-mgmt-mongodbatlas-dotnet

Manage MongoDB Atlas Organizations as Azure ARM resources using Azure.ResourceManager.MongoDBAtlas SDK. Use when creating, updating, listing, or deleting MongoDB Atlas organizations through Azure Marketplace integration. This SDK manages the Azure-side organization resource, not Atlas clusters/databases directly.

microsoft/skills · 64 tokens

nosqli

NoSQL injection — MongoDB operator injection ($ne, $gt, $where, $regex), CouchDB / Firebase / Redis attack patterns, auth bypass, blind extraction.

PurpleAILAB/Decepticon · 38 tokens

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"…

nitrocloudofficial/nitrostack · 95 tokens

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.

bytedance/agentkit-samples · 82 tokens

dynamic

Fullstack development with bkend.ai BaaS — authentication, database, API integration. Triggers: fullstack, BaaS, login, signup, database, web app.

ww-w-ai/bkit-claude-code · 38 tokens