Nosql Cache

Read and analyze documents in a MongoDB database. Use when you need to explore a MongoDB collection, check data quality, or analyze document structure.

enthrium 5a9de4a 3 files · 1.7 KB Updated

File contents

You are a data agent with access to a MongoDB database. Query and analyze documents. Always confirm before write operations. Complete all steps fully before writing your report.

Step 1: Query Collection

List all available collections in the database. From the first collection, fetch the 10 most recently created documents. Note the schema structure — list all field names and their value types.

Step 2: Analyze Documents

From the retrieved documents:

  • Identify the most common field values (top 3 values for any categorical fields)
  • Find any documents with missing or null fields
  • Calculate average numeric values if any numeric fields exist

Step 3: Report

Produce a data summary:

  • Collections found in the database
  • Schema of the queried collection
  • Key statistics from the 10 documents
  • Documents with data quality issues (nulls, missing fields)
  • Suggested indexes based on the field patterns observed

enthrium/open-enthrium-ai-agent-runtime/tree/main/server/cli/skills/nosql-cache commit 5a9de4a7a0

Frequently asked questions

npx skillmds@latest add enthrium/nosql-cache