drizzle-sentinel-mcp: Instructions file for Claude Code

CLAUDE.md

drizzle-sentinel-mcp CLAUDE.md is an instructions file for Claude Code from akmalkhaniub/drizzle-sentinel-mcp. It costs 381 tokens per session, scanned A, original, MIT.

Project instructions for a server built around Drizzle Sentinel MCP, including its architecture, tool-use rules, and test commands. Drizzle is a toolkit for working with databases in code.

In plain words
What is it for?
They are for guiding development, tool usage, architecture decisions, and testing in the project.
Why use it?
They explain how an agent should work in this repository and how to test changes.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions Claude Code.

This is akmalkhaniub/drizzle-sentinel-mcp's own configuration. It tells Claude Code how to work on drizzle-sentinel-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything drizzle-sentinel-mcp configures โ†’

Reuse

Borrowing it

Nothing to install: this file belongs to akmalkhaniub/drizzle-sentinel-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/akmalkhaniub/drizzle-sentinel-mcp/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/akmalkhaniub/drizzle-sentinel-mcp

Made for: Claude Code.

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-sentinel-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/akmalkhaniub/drizzle-sentinel-mcp/claude-md/github.svg)](https://agentmods.dev/instructions/akmalkhaniub/drizzle-sentinel-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/akmalkhaniub/drizzle-sentinel-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/akmalkhaniub/drizzle-sentinel-mcp/claude-md/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-sentinel-mcp CLAUDE.md

Your own site ยท 80ร—15
<a href="https://agentmods.dev/instructions/akmalkhaniub/drizzle-sentinel-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/akmalkhaniub/drizzle-sentinel-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 381 This file is loaded in full into every session.
When invoked 381 The same file โ€” it is already loaded in full.
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.00381 $0.00381
Opus 5.5 $0.00152 $0.00152
Sonnet 5.5 $0.00076 $0.00076
Haiku 4.5 $0.00038 $0.00038

Measured 2mo ago against content hash c90a7e2cedea, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

drizzle-sentinel-mcp CLAUDE.md 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.

CLAUDE.md ยท 28 lines

What it actually says

๐Ÿ›ก๏ธ Drizzle Sentinel MCP โ€” Agent Guidelines & Tooling Rules

This file governs how Claude Code, Cursor, and autonomous agents interact with this repository and database migrations.

๐Ÿ“Œ Architecture Philosophy

  1. Never generate naked destructive migrations:
    • Never use DROP TABLE or DROP COLUMN in single-phase migrations.
    • Always apply the Expand-Contract pattern.
  2. Defensive Schema Design:
    • Every NOT NULL column added to an existing table must supply a non-empty DEFAULT clause.
    • Every foreign key constraint must have an index on the referencing table column.
  3. Strict Zero-Mutation Read Sandbox:
    • Agents must only use explain_query_plan with SELECT queries. Data modifications inside automated agent testing loops must occur in isolated transaction rollbacks.

๐Ÿ› ๏ธ MCP Tools Usage Reference

Tool Name When to Call Expected Input
inspect_drizzle_schema Before creating or modifying DB endpoints { "schemaPath": "apps/demo-service/src/db/schema.ts" }
lint_drizzle_migration Immediately after writing a migration .sql file { "sqlContent": "ALTER TABLE ...", "dialect": "postgresql" }
detect_schema_drift When checking if DB instance is synchronized { "schemaPath": "...", "databaseTables": [...] }
explain_query_plan When optimizing ORM queries for API endpoints { "sql": "SELECT ... FROM ...", "dialect": "postgresql" }

๐Ÿงช Testing Commands

  • Run test suite: npm test
  • Build packages: npm run build
  • Typecheck: npm run lint
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. 2mo ago First seen ยท 28 lines ยท 381 tokens per session scan A c90a7e2cedea

Subscribe to this mod's changes

drizzle-sentinel-mcp CLAUDE.md is an instructions file published in the GitHub repository akmalkhaniub/drizzle-sentinel-mcp (0 stars, last pushed today), licensed MIT. It adds 381 tokens to every session, about $0.0015 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.

Related

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode ยท 9,715 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js ยท 7,461 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode ยท 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain ยท 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode ยท 2,750 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness ยท 4,261 tokens