705-technologies-nosql-mongodb

705-technologies-nosql-mongodb is a skill for Claude Code, Codex from jabrena/plinth. It costs 116 tokens per session (943 once invoked), scanned A, original, Apache-2.0.

A guide to designing and querying MongoDB and other non-relational databases without tying the advice to a particular application framework.

In plain words
What is it for?
Use it to plan document schemas, validation rules, indexes, aggregation pipelines, pagination, transactions, migrations, and operational checks.
Why use it?
It helps avoid data models, indexes, aggregations, and consistency choices that become difficult to maintain or slow at scale.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to plan document schemas, validation rules, indexes, aggregation pipelines, pagination, transactions, migrations, and operational checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jabrena/plinth/705-technologies-nosql-mongodb
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add jabrena/plinth --skill 705-technologies-nosql-mongodb
Clone the repo
git clone --depth 1 https://github.com/jabrena/plinth

Made for: Claude Code, Codex.

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 705-technologies-nosql-mongodb

README.md
[![agentmods](https://agentmods.dev/badge/skills/jabrena/plinth/705-technologies-nosql-mongodb/github.svg)](https://agentmods.dev/skills/jabrena/plinth/705-technologies-nosql-mongodb)
Your own site
<a href="https://agentmods.dev/skills/jabrena/plinth/705-technologies-nosql-mongodb"><img src="https://agentmods.dev/badge/skills/jabrena/plinth/705-technologies-nosql-mongodb/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 705-technologies-nosql-mongodb

Your own site · 80×15
<a href="https://agentmods.dev/skills/jabrena/plinth/705-technologies-nosql-mongodb"><img src="https://agentmods.dev/badge/skills/jabrena/plinth/705-technologies-nosql-mongodb.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 116 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 943 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00116 $0.00943
Opus 5 $0.00058 $0.00472
Sonnet 5 $0.00023 $0.00189
Haiku 4.5 $0.00012 $0.00094

Measured 7d ago against content hash 9327ff05c672, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

705-technologies-nosql-mongodb 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 7d 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.

skills/705-technologies-nosql-mongodb/SKILL.md · 66 lines

How it starts

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

Non-relational database query best practices

Help teams design maintainable, secure, and performant MongoDB and non-relational database queries for Java applications.

What is covered in this Skill?

  • Document modeling for aggregates, embedded documents, references, arrays, and bounded growth
  • MongoDB JSON Schema validation and compatibility-aware schema evolution
  • Query design: explicit predicates, projections, sort stability, pagination, collation, and read concerns
  • Index strategy: compound indexes, covering queries, partial indexes, TTL indexes, unique constraints, and lifecycle review
  • Aggregation pipelines: stage ordering, $match pushdown, $project, $lookup, $unwind, $group, and memory controls
  • Consistency, transactions, idempotency, migration safety, testing, observability, and production diagnostics

Scope: Framework-agnostic MongoDB and non-relational data modeling. For Java framework integrations, defer to the matching Spring Boot, Quarkus, or Micronaut MongoDB skill.

Constraints

Keep recommendations at the database-modeling and query layer unless the user explicitly asks for Java framework integration. After editing this repository's XML sources, regenerate skills and verify the build.

  • MANDATORY: Run ./mvnw compile or mvn compile before proposing Java or Maven changes in the same change set
  • INJECTION: Never concatenate untrusted input into query documents, aggregation stages, JSON strings, JavaScript expressions, or $where; use driver/framework query builders and validated parameters
  • SCHEMA: Prefer explicit document contracts, bounded arrays, stable identifiers, and validation rules over unconstrained document growth
  • PERFORMANCE: Review explain() plans, scanned/returned ratios, sort coverage, and index selectivity before claiming a query is optimized
  • FRAMEWORK: Defer Spring MongoDB to @315-frameworks-spring-mongodb, Quarkus MongoDB to @415-frameworks-quarkus-mongodb, Micronaut MongoDB to @515-frameworks-micronaut-mongodb, and Mongock migrations to the matching framework migration skill
  • VERIFY: Run ./mvnw clean verify or mvn clean verify before promoting changes
  • EDGE CASE: If the target database, version, shard topology, read/write concern, data volume, or latency requirement is missing and affects the recommendation, ask a clarifying question before editing queries or schemas
  • EDGE CASE: If requested changes conflict with data safety, backwards compatibility, zero-downtime deployment, or retention requirements, explain the trade-off and ask for confirmation

Read the full file on GitHub · 66 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 7d ago First seen · 66 lines · 116 tokens per session scan A 9327ff05c672

Subscribe to this mod's changes

705-technologies-nosql-mongodb is a skill published in the GitHub repository jabrena/plinth (438 stars, last pushed today), licensed Apache-2.0. It adds 116 tokens to every session and 943 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-03.

Related

Other skills, from other repositories

kit-nosql

NoSQL guardrails pack — MongoDB $set/replace and schema drift, Redis SCAN/TTL/atomicity, eventual consistency. Use when writing MongoDB, Redis, DynamoDB, or other non-relational store code.

altafino/FableClaudeMDForOpus · 51 tokens

jpa-patterns

JPA/Hibernate patterns and common pitfalls (N+1, lazy loading, transactions, queries). Use when user has JPA performance issues, LazyInitializationException, or asks about entity relationships and fetching strategies.

decebals/claude-code-java · 47 tokens

ecto-patterns

Ecto patterns — schemas, changesets, queries, migrations, Multi, associations, preloads, upserts. Use when editing Repo calls, Ecto.Query, or schema fields. Skip for Ash.

oliver-kriska/claude-elixir-phoenix · 45 tokens

phoenix-contexts

Phoenix context design — creating/splitting contexts, Scope (1.8+), Ecto.Multi, PubSub, routers, plugs, controllers. Use when editing contexts, routers, or designing boundaries.

oliver-kriska/claude-elixir-phoenix · 46 tokens

ecto-n1-check

Detect N+1 query anti-patterns specifically — Repo calls inside Enum/for loops, missing preloads on associations. Use when N+1 is explicitly suspected, NOT for unrelated Ecto questions or wider database performance.

oliver-kriska/claude-elixir-phoenix · 49 tokens

ecto-constraint-debug

Debug Ecto constraint violations - trace triggers, check migrations, find duplicate data. Use when seeing uniqueconstraint, foreignkeyconstraint, or checkconstraint errors.

oliver-kriska/claude-elixir-phoenix · 36 tokens