Borrowing it
Nothing to install: this file belongs to proyecto26/projectx. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/proyecto26/projectx/develop/.agents/skills/prisma/SKILL.mdgit clone --depth 1 https://github.com/proyecto26/projectxWrote 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/proyecto26/projectx/prisma)<a href="https://agentmods.dev/skills/proyecto26/projectx/prisma"><img src="https://agentmods.dev/badge/skills/proyecto26/projectx/prisma/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/proyecto26/projectx/prisma"><img src="https://agentmods.dev/badge/skills/proyecto26/projectx/prisma.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.00031 | $0.01269 |
| Opus 5.5 | $0.00012 | $0.00508 |
| Sonnet 5.5 | $0.00006 | $0.00254 |
| Haiku 4.5 | $0.00003 | $0.00127 |
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 2mo 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 — 228 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Prisma Database Operations
Database Package Location
The Prisma schema and client are in packages/db/.
Schema Location
packages/db/
├── prisma/
│ ├── schema.prisma # Database schema
│ ├── migrations/ # Migration history
│ └── seed.ts # Seed script
└── src/
└── lib/
├── prisma.service.ts # NestJS Prisma service
└── [model]/ # Repository services
└── [model]-repository.service.ts
Common Commands
# Generate Prisma client after schema changes
pnpm prisma:generate
# Create and apply migration (development)
pnpm prisma:migrate:dev
# Apply migrations (production)
pnpm prisma:migrate
# Seed the database
pnpm prisma:seed
# Open Prisma Studio
pnpm --filter @projectx/db exec prisma studio
Schema Patterns
Basic Model
model Product {
id String @id @default(cuid())
name String
description String?
price Decimal @db.Decimal(10, 2)
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
// Relations
categoryId String
category Category @relation(fields: [categoryId], references: [id])
orderItems OrderItem[]
@@index([categoryId])
@@map("products")
}
PostGIS Geometry Support
model Location {
id String @id @default(cuid())
name String
// PostGIS geometry stored as Unsupported type
point Unsupported("geometry(Point, 4326)")
@@map("locations")
}
Enums
enum OrderStatus {
PENDING
PROCESSING
SHIPPED
DELIVERED
CANCELLED
}
Repository Pattern
Creating a Repository Service
// packages/db/src/lib/product/product-repository.service.ts
import { Injectable } from '@nestjs/common';
import { PrismaService } from '../prisma.service';
import { Prisma, Product } from '@prisma/client';
@Injectable()
export class ProductRepositoryService {
constructor(private readonly prisma: PrismaService) {}
async findAll(params?: {
skip?: number;
take?: number;
cursor?: Prisma.ProductWhereUniqueInput;
where?: Prisma.ProductWhereInput;
orderBy?: Prisma.ProductOrderByWithRelationInput;
}): Promise<Product[]> {
return this.prisma.product.findMany(params);
}
async findById(id: string): Promise<Product | null> {
return this.prisma.product.findUnique({
where: { id },
include: { category: true },
});
}
async create(data: Prisma.ProductCreateInput): Promise<Product> {
return this.prisma.product.create({ data });
}
async update(id: string, data: Prisma.ProductUpdateInput): Promise<Product> {
return this.prisma.product.update({
where: { id },
data,
});
}
async delete(id: string): Promise<Product> {
return this.prisma.product.delete({ where: { id } });
}
}
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.
- 2mo ago First seen · 228 lines · 31 tokens per session scan A f0b996e8b101
prisma is a skill published in the GitHub repository proyecto26/projectx (83 stars, last pushed yesterday), licensed MIT. It adds 31 tokens to every session and 1,269 once invoked, about $0.0001 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-08-30.
prisma compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| prismaproyecto26/projectx | Skill | 83 | yesterday | MIT | A | 31 | Claude Code |
| obto-databaseobto-inc/platform | Skill | 1 | 12d ago | Apache-2.0 | B | 176 | Claude Code, Codex |
| postgres-and-relational-data-modelingvaquarkhan/Fullstack-development-agent-skills | Skill | 3 | 2mo ago | MIT | A | 30 | Claude Code |
| design-schemaevgenii-studitskikh/Claude-Code-SaaS-Studio | Skill | 2 | 4mo ago | MIT | A | 37 | Claude Code |
| alloydb-basicsgoogle/skills | Skill | 22k | yesterday | Apache-2.0 | A | 72 | Claude Code, Codex |
| postgresql-table-designwshobson/agents | Skill | 42k | yesterday | MIT | A | 37 | Claude Code |
| db-repairgarrytan/gbrain | Skill | 32k | yesterday | MIT | A | 96 | Claude Code |