mongodb-qe-size-estimation

Installation
SKILL.md

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.
Installs
276
GitHub Stars
190
First Seen
Oct 2, 2026