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 widnyana/eyay-toolkits --skill prisma-schemagit clone --depth 1 https://github.com/widnyana/eyay-toolkitsWrote 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/widnyana/eyay-toolkits/prisma-schema)<a href="https://agentmods.dev/skills/widnyana/eyay-toolkits/prisma-schema"><img src="https://agentmods.dev/badge/skills/widnyana/eyay-toolkits/prisma-schema/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/widnyana/eyay-toolkits/prisma-schema"><img src="https://agentmods.dev/badge/skills/widnyana/eyay-toolkits/prisma-schema.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.00112 | $0.01250 |
| Opus 5.5 | $0.00045 | $0.00500 |
| Sonnet 5.5 | $0.00022 | $0.00250 |
| Haiku 4.5 | $0.00011 | $0.00125 |
Grade A, and why
prisma-schema 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 — 186 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Prisma Schema
Create/modify schema for: $ARGUMENTS
Multi-Schema Setup
Always define schemas in the datasource block. This enables organizing models into logical namespaces and is supported by PostgreSQL, CockroachDB, and SQL Server.
generator client {
provider = "prisma-client"
output = "./generated"
}
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
schemas = ["base", "billing", "inventory"]
}
Every model and enum must declare its schema with @@schema("name"). Pick the schema that matches the model's domain. If only one schema is needed, use a single entry like schemas = ["public"].
Schema Pattern
model EntityName {
id String @id @default(uuid())
createdAt DateTime @default(now()) @map("created_at")
updatedAt DateTime @updatedAt @map("updated_at")
deletedAt DateTime? @map("deleted_at")
// Business fields
status EntityStatus @default(ACTIVE)
name String
amount Decimal @db.Decimal(36, 18)
// Relations
accountId String @map("account_id")
account Account @relation(fields: [accountId], references: [id])
// Indexes
@@index([accountId])
@@index([status])
@@index([createdAt])
// Table and schema mapping
@@map("entity_names")
@@schema("base")
}
enum EntityStatus {
ACTIVE
INACTIVE
DELETED
@@schema("base")
}
Cross-Schema Relations
Models in different schemas can reference each other. Both schemas must be listed in schemas.
// schema: "base"
model User {
id Int @id
orders Order[]
@@schema("base")
}
// schema: "billing"
model Order {
id Int @id
user User @relation(fields: [userId], references: [id])
userId Int
@@schema("billing")
}
Same Table Name, Different Schema
When two schemas have tables with the same name, use unique model names and @@map to disambiguate:
model BaseConfig {
id Int @id
@@map("Config")
@@schema("base")
}
model UserConfig {
id Int @id
@@map("Config")
@@schema("users")
}
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 · 186 lines · 112 tokens per session scan A 20282ee04c4a
prisma-schema is a skill published in the GitHub repository widnyana/eyay-toolkits (9 stars, last pushed 15d ago), licensed MIT. It adds 112 tokens to every session and 1,250 once invoked, about $0.0004 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-31.
prisma-schema compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| prisma-schemawidnyana/eyay-toolkits | Skill | 9 | 15d ago | MIT | A | 112 | Claude Code |
| data-modelingcbrock84/headcount | Skill | 2.6k | yesterday | MIT | A | 77 | Claude Code |
| data-migrationcbrock84/headcount | Skill | 2.6k | yesterday | MIT | A | 102 | Claude Code |
| ecto-patternsoliver-kriska/claude-elixir-phoenix | Skill | 579 | 2d ago | MIT | A | 51 | Claude Code |
| phoenix-contextsoliver-kriska/claude-elixir-phoenix | Skill | 579 | 2d ago | MIT | A | 46 | Claude Code |
| ecto-n1-checkoliver-kriska/claude-elixir-phoenix | Skill | 579 | 2d ago | MIT | A | 49 | Claude Code, Codex |
| ggsqlposit-dev/skills | Skill | 578 | 20d ago | MIT | A | 33 | Claude Code |