# 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.

- Skill: `enthrium/nosql-cache` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx skillmds@latest add enthrium/nosql-cache`
- Raw SKILL.md: https://api.skillmd.com/api/skills/enthrium/nosql-cache/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- License: Apache-2.0
- Author: enthrium (https://skillmd.com/u/enthrium)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/enthrium/nosql-cache

---


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

