prisma-mongodb-upgrade

prisma-mongodb-upgrade is a skill for Claude Code, Codex from nitrocloudofficial/nitrostack. It costs 95 tokens per session (1,271 once invoked), scanned A, original, Apache-2.0.

A migration guide for Prisma ORM projects that use MongoDB. It explains why these projects cannot move directly from Prisma 6 to Prisma 7 and describes the available paths.

In plain words
What is it for?
Use it when deciding how to upgrade a MongoDB-based Prisma project or when diagnosing version guidance that assumes a SQL database.
Why use it?
It prevents teams from following a Prisma 7 upgrade plan that does not support MongoDB. It helps them choose between staying on Prisma 6 and evaluating Prisma Next, where MongoDB support is still early access.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it when deciding how to upgrade a MongoDB-based Prisma project or…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nitrocloudofficial/nitrostack/prisma-mongodb-upgrade
About the project

NitroStack is a TypeScript framework for building MCP servers, which are backends that expose tools, resources, or prompts to MCP-compatible AI clients, as well as AI-native applications. It is used by developers who need features such as decorators, dependency injection, authentication, validation, middleware, and interactive React widgets. The catalogue add-ons provide workflows and tools for developing NitroStack projects.

nitrocloudofficial/nitrostack · 2,497 stars · on GitHub · nitrostack.ai

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 nitrocloudofficial/nitrostack --skill prisma-mongodb-upgrade
Clone the repo
git clone --depth 1 https://github.com/nitrocloudofficial/nitrostack

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 prisma-mongodb-upgrade

README.md
[![agentmods](https://agentmods.dev/badge/skills/nitrocloudofficial/nitrostack/prisma-mongodb-upgrade.svg)](https://agentmods.dev/skills/nitrocloudofficial/nitrostack/prisma-mongodb-upgrade)
Your own site
<a href="https://agentmods.dev/skills/nitrocloudofficial/nitrostack/prisma-mongodb-upgrade"><img src="https://agentmods.dev/badge/skills/nitrocloudofficial/nitrostack/prisma-mongodb-upgrade.svg" alt="Measured on agentmods" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,271 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.00095 $0.01271
Opus 5 $0.00048 $0.00635
Sonnet 5 $0.00019 $0.00254
Haiku 4.5 $0.00010 $0.00127

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

Security

Grade A, and why

prisma-mongodb-upgrade 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

sample-apps/Ekalavya/.agents/skills/prisma-mongodb-upgrade/SKILL.md · 93 lines

How it starts

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

Prisma MongoDB Upgrade Path

MongoDB projects are the one Prisma cohort with no road into Prisma 7: v6 is the terminal classic-ORM major for MongoDB, and v7 never ships a MongoDB connector. The successor path is Prisma Next, where MongoDB support is in Early Access with GA planned after Postgres. This skill frames the real decision — migrate to Prisma Next (the encouraged path), or stay on v6 where a hard blocker applies — and carries the migration mechanics.

Never do either of these:

  • Never advise a MongoDB project to "upgrade to Prisma 7". The connector does not exist there. The prisma-upgrade-v7 guide does not apply to MongoDB projects.
  • Never solve the version question by rewriting the app onto a SQL database. Changing the database engine is a separate, much larger decision that is not yours to make implicitly.

The version landscape

Version MongoDB status
Prisma ORM v6 Fully supported (mongodb provider); latest 6.x is the current stable path; maintenance line
Prisma ORM v7 No MongoDB connector — not an option, ever
Prisma Next MongoDB support in Early Access, actively developed, GA planned after Postgres — the successor path for MongoDB projects

The decision, up front

Migrating to Prisma Next is the encouraged path. MongoDB support in Prisma Next is Early Access: functional and moving quickly, with GA planned after Postgres — and the Prisma team wants MongoDB users to migrate early and share feedback. The migration mechanics are detailed in the references.

Staying on the latest v6 remains a legitimate choice where a hard blocker applies — stated plainly: the Next Mongo façade does not wrap transactions yet (the underlying driver is available directly; this is expected to change soon), and pre-1.0 minors can carry breaking changes with published upgrade recipes.

Decision table

Signal Direction
No blockers below apply Migrate to Next; run the verify-cutover-checklist and share feedback with the Prisma team
Greenfield / prototype / internal tool Migrate to Next
Codebase uses multi-document transactions ($transaction) — check with grep, do not ask Plan raw-driver session equivalents first (see client-api-mapping), or stay on v6 until the façade wrapper lands
Team cannot absorb pre-1.0 breaking upgrades between minors Stay on v6 until GA
Risk-averse but interested Run a staged Next round-trip on a copy (see verify-cutover-checklist), then migrate

Read the full file on GitHub · 93 lines

Files

What ships with it

5 files 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 · 93 lines · 95 tokens per session scan A c43759e8d8d6

Subscribe to this mod's changes

prisma-mongodb-upgrade is a skill published in the GitHub repository nitrocloudofficial/nitrostack (2,497 stars, last pushed today), licensed Apache-2.0. It adds 95 tokens to every session and 1,271 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-08-30.

Related

Other skills, from other repositories

database-mongodb

Apply MongoDB data-modeling, indexing, and query rules from access patterns. Use when designing schemas, choosing embed vs reference, or tuning MongoDB query behavior.

HoangNguyen0403/agent-skills-standard · 37 tokens

software-database-design

Designs database schemas, migrations, and data models for PostgreSQL, MySQL, MongoDB, and Redis. Use when planning tables, relationships, indexes, or ORM-backed schema changes.

vasilyu1983/AI-Agents-public · 43 tokens

mongodb

Use when modeling MongoDB documents (embed versus reference, the 16MB cap, bucket and subset patterns), choosing or fixing indexes (compound order by the ESR rule, partial, TTL, multikey, reading explain), writing aggregation pipelines that stay index-eligible, running multi-document transactions with retry, or…

ericrisco/rsc-harness · 118 tokens

api-database-mongodb

Native MongoDB driver (the mongodb npm package) - MongoClient lifecycle, typed collections, CRUD result shapes, cursors, aggregation pipelines, index design, transactions.

agents-inc/skills · 38 tokens

api-database-mongoose

MongoDB ODM with schemas, validation, middleware, and TypeScript support.

agents-inc/skills · 20 tokens

okf-mongodb

MongoDB connector that produces and ingests Open Knowledge Format (OKF) bundles by sampling documents to infer each collection's schema. Emits one concept per collection with a Name | Type | Presence table (top-level fields, with mixed types shown as a union and presence as the percentage of sampled documents). The…

xSAVIKx/okf-skills · 126 tokens