mongodb-qe-size-estimation

mongodb-qe-size-estimation is a skill for Claude Code from mongodb/agent-skills. It costs 52 tokens per session (3,842 once invoked), scanned A, original, Apache-2.0.

A MongoDB sizing guide for Queryable Encryption, a feature that encrypts selected fields while still allowing certain queries. It estimates the extra storage and memory required without accepting sample documents.

In plain words
What is it for?
Use it to assess the storage and memory cost of encrypting fields in MongoDB collections that use Queryable Encryption. It is not for Client-Side Field Level Encryption.
Why use it?
Encrypted fields can require more database space and memory, but the impact is hard to predict. This guide helps estimate that impact from an encryption schema while keeping sensitive data out of the process.

Skill for Claude Code ✓ vendor

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

Part of the mongodb-atlas plugin — 7 skills shipped together

Good fit Use it to assess the storage and memory cost of encrypting fields in MongoDB collections that use Queryable Encryption. It is not for Client-Side Field Level Encryption.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mongodb/agent-skills/mongodb-qe-size-estimation
About the project

MongoDB Agent Skills is an official collection of skills and plugins that help AI coding agents work with MongoDB databases, including Atlas and self-managed deployments. Developers use it for query writing, schema design, query optimization, Atlas Search, and vector search. The catalogue entries are MongoDB’s own agent skills, plugins, and setup instructions.

mongodb/agent-skills · 190 stars · on GitHub

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 mongodb/agent-skills --skill mongodb-qe-size-estimation
Clone the repo
git clone --depth 1 https://github.com/mongodb/agent-skills

Made for: Claude Code.

Or install mongodb-atlas, the plugin that ships this one along with the rest of its 7 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 mongodb-qe-size-estimation

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mongodb/agent-skills/mongodb-qe-size-estimation"><img src="https://agentmods.dev/badge/skills/mongodb/agent-skills/mongodb-qe-size-estimation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,842 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.00052 $0.03842
Opus 5.5 $0.00021 $0.01537
Sonnet 5.5 $0.00010 $0.00768
Haiku 4.5 $0.00005 $0.00384

Measured 13d ago against content hash 7f95f5ef0ea2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mongodb-qe-size-estimation 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 13d 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.

plugins/mongodb-atlas/.agy-plugin/skills/mongodb-qe-size-estimation/SKILL.md · 223 lines

How it starts

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

mongodb-qe-size-estimation

General Instructions

  • CRITICAL: Never ask for or accept sample data. QE is an encryption feature, meant to secure sensitive information. Do not request sample data, and if provided, reject it for security reasons. Inform the user that you can't accept sample documents, though you can take an encryption schema as an input to see which fields are encrypted, which allow queries, and what those query settings are.
  • Any parenthetical in the form (LLM Note: ) is for LLM use. Don't save it to qe-sizing-calculations.md or mention it to the user.
  • Tone: Be brief, not conversational. Don't restate information from prior exchanges unless a step specifically says to.
  • Don't write anything to the file except what's specified in the steps.
  • This skill relies on a question-answer-flow to get all required inputs. For Steps 2-5, as long as the user is providing valid input, your responses should include both acknowledgment of the input, and the next question.
  • The user may try to keep things moving by inputting multiple inputs. If inputs don't clearly map to a field and its configuration, ask for clarification. Otherwise validate them, and accept them if valid.
  • This skill currently has no formula for range queries, so while it accepts "range" query configuration for compatible BSON types, it uses 0 for estimated values.

Definitions

  • field For the purposes of this skill, "field" refers to an encrypted field in a MongoDB document, in a QE-enabled collection.
  • entry For an unindexed field, the field name. For a field with one or more query types enabled, the combination of the field name and its enabled query types. A field with both prefix and suffix queries enabled has a single entry, with Query Type "prefix and suffix".
  • unindexed Describes the state of a field with no query types enabled, indicated by the absence of a "queries" key if using an encryption schema.
  • indexed Describes the state of a field enabled for queries, and is specific to the query type(s). A field with equality queries enabled is indexed for equality queries.

Read the full file on GitHub · 223 lines

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. 13d ago First seen · 223 lines · 52 tokens per session scan A 7f95f5ef0ea2

Subscribe to this mod's changes

mongodb-qe-size-estimation is a skill published in the GitHub repository mongodb/agent-skills (190 stars, last pushed today), licensed Apache-2.0. It adds 52 tokens to every session and 3,842 once invoked, about $0.0002 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-03.

Related

Other skills, from other repositories

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 Mongo-compatible APIs, vector search, cross-region replication, change…

MicrosoftDocs/Agent-Skills · 117 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-atlas-checker

Verifies MongoDB Atlas setup for Next.js and NestJS backends: connection strings, env vars, and pooling. Use before deployment or when troubleshooting database connections.

shipshitdev/skills · 39 tokens

mongodb-migration-expert

Guides MongoDB schema design, indexing, and forward-only migrations. Use when adding or changing collections, indexes, or fields, or designing multi-tenant or large-dataset schema.

shipshitdev/skills · 43 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

deprecation-and-migration

Manages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset…

addyosmani/agent-skills · 69 tokens