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 pledgeandgrow/pledge-skills --skill drizzlegit clone --depth 1 https://github.com/pledgeandgrow/pledge-skillsWrote 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/pledgeandgrow/pledge-skills/drizzle)<a href="https://agentmods.dev/skills/pledgeandgrow/pledge-skills/drizzle"><img src="https://agentmods.dev/badge/skills/pledgeandgrow/pledge-skills/drizzle/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/pledgeandgrow/pledge-skills/drizzle"><img src="https://agentmods.dev/badge/skills/pledgeandgrow/pledge-skills/drizzle.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.00028 | $0.01638 |
| Opus 5 | $0.00014 | $0.00819 |
| Sonnet 5 | $0.00006 | $0.00328 |
| Haiku 4.5 | $0.00003 | $0.00164 |
Grade A, and why
drizzle-orm 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 10d 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.
This is a copy
86% identical to drizzle — 291 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 177 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Drizzle ORM
Overview
Drizzle ORM is a lightweight, performant, TypeScript-first ORM with zero dependencies. It is headless (not a data framework), SQL-like at its core, and serverless-ready by design. Drizzle supports PostgreSQL, MySQL, SQLite, SingleStore, MSSQL, and CockroachDB.
Key principles:
- Headless ORM — a library, not a framework; build your project however you want
- SQL-like — if you know SQL, you know Drizzle; zero to no learning curve
- Relational Queries API — optional
db.queryAPI for nested relational data (outputs exactly 1 SQL query) - Serverless-ready — 0 dependencies, dialect-specific, works with all major database drivers
- Full TypeScript — schema definitions, query results, and insert types are all inferred
Skill Files
| File | Description |
|---|---|
getting-started.md |
Overview, philosophy, installation (PostgreSQL/MySQL/SQLite), schema definition, drizzle.config.ts, push & migrate workflow, CRUD basics |
api.md |
Full API reference: column types per dialect, SQL builder (select/insert/update/delete), joins, filter operators, relational queries (RQB), sql template tag, transactions, Drizzle Kit migrations, defineRelations |
guides.md |
Tutorials (platform integrations), zod/valibot schema generation, performance tips, deployment patterns |
Quick Reference
Define a schema (PostgreSQL)
import { integer, pgTable, varchar, serial, timestamp } from "drizzle-orm/pg-core";
export const users = pgTable("users", {
id: serial().primaryKey(),
name: varchar({ length: 255 }).notNull(),
email: varchar({ length: 255 }).notNull().unique(),
createdAt: timestamp("created_at").defaultNow().notNull(),
});
Initialize the database
import { drizzle } from "drizzle-orm/node-postgres";
import * as schema from "./schema";
const db = drizzle(process.env.DATABASE_URL!, { schema });
CRUD
import { eq } from "drizzle-orm";
// Insert
await db.insert(users).values({ name: "John", email: "[email protected]" });
// Select
const allUsers = await db.select().from(users);
const user = await db.query.users.findFirst({ where: eq(users.email, "[email protected]") });
// Update
await db.update(users).set({ name: "Jane" }).where(eq(users.id, 1));
// Delete
await db.delete(users).where(eq(users.id, 1));
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.
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.
- 10d ago First seen · 177 lines · 28 tokens per session scan A 12f6e8f53e05
drizzle-orm is a skill published in the GitHub repository pledgeandgrow/pledge-skills (10 stars, last pushed 1mo ago), licensed MIT. It adds 28 tokens to every session and 1,638 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 86% identical to drizzle, differing in 291 lines, and is treated as a copy.
Other skills, from other repositories
Drizzle ORM Testing
Testing patterns for Drizzle ORM covering migration testing, query builder testing, transaction testing, and database integration testing with PostgreSQL, SQLite, and MySQL.
database-sql
Design database schemas, write efficient SQL queries, create migrations, and optimize database performance. Use when working with databases, writing queries, or designing data models.
drizzle-orm
Use when modeling data or querying with Drizzle ORM in TypeScript — pgTable schema in .ts, type-safe select/insert/relational queries, drizzle-kit migrations. NOT Prisma Client or schema.prisma (that is prisma-orm), NOT ORM-agnostic migration strategy (that is db-migrations), NOT Postgres engine tuning or EXPLAIN…
Database Patterns
Use this skill when designing schemas, writing queries, or shipping migrations—especially when correctness and safety matter more than clever SQL.
database-query
Generate, optimize, and explain SQL queries - supports SQLite, PostgreSQL, MySQL with schema introspection, migration generation, and query performance analysis.
database-patterns
Database design and migration patterns for Alembic migrations, schema design (SQL/NoSQL), and database versioning. Use when creating migrations, designing schemas, normalizing data, managing database versions, or handling schema drift.