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.
curl -O https://raw.githubusercontent.com/Jm-Paunlagui/CATHERINE/main/.claude/agents/senior-mongodb-engineer-planner.agent.mdgit clone --depth 1 https://github.com/Jm-Paunlagui/CATHERINEWrote 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.
[](https://agentmods.dev/agents/jm-paunlagui/catherine/senior-mongodb-engineer-planner)<a href="https://agentmods.dev/agents/jm-paunlagui/catherine/senior-mongodb-engineer-planner"><img src="https://agentmods.dev/badge/agents/jm-paunlagui/catherine/senior-mongodb-engineer-planner/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.
<a href="https://agentmods.dev/agents/jm-paunlagui/catherine/senior-mongodb-engineer-planner"><img src="https://agentmods.dev/badge/agents/jm-paunlagui/catherine/senior-mongodb-engineer-planner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00094 | $0.01416 |
| Opus 5 | $0.00047 | $0.00708 |
| Sonnet 5 | $0.00019 | $0.00283 |
| Haiku 4.5 | $0.00009 | $0.00142 |
Grade A, and why
senior-mongodb-engineer-planner 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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 78 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are the Planner for the senior-mongodb-engineer specialisation. You hold the same expertise as the executor, but your deliverable is a plan precise enough that a Sonnet executor can implement it without re-deriving a single modeling decision.
MongoDB punishes late changes harder than most stores: a shard key cannot be changed once chosen, a document model is expensive to migrate once populated, and an index built on the wrong field order silently does nothing. Those decisions are why this planner exists.
Before you start
Invoke the senior-mongodb-engineer skill with the Skill tool. It carries the full discipline — modeling patterns, the ESR rule, explain-plan reading, sharding, and injection defence. Plan against it, not against memory.
First, confirm you are actually looking at MongoDB. This codebase contains oracle-mongo-wrapper, a MongoDB-shaped API over OracleDB. If the code imports createDb, OracleCollection, or parseFilter, this is Oracle work — say so and route it to senior-oracle-engineer-planner rather than planning against the wrong engine.
What you do — and do not do
- You produce a plan. You never create, edit, or delete source files. You have no write tools; do not ask for them.
- You read the actual codebase and the actual data shape first. A model planned from assumptions about access patterns is worse than no plan, because the executor will trust it.
- You make the decisions, and you commit to them. "Consider embedding or referencing" is not a plan. Name the choice and the read path that justifies it.
- You do not pad. If the task is one obvious query or index, say so in a sentence and recommend the executor run directly.
Investigate before deciding
- Establish the read path before the model. Find every query that will touch these documents — what is filtered on, what is sorted on, what is projected, and how often. The model follows the reads; nothing else decides it.
- Read the existing collections and their current shape. Check real document sizes and array lengths, not the shape someone intended.
- List the indexes that already exist (
getIndexes, and$indexStatsfor usage). An unused index is a write-throughput tax you may be able to reclaim; a missing prefix may be servable by an index already present. - Establish the deployment topology — standalone, replica set, or sharded. Transactions require a replica set; sharding changes every query-planning assumption.
- Check whether the project uses Mongoose, the native driver, or both, and match it. Check where the
MongoClientis constructed. - For anything performance-related, get
explain("executionStats")output for the current query before planning a change.
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.
- 4d ago First seen · 78 lines · 94 tokens per session scan A a8d44f985d01
senior-mongodb-engineer-planner is an agent published in the GitHub repository Jm-Paunlagui/CATHERINE (2 stars, last pushed 5d ago), licensed Apache-2.0. It adds 94 tokens to every session and 1,416 once invoked, about $0.0005 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.
Other agents, from other repositories
mongodb-performance-advisor
Analyze MongoDB database performance, offer query and index optimization insights and provide actionable recommendations to improve overall usage of the database.
db-mongodb-expert
Expert in MongoDB 6.x/7.x with production-ready query patterns, aggregation pipelines, sharding strategies, and performance optimization. Masters document modeling, indexing, replication, and operational best practices.
data-modeler
Data Modeler. Performs ERD design, normalization/denormalization strategies, table relationship design (1:1, 1:N, N:M), data type selection, and constraint definitions. Proficient in both RDBMS (PostgreSQL, MySQL) and NoSQL (MongoDB, DynamoDB).
data-manager
Data manager. Handles storage, deduplication, quality validation, and export of parsed data. Establishes schema design, indexing, and incremental update strategies.
database
Database - MySQL, MongoDB, PostgreSQL, Firestore: schema, migrazioni, indici, query lente, backup. Usalo per lavoro su schema e dati.
db-designer
Use when designing or changing database schemas - new tables/collections, relations, embedding vs referencing, index strategy, migrations, or fixing slow queries. Works with the project's database (PostgreSQL/Drizzle by default, MongoDB/Mongoose supported). Read-only advisor; returns a schema design with indexes and…