drizzle

drizzle is a skill for Claude Code, Codex from G1Joshi/Agent-Skills. It costs 18 tokens per session (277 once invoked), scanned A, original, MIT.

A TypeScript library for reading and changing database data using code that stays close to SQL. TypeScript is JavaScript with extra checks, and an ORM maps database tables to application code.

In plain words
What is it for?
Use it to define tables, write queries, and manage database migrations in TypeScript applications, including serverless services.
Why use it?
It provides typed database queries and table definitions without hiding database-specific features behind a large abstraction.

Skill for Claude CodeCodex

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

Good fit Use it to define tables, write queries, and manage database migrations in TypeScript applications, including serverless services.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/g1joshi/agent-skills/drizzle
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 G1Joshi/Agent-Skills --skill drizzle
Clone the repo
git clone --depth 1 https://github.com/G1Joshi/Agent-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 drizzle

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

agentmods 80×15 button for drizzle

Your own site · 80×15
<a href="https://agentmods.dev/skills/g1joshi/agent-skills/drizzle"><img src="https://agentmods.dev/badge/skills/g1joshi/agent-skills/drizzle.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 277 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.
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.00018 $0.00277
Opus 5 $0.00009 $0.00138
Sonnet 5 $0.00004 $0.00055
Haiku 4.5 $0.00002 $0.00028

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

Security

Grade A, and why

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

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/frameworks/drizzle/SKILL.md · 45 lines

What it actually says

Drizzle ORM

Drizzle is the lightweight challenger to Prisma. v0.30+ (2025) focuses on SQL-like syntax, zero dependencies at runtime, and extreme cold-start performance.

When to Use

  • Serverless: Zero runtime overhead makes it perfect for Lambdas.
  • SQL Lovers: You prefer db.select().from(users) over object APIs.
  • Performance: Faster query building than Prisma.

Core Concepts

Schema Definition

Define tables in TS. export const users = pgTable('users', { ... }).

Query Builder

Composable, type-safe SQL builder.

Relational API

db.query.users.findMany({ with: { posts: true } }) (Prisma-like convenience).

Best Practices (2025)

Do:

  • Use drizzle-kit: For migration management.
  • Use run: Explicit execution model.
  • Use Driver Specifics: Drizzle embraces database-specific features (JSONB, Arrays).

Don't:

  • Don't over-abstract: Drizzle shines when you stay close to SQL.

References

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 · 45 lines · 18 tokens per session scan A 9ad686ed8687

Subscribe to this mod's changes

drizzle is a skill published in the GitHub repository G1Joshi/Agent-Skills (12 stars, last pushed 7mo ago), licensed MIT. It adds 18 tokens to every session and 277 once invoked, about $0.0001 per session on Opus 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

Other skills, from other repositories

prisma-orm-patterns-and-migrations

Best practices for Prisma ORM schema design, high-performance query optimization, preventing N+1 problems, zero-downtime database migrations, connection pooling, and multi-tenant data modeling. Use when building Node.js/TypeScript applications with Prisma.

hamzabellouch/agent-skills · 58 tokens

database-orm-expert

Expert guide for database schema design, ORM tools (Prisma 6, Drizzle ORM, TypeORM), migrations, query optimization, and type-safe SQL patterns in TypeScript / Panduan ahli untuk desain skema database, ORM tools (Prisma 6, Drizzle ORM, TypeORM), migrasi, optimasi query, dan pola SQL type-safe di TypeScript.

roedyrustam/vibes-plug · 82 tokens

prisma

TypeScript and Prisma ORM best practices for schema design, type-safe queries, migrations, and error handling. Use when writing Prisma schemas, building database access layers, or debugging query performance in TypeScript projects.

nateslabach/skills · 44 tokens

sveltekit-and-svelte5-runes

Complete architecture patterns, state management with Svelte 5 Runes ($state, $derived, $effect, $props), SvelteKit SSR/streaming pipelines, form actions, and production anti-patterns.

hamzabellouch/agent-skills · 53 tokens

electron-crossplatform-performance

Production architecture, multi-process IPC security, V8 memory management, native node modules, window lifecycle optimization, and cross-platform desktop execution using Electron. Use when building, hardening, or tuning performance for enterprise Electron apps across Windows, macOS, and Linux.

hamzabellouch/agent-skills · 57 tokens

drizzle-orm

Expert knowledge for Drizzle ORM - the lightweight, type-safe SQL ORM for edge and serverlessUse when "drizzle, drizzle orm, drizzle-kit, drizzle schema, drizzle migration, drizzle relations, sql orm typescript, edge database, d1 database, orm, database, typescript, sql, edge, serverless, d1, postgres, mysql, sqlite"…

omer-metin/skills-for-antigravity · 82 tokens