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 record-upgrade-instructionsgit 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/record-upgrade-instructions)<a href="https://agentmods.dev/skills/prisma/prisma-next/record-upgrade-instructions"><img src="https://agentmods.dev/badge/skills/prisma/prisma-next/record-upgrade-instructions/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/record-upgrade-instructions"><img src="https://agentmods.dev/badge/skills/prisma/prisma-next/record-upgrade-instructions.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.00122 | $0.04023 |
| Opus 5.5 | $0.00049 | $0.01609 |
| Sonnet 5.5 | $0.00024 | $0.00805 |
| Haiku 4.5 | $0.00012 | $0.00402 |
Grade A, and why
record-upgrade-instructions 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 3mo 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 — 160 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Record upgrade instructions
This skill fires on PRs inside this repo that make a breaking change to Prisma Next. It walks you through adding a per-transition upgrade-instructions entry in the right published skill package(s) — so downstream users and extension authors can run the matching agent flow to migrate their code automatically.
The published skills you will be authoring entries into:
skills/upgrade/prisma-next-upgrade/— distributed viapnpm dlx skills add prisma/prisma-next/skills/upgrade --all. Audience: users of Prisma Next (consumers of the public package API:@prisma-next/postgres,@prisma-next/mongo, the contract files inprisma/, on-disk migration shape).skills/extension-author/prisma-next-extension-upgrade/— distributed viapnpm dlx skills add prisma/prisma-next/skills/extension-author --all. Audience: authors of Prisma Next extensions (consumers of the framework SPI:@prisma-next/contract,@prisma-next/framework-components,@prisma-next/migration-tools, etc.).
The two skill clusters are independent (no shared content). Cross-audience breaking changes — where the same on-disk transformation applies to both substrates — are recorded separately in each cluster, including duplicated colocated scripts.
When to use
Fire this skill on any PR where:
- You refactored framework code, then
- the test suite went red in
examples/and/orpackages/3-extensions/, and - you fixed those red tests by editing the substrate (not by reverting the framework change).
Those edits to examples/ or packages/3-extensions/ are the signal. The matching test suite would have been red for downstream consumers without an upgrade-instructions entry; the entry's effect on the substrate is the same code translation a downstream consumer will run via the published skill.
If both substrates are touched, both packages need entries (see Cross-audience entries).
Even consumer-invisible-looking diffs need an entry. A change to the format of contract.json / contract.d.ts (or any other emitted artefact) is itself an upgrade instruction — consumers will need to either run a codemod or re-emit. Where the substrate diff is genuinely no-op for consumers (incidental regeneration with no behavioural change), the entry can ship with changes: [] to record that explicitly. There is no carve-out for "generated paths"; any substrate diff requires a record.
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.
- 3mo ago First seen · 160 lines · 122 tokens per session scan A 5e6b46fbc311
record-upgrade-instructions is a skill published in the GitHub repository prisma/prisma-next (406 stars, last pushed 9d ago), licensed Apache-2.0. It adds 122 tokens to every session and 4,023 once invoked, about $0.0005 per session on Opus 5.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.
record-upgrade-instructions compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| record-upgrade-instructionsprisma/prisma-next | Skill | 406 | 9d ago | Apache-2.0 | A | 122 | Claude Code, Codex |
| omh-rustrlaope/oh-my-hermes | Skill | 6.3k | today | MIT | A | 19 | Claude Code |
| axiom-concurrencyCharlesWiltgen/Axiom | Skill | 1.3k | 2d ago | MIT | A | 49 | Claude Code |
| splitting-oversized-modulesPostHog/posthog | Skill | 41k | today | none | A | 197 | Claude Code, Codex |
| tddcodewithmukesh/dotnet-claude-kit | Skill | 853 | 1mo ago | MIT | A | 81 | Claude Code |
| precisemicroprediction/precise | Skill | 340 | 1mo ago | MIT | A | 76 | Claude Code, Codex |
| loom-ccosmix/loom | Skill | 66 | 3d ago | MIT | A | 25 | Claude Code, Codex |