prisma

prisma is a skill for Claude Code, Codex from ashish7802/awesome-api-skills. It costs 0 tokens per session (666 once invoked), scanned A, original, MIT.

A tool for Node.js and TypeScript that defines data models and generates code for working with databases with type checking.

In plain words
What is it for?
Use it to define database models, generate a typed client, and run controlled database migrations.
Why use it?
It reduces handwritten database access code and helps catch mismatches between application code and stored data.

Skill for Claude CodeCodex

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

Good fit Use it to define database models, generate a typed client, and run controlled database migrations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ashish7802/awesome-api-skills/prisma
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 ashish7802/awesome-api-skills --skill prisma
Clone the repo
git clone --depth 1 https://github.com/ashish7802/awesome-api-skills

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/ashish7802/awesome-api-skills/prisma.svg)](https://agentmods.dev/skills/ashish7802/awesome-api-skills/prisma)
Your own site
<a href="https://agentmods.dev/skills/ashish7802/awesome-api-skills/prisma"><img src="https://agentmods.dev/badge/skills/ashish7802/awesome-api-skills/prisma.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 666 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 warn 7 Sept 2026
SkillSpector: 3 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 34
    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 MCP Rug Pull · line 39
    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 MCP Rug Pull · line 49
    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]
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.00000 $0.00666
Opus 5 $0.00000 $0.00333
Sonnet 5 $0.00000 $0.00133
Haiku 4.5 $0.00000 $0.00067

Measured 5d ago against content hash 763485fabf60, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

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

The scan reads SKILL.md. This mod also ships 1 executable file (examples/query.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/SKILL.md · 75 lines

How it starts

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

Prisma Skill

Next-generation Node.js and TypeScript ORM.

Ecosystem Graph Preview

graph LR
  prisma["prisma"]:::core
  classDef core fill:#f9f,stroke:#333,stroke-width:4px;
  drizzle -- "alternative to" --> prisma
  mysql -- "integrates with" --> prisma
  postgresql -- "integrates with" --> prisma
  prisma -- "integrates with" --> postgresql
  prisma -- "integrates with" --> mysql
  prisma -- "alternative to" --> drizzle
  prisma -- "works well with" --> nextjs
  • drizzle (Score: 0.92) Why: Direct relationship, Both are Databases, Shared ecosystem (typescript), Can deploy to vercel, Similar network profile
  • mysql (Score: 0.73) Why: Direct relationship, Both are Databases, Similar network profile
  • postgresql (Score: 0.73) Why: Direct relationship, Both are Databases, Similar network profile

Quick Start

Prisma provides an intuitive data model definition format and auto-generates a fully type-safe database client.

npm install prisma --save-dev
npx prisma init

Production Patterns

Migration Workflows

Never run npx prisma db push in production. Always use npx prisma migrate deploy to ensure a strict, version-controlled history of schema changes executes atomically.

Architecture & Scaling

The Rust Query Engine

Prisma uses a Rust query engine running as a sidecar process. This provides advanced features but increases memory footprint and serverless cold starts. Ensure you use @prisma/client/edge if deploying to Edge runtimes.

Error Recovery

Handle PrismaClientKnownRequestError specifically to catch and gracefully resolve common constraints (e.g., catching code P2002 for unique constraint violations during user registration).

Security Notes

Do not expose Prisma Studio (npx prisma studio) to the public internet. It provides full root access to your database.

References

Read the full file on GitHub · 75 lines

Files

What ships with it

3 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. 5d ago First seen · 75 lines · 0 tokens per session scan A 763485fabf60

Subscribe to this mod's changes

prisma is a skill published in the GitHub repository ashish7802/awesome-api-skills (13 stars, last pushed 8d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 666 tokens. 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

migrate-to-shoehorn

Migrate test files from as type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace as in tests, or needs partial test data.

stevesolun/ctx · 48 tokens

angular-developer

Generates Angular code and provides architectural guidance. Trigger when creating projects, components, or services, or for best practices on reactivity (signals, linkedSignal, resource), forms, dependency injection, routing, SSR, accessibility (ARIA), animations, styling (component styles, Tailwind CSS), testing, or…

DekaPrayoga/AurixAgent · 68 tokens

CreateCLI

Generates production-ready TypeScript CLIs via a 3-tier template system (manual arg parsing, Commander.js, oclif), each shipping full implementation, docs, package.json, strict config, JSON output, and exit-code compliance. USE WHEN create CLI, build CLI, command-line tool, wrap API, add command, upgrade tier…

DorShaer/Husk · 88 tokens

typescript-advanced-types

Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications. Use when implementing complex type logic, creating reusable type utilities, or ensuring compile-time type safety in TypeScript projects.

FluxonLab/Skillry · 57 tokens

typescript-mcp-server-generator

Generate a complete MCP server project in TypeScript with tools, resources, and proper configuration.

FluxonLab/Skillry · 23 tokens

azure-cosmos-ts

Azure Cosmos DB JavaScript/TypeScript SDK (@azure/cosmos) for data plane operations. Use for CRUD operations on documents, queries, bulk operations, and container management.

Ghosteken/agent-harness · 40 tokens