drizzle-knowledge-patch

drizzle-knowledge-patch is a skill for Claude Code from Nevaberry/nevaberry-plugins. It costs 10 tokens per session (2,160 once invoked), scanned A, original, MIT.

Guidance for working with specific Drizzle ORM and Drizzle Kit behaviors. Drizzle is a TypeScript library for defining database tables and queries, while Drizzle Kit is its schema and migration command-line tool.

In plain words
What is it for?
Use it when changing SQL identifiers or aliases, Drizzle Kit loading, or Zod schemas generated from Drizzle tables.
Why use it?
It prevents mistakes caused by treating the ORM, command-line tool, runtime, and generated validation schemas as if they behaved the same way.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the knowledge-patch plugin — 197 skills, 1 hook shipped together

Good fit Use it when changing SQL identifiers or aliases, Drizzle Kit loading, or Zod schemas generated from Drizzle tables.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nevaberry/nevaberry-plugins/drizzle-knowledge-patch
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 Nevaberry/nevaberry-plugins --skill drizzle-knowledge-patch
Clone the repo
git clone --depth 1 https://github.com/Nevaberry/nevaberry-plugins

Made for: Claude Code.

Or install knowledge-patch, the plugin that ships this one along with the rest of its 197 skills, 1 hook.

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-knowledge-patch

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/nevaberry/nevaberry-plugins/drizzle-knowledge-patch"><img src="https://agentmods.dev/badge/skills/nevaberry/nevaberry-plugins/drizzle-knowledge-patch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 10 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,160 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 pass 7 Sept 2026
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.00010 $0.02160
Opus 5.5 $0.00004 $0.00864
Sonnet 5.5 $0.00002 $0.00432
Haiku 4.5 $0.00001 $0.00216

Measured today against content hash 8c70324fbe2f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

drizzle-knowledge-patch 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 today.

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.

plugins/knowledge-patch/patches-claude/drizzle-knowledge-patch/SKILL.md · 199 lines

How it starts

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

Drizzle ORM Knowledge Patch

Load this skill when updating Drizzle APIs, configuring query behavior and database drivers, automating Drizzle Kit, or generating Zod schemas. Use the references for the version-specific behavior of each API and integration.

Reference Topics
Queries and Runtime Identifier escaping, entity casing, relational queries, codecs, typed SQL, prepared queries, Effect, and database drivers
Migrations and Drizzle Kit Runtime loading, output modes, SDK, hints, MCP, skills, migration branches, introspection, and schema discovery
Schema Validation Built-in Zod integration, views and enums, refinements, replacements, coercion, generated constraints, and JSON validation

Security fix and API migrations

Identifier and alias escaping

Upgrade to Drizzle ORM 0.45.2 for the fix to a potential SQL injection vulnerability in names passed to sql.identifier() and SQL expression aliases set with .as().

Entity-level casing

In 1.0.0-rc.1, replace instance-level casing with snakeCase or camelCase constructors for tables, views, materialized views, and schemas. A schema created this way also supplies casing-aware constructors for its entities.

import { snakeCase, text } from 'drizzle-orm/pg-core';

export const users = snakeCase.table('users', { fullName: text() });
// The database column is full_name.

Relational queries and PostgreSQL imports

Move relational query v1 callers from db._query to Relational Queries v2 via db.query. The v1 API is removed for PostgreSQL in 1.0.0-rc.1, MySQL in 1.0.0-rc.3, and SQLite in 1.0.0-rc.4. Remove SQLite's v1 TSchema and TFullSchema generic arguments.

In 1.0.0-rc.1, import makePgArray and parsePgArray from drizzle-orm/pg-core/array. The previous entry points were drizzle-orm/pg-core/utils and drizzle-orm/pg-core/utils/array.

Read the full file on GitHub · 199 lines

Files

What ships with it

4 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. today Changed · -4 lines 8c70324fbe2f
  2. 3mo ago First seen · 203 lines · 10 tokens per session scan A cbf007e3da14

Subscribe to this mod's changes

drizzle-knowledge-patch is a skill published in the GitHub repository Nevaberry/nevaberry-plugins (25 stars, last pushed yesterday), licensed MIT. It adds 10 tokens to every session and 2,160 once invoked, about $0.0000 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.

Related

drizzle-knowledge-patch compared with skills from other repositories

drizzle-knowledge-patch next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
drizzle-knowledge-patchNevaberry/nevaberry-pluginsSkill25yesterdayMITA10Claude Code
api-database-typeormagents-inc/skillsSkill281mo agoMITA19Claude Code, Codex
no-bare-castsprisma/ormSkill48ktodayApache-2.0A52Claude Code, Codex
drizzle-ormericrisco/rsc-harnessSkill695yesterdayMITA96Claude Code, Codex
azure-cosmos-tsbenjaminasterA/antigravity-awesome-skillsSkill524todayMITA0Claude Code, Codex
api-mirrorcyanheads/obsidian-mcp-serverSkill72221d agoApache-2.0A68Claude Code
bun-bundlersecondsky/claude-skillsSkill2572d agoMITA90Claude Code