Skip to content
Kitbay

mongodb-qe-size-estimation

Apache-2.0Updated on Nov 10, 2026197GitHub stars

MongoDB's skill for sizing a collection before turning on Queryable Encryption.

What the skill teaches

MongoDB's skill for sizing a collection before turning on Queryable Encryption. The agent asks a fixed series of questions: document count, entries, and for each encrypted field whether it is queryable and with which query type. It writes the formulas and results to a qe-sizing-calculations.md file and reports the extra index storage, total disk and memory the encryption would need. It refuses sample documents because the data is meant to be sensitive, taking an encryption schema instead. It covers Queryable Encryption only, not client-side field level encryption, and needs no database connection.

Capabilities

  • Estimate index storage added by Queryable Encryption
  • Estimate total disk storage and memory for encrypted collections
  • Record sizing formulas and results in a markdown file
  • Read an encryption schema to find encrypted and queryable fields