CATHERINE: Skill for Claude Code

.claude/skills/senior-mongodb-engineer/SKILL.md

senior-mongodb-engineer is a skill for Claude Code from Jm-Paunlagui/CATHERINE. It costs 125 tokens per session (3,204 once invoked), scanned A, original, Apache-2.0.

A set of guidelines for designing and operating MongoDB databases, a document database that stores data in flexible records rather than rows and tables.

In plain words
What is it for?
Use it to choose embedded or referenced documents, design indexes, inspect query plans, build aggregation pipelines, configure transactions and replication, and prevent NoSQL injection.
Why use it?
It helps avoid document models that fit neither the read patterns nor the data, unused indexes, slow aggregation queries, and incorrect assumptions about which database is actually in use.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

This is Jm-Paunlagui/CATHERINE's own configuration. It tells Claude Code how to work on CATHERINE itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything CATHERINE configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Jm-Paunlagui/CATHERINE. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Jm-Paunlagui/CATHERINE/main/.claude/skills/senior-mongodb-engineer/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Jm-Paunlagui/CATHERINE

Made for: Claude Code.

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 senior-mongodb-engineer

README.md
[![agentmods](https://agentmods.dev/badge/skills/jm-paunlagui/catherine/senior-mongodb-engineer/github.svg)](https://agentmods.dev/skills/jm-paunlagui/catherine/senior-mongodb-engineer)
Your own site
<a href="https://agentmods.dev/skills/jm-paunlagui/catherine/senior-mongodb-engineer"><img src="https://agentmods.dev/badge/skills/jm-paunlagui/catherine/senior-mongodb-engineer/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 senior-mongodb-engineer

Your own site · 80×15
<a href="https://agentmods.dev/skills/jm-paunlagui/catherine/senior-mongodb-engineer"><img src="https://agentmods.dev/badge/skills/jm-paunlagui/catherine/senior-mongodb-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 125 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,204 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.00125 $0.03204
Opus 5 $0.00063 $0.01602
Sonnet 5 $0.00025 $0.00641
Haiku 4.5 $0.00013 $0.00320

Measured 5d ago against content hash 9472066c25af, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

senior-mongodb-engineer 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 5d 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.

.claude/skills/senior-mongodb-engineer/SKILL.md · 152 lines

How it starts

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

Senior MongoDB Engineer

You are a Senior MongoDB Engineer. Correct document models, indexes that actually get used, and queries proven by explain() rather than by intuition.

Boundary: this is not the oracle-mongo-wrapper

This codebase contains oracle-mongo-wrapper, which exposes a MongoDB-shaped API over OracleDB. It looks like MongoDB — $group, $lookup, parseFilter — and it is not. It generates SQL, uses Oracle bind variables, and is owned by senior-oracle-engineer.

Before writing anything, establish which you are actually working with:

  • A real mongodb driver or mongoose import, a connection string starting mongodb:// or mongodb+srv://MongoDB, your work
  • oracle-mongo-wrapper, createDb, OracleCollection, parseFilter/parseUpdateOracle, hand to senior-oracle-engineer

Applying MongoDB advice to the wrapper produces code that looks right and does not run. If both are in play, say so explicitly and scope your work to the MongoDB side.

Document modeling — embed vs reference

The first and most consequential decision. Model for how the data is read, not for how it decomposes on a whiteboard.

Embed when: the data is read together, the child has no independent lifecycle, the relationship is one-to-few, and the embedded array is bounded. Embedding buys a single read with no join.

Reference when: the child is read independently, updated on a different cadence, shared across parents, or the array is unbounded. Reference buys smaller documents and independent writes.

Hard constraints that decide it for you:

  • 16MB document limit. Any array that grows without bound will hit it. "Unbounded array" is the single most common MongoDB modeling defect.
  • Documents are rewritten on update when they grow past their allocation — large documents with hot small fields are expensive.
  • $lookup is not a cheap join. It is a per-document lookup; it does not replace a good embedding decision.

Schema design patterns

Read the full file on GitHub · 152 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. 5d ago First seen · 152 lines · 125 tokens per session scan A 9472066c25af

Subscribe to this mod's changes

senior-mongodb-engineer is a skill published in the GitHub repository Jm-Paunlagui/CATHERINE (2 stars, last pushed 6d ago), licensed Apache-2.0. It adds 125 tokens to every session and 3,204 once invoked, about $0.0006 per session on Opus 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-09-05.

Related

Other skills, from other repositories

dbx

DBX CLI for database schema exploration and read-only queries. When the user needs to list connections, explore tables, describe schemas, run queries, or generate AI-friendly schema context from DBX-managed databases. Do NOT use for write operations unless the user explicitly confirms with --allow-writes.

t8y2/dbx · 61 tokens

azure-mgmt-mongodbatlas-dotnet

Manage MongoDB Atlas Organizations as Azure ARM resources using Azure.ResourceManager.MongoDBAtlas SDK. Use when creating, updating, listing, or deleting MongoDB Atlas organizations through Azure Marketplace integration. This SDK manages the Azure-side organization resource, not Atlas clusters/databases directly.

microsoft/skills · 64 tokens

nosqli

NoSQL injection — MongoDB operator injection ($ne, $gt, $where, $regex), CouchDB / Firebase / Redis attack patterns, auth bypass, blind extraction.

PurpleAILAB/Decepticon · 38 tokens

prisma-mongodb-upgrade

Decision and migration guide for Prisma ORM MongoDB projects on v6, which have no upgrade path to v7. Use when a MongoDB project asks about upgrading Prisma, when "upgrade to prisma 7" comes up in a project with provider = "mongodb", or when evaluating a move to Prisma Next. Triggers on "upgrade prisma mongodb"…

nitrocloudofficial/nitrostack · 95 tokens

byted-volcengine-mongodb

An operations tool for Volcengine MongoDB, a document database that stores data in flexible, JSON-like records. It can query managed MongoDB instances and return details for further explanation or diagnosis.

bytedance/agentkit-samples · 82 tokens

dynamic

Fullstack development with bkend.ai BaaS — authentication, database, API integration. Triggers: fullstack, BaaS, login, signup, database, web app.

ww-w-ai/bkit-claude-code · 38 tokens