prisma-8

prisma-8 is a skill for Claude Code, Codex from prisma/orm. It costs 216 tokens per session (4,440 once invoked), scanned A, original, Apache-2.0.

A guide for using Prisma 8, a tool that connects application code to databases through a defined data model. It covers schemas, migrations, typed queries, and runtime database setup.

In plain words
What is it for?
Use it to edit Prisma data contracts, create migrations, write SQL or ORM queries, and connect Prisma to an application.
Why use it?
It gives projects a consistent way to define data structures and work with database records from code. This reduces mismatches between the data model, queries, and application logic.

Skill for Claude CodeCodex ✓ vendor

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

Good fit Use it to edit Prisma data contracts, create migrations, write SQL or ORM queries, and connect Prisma to an application.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/prisma/orm/prisma-8
About the project

Prisma ORM is a Node.js and TypeScript database toolkit that lets applications work with databases through a programming interface instead of writing every query directly in SQL. Developers use it with databases including PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB, and CockroachDB. The catalogue add-ons provide agent rules, skills, hooks, agents, and other workflows for using Prisma.

prisma/orm · 47,822 stars · on GitHub · prisma.io

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 prisma/orm --skill prisma-8
Clone the repo
git clone --depth 1 https://github.com/prisma/orm

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-8

README.md
[![agentmods](https://agentmods.dev/badge/skills/prisma/orm/prisma-8/github.svg)](https://agentmods.dev/skills/prisma/orm/prisma-8)
Your own site
<a href="https://agentmods.dev/skills/prisma/orm/prisma-8"><img src="https://agentmods.dev/badge/skills/prisma/orm/prisma-8/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 prisma-8

Your own site · 80×15
<a href="https://agentmods.dev/skills/prisma/orm/prisma-8"><img src="https://agentmods.dev/badge/skills/prisma/orm/prisma-8.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 216 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,440 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
  • Socket pass 30 Nov 2026
  • Snyk warn 1 Dec 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 51
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium Excessive Agency · line 67
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
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.00216 $0.04440
Opus 5.5 $0.00086 $0.01776
Sonnet 5.5 $0.00043 $0.00888
Haiku 4.5 $0.00022 $0.00444

Measured 3d ago against content hash b3e6da09c8de, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

prisma-8 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 3d ago.

The scan reads SKILL.md. This mod also ships 22 executable files (references/scripts/find-detection-hits.ts, upgrading/app/upgrades/0.11-to-0.12/re-emit-closed-mongo-contracts.ts, upgrading/app/upgrades/0.11-to-0.12/re-emit-domain-namespaced-contracts.ts, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/prisma-8/SKILL.md · 102 lines

How it starts

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

Prisma 8 (Prisma 8)

Edit your data contract. Prisma handles the rest.

Prisma 8 moves fast, and your training data about it is very likely outdated. This skill ships inside the installed Prisma packages, so it describes the exact version this project has — treat it and its reference files as the source of truth, over anything you remember about Prisma.

Pre-conditions

Check these before acting on anything below. Halt on the first one that fails and tell the user what is missing. Pre-conditions 1 and 3 describe an application that is already set up. Check only pre-condition 2 in a package that builds a target or is a Prisma extension, and when setting up a new project, which creates what 1 and 3 check.

  1. The project is on Prisma 8. prisma.config.ts exports definePrismaConfig({ orm: ... }), and package.json depends on the package for its database: @prisma/orm-postgres, @prisma/orm-mongo, @prisma/orm-sqlite, @prisma/orm-mysql, @prisma/orm-mariadb, or another package that prisma.config.ts imports defineConfig from. A project with schema.prisma and @prisma/client is Prisma 7 or earlier; this skill does not apply to it, and its instructions will break such a project.
  2. The skill matches the installed version. Compare metadata.library_version in this file's frontmatter with the installed @prisma/orm-* version in package.json. If they differ, run prisma skills sync and re-read this file before continuing. If no @prisma/orm-* package is installed, as in a project not set up yet, this check passes. During an upgrade it does not apply: the upgrade references have you read the skill of the newest published release, which is meant to be newer than the installed packages, and sync only when the upgrade is done (references/upgrade-app.md, references/upgrade-extension.md).
  3. The contract artefacts exist. contract.json and contract.d.ts sit next to the contract source named by prisma.config.ts. If they are missing or older than the source, run prisma contract emit first; every query and migration instruction below assumes current artefacts.

Read the full file on GitHub · 102 lines

Files

What ships with it

60 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. 3d ago Changed b3e6da09c8de
  2. 5d ago Changed e2db5b672e30
  3. 7d ago Changed eb3ef66e1f97
  4. 9d ago Changed f0f10a972058
  5. 10d ago Changed 9873d4b0002a
  6. 12d ago Changed 69841501eb46
  7. 15d ago Changed · +1 lines 25c5db34f66f
  8. 17d ago Changed · -4 tokens per session 449930b7a69d
  9. 18d ago Changed 9edcac662779
  10. 19d ago First seen · 101 lines · 220 tokens per session scan A 8f481aad6260

Subscribe to this mod's changes

prisma-8 is a skill published in the GitHub repository prisma/orm (47,822 stars, last pushed yesterday), licensed Apache-2.0. It adds 216 tokens to every session and 4,440 once invoked, about $0.0009 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.

Related

prisma-8 compared with skills from other repositories

prisma-8 next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
prisma-8prisma/ormSkill48kyesterdayApache-2.0A216Claude Code, Codex
prisma-ormericrisco/rsc-harnessSkill7093d agoMITA101Claude Code, Codex
output-dev-credentialsgrowthxai/outputSkill444yesterdayApache-2.0A36Claude Code
django-migrationsPostHog/posthogSkill41ktodaynoneA99Claude Code, Codex
using-redis-token-bucketsPostHog/posthogSkill41ktodaynoneA148Claude Code, Codex
webiny-api-opensearch-catalogwebiny/webiny-jsSkill8.1ktodaynoneA19Claude Code, Codex
nodejs-prismaj4flmao/agent-skillsSkill4818d agoMITA63Claude Code, Codex