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.
npx skills add prisma/prisma-next --skill prisma-next-extension-upgradegit clone --depth 1 https://github.com/prisma/prisma-nextWrote 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/skills/prisma/prisma-next/prisma-next-extension-upgrade)<a href="https://agentmods.dev/skills/prisma/prisma-next/prisma-next-extension-upgrade"><img src="https://agentmods.dev/badge/skills/prisma/prisma-next/prisma-next-extension-upgrade/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/skills/prisma/prisma-next/prisma-next-extension-upgrade"><img src="https://agentmods.dev/badge/skills/prisma/prisma-next/prisma-next-extension-upgrade.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket warn
- Snyk warn
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.00136 | $0.02082 |
| Opus 5 | $0.00068 | $0.01041 |
| Sonnet 5 | $0.00027 | $0.00416 |
| Haiku 4.5 | $0.00014 | $0.00208 |
Grade A, and why
prisma-next-extension-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 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.
How it starts
The opening of the file, as written. The whole thing — 124 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Upgrade Prisma Next (extension)
This skill upgrades a project that is a Prisma Next extension — a package that consumes the framework SPI (@prisma-next/contract, @prisma-next/framework-components, @prisma-next/migration-tools, etc.) and exposes contract / middleware / codec / migration surfaces that downstream apps install via prisma-next.config.ts.
If the project you are upgrading is a consumer app (it imports @prisma-next/postgres or @prisma-next/mongo from its application code), use the prisma-next-upgrade skill instead — or both, if the repo contains both a consumer app and an extension package, in which case run the user flow first then the extension flow in the same session.
Step 0 — Ensure the skill is up to date
Before doing anything else, ensure this skill is installed at @latest and reload it. Bug fixes to old per-transition upgrade instructions ship in the latest skill release as part of its cumulative set; running against a stale skill can apply a known-broken translation.
Concretely: if the agent runtime supports an in-session refresh, perform it now. Otherwise, exit and ask the user to re-install:
pnpm dlx skills add prisma/prisma-next/skills/extension-author --all
The extension-author skill subpath is intentionally unpinned (always main) — the cumulative instruction set is the source of truth and the latest release fixes apply to every prior transition.
Then re-invoke this skill before proceeding.
Role detection
This skill applies when the project is a Prisma Next extension. Heuristics:
package.jsondeclares@prisma-next/contract(or another SPI package) underdependenciesorpeerDependencies, and- the package's
namematches^@.*/extension-(the in-tree convention used by@prisma-next/extension-pgvector, etc.), or - the package is referenced as an
extensionsentry from a sibling app'sprisma-next.config.tsin the same monorepo.
If the project additionally consumes Prisma Next from its own app code, install the prisma-next-upgrade skill (pnpm dlx skills add prisma/prisma-next/skills/upgrade --all) and run the user flow first, then this flow in the same session.
What ships with it
19 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.
- README.md 3.2 KB
- upgrades/0.10-to-0.11/instructions.md 15 KB
- upgrades/0.11-to-0.12/instructions.md 42 KB
- upgrades/0.11-to-0.12/migrate-contract-testing-imports.ts 2.8 KB runs code
- upgrades/0.11-to-0.12/regenerate-extension-public-baseline.ts 7.1 KB runs code
- upgrades/0.11-to-0.12/strip-migration-labels-hints.ts 12 KB runs code
- upgrades/0.12-to-0.13/instructions.md 15 KB
- upgrades/0.13-to-0.14/instructions.md 26 KB
- upgrades/0.13-to-0.14/migration-op-factories-to-methods.ts 10 KB runs code
- upgrades/0.13-to-0.14/uuid-preset-rename.ts 1.3 KB runs code
- upgrades/0.14-to-0.15/instructions.md 48 KB
- upgrades/0.15-to-0.16/instructions.md 14 KB
- upgrades/0.16-to-0.17/instructions.md 37 KB
- upgrades/0.16-to-0.17/strip-sha256-hash-prefixes.ts 14 KB runs code
- upgrades/0.7-to-0.8/instructions.md 188 B
- upgrades/0.8-to-0.9/instructions.md 5.2 KB
- upgrades/0.8-to-0.9/strip-inline-contracts.ts 7.8 KB runs code
- upgrades/0.9-to-0.10/instructions.md 8.7 KB
- upgrades/0.9-to-0.10/stamp-storage-types-kind.ts 13 KB runs code
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.
- 5d ago First seen · 124 lines · 136 tokens per session scan A 08401f7bdc51
prisma-next-extension-upgrade is a skill published in the GitHub repository prisma/prisma-next (418 stars, last pushed 14d ago), licensed Apache-2.0. It adds 136 tokens to every session and 2,082 once invoked, about $0.0007 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.
Other skills, from other repositories
dotnet-reverse
A guide for analyzing compiled .NET and C# programs, including managed Windows executables and libraries. Reverse engineering means studying compiled software to understand how it works, and decompiling turns it back into readable approximate source code.
dart-run-static-analysis
Execute dart analyze to identify warnings and errors, and use dart fix --apply to automatically resolve mechanical lint issues. Use during development to ensure code quality and before committing changes.
agents-sdk-dotnet-debugging
Use when troubleshooting an agent built with the Microsoft Agents SDK (Microsoft.Agents.Hosting.AspNetCore and related packages) in C# / .NET. Trigger on any of these symptoms: build or C# compile errors, crashes on startup, 401 or auth errors on incoming requests, the bot not responding to messages, appsettings.json…
golang-error-handling
Idiomatic Golang error handling — creation, wrapping with %w, errors.Is/As, errors.Join, custom error types, sentinel errors, panic/recover, the single handling rule, structured logging with slog, HTTP request logging middleware, and samber/oops for production errors. Built to make logs usable at scale with log…
mintlify-api
Interact with the Mintlify REST API to manage deployments, trigger builds, and query documentation site metadata programmatically.
memory-optimization
Optimize Python code for reduced memory usage and improved memory efficiency. Use when asked to reduce memory footprint, fix memory leaks, optimize data structures for memory, handle large datasets efficiently, or diagnose memory issues. Covers object sizing, generator patterns, efficient data structures, and memory…