Borrowing it
Nothing to install: this file belongs to almeidazs/better-drizzle. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/almeidazs/better-drizzle/main/AGENTS.mdgit clone --depth 1 https://github.com/almeidazs/better-drizzleWrote 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/instructions/almeidazs/better-drizzle/agents-md)<a href="https://agentmods.dev/instructions/almeidazs/better-drizzle/agents-md"><img src="https://agentmods.dev/badge/instructions/almeidazs/better-drizzle/agents-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.
<a href="https://agentmods.dev/instructions/almeidazs/better-drizzle/agents-md"><img src="https://agentmods.dev/badge/instructions/almeidazs/better-drizzle/agents-md.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.05413 | $0.05413 |
| Opus 5 | $0.02707 | $0.02707 |
| Sonnet 5 | $0.01083 | $0.01083 |
| Haiku 4.5 | $0.00541 | $0.00541 |
Grade A, and why
better-drizzle AGENTS.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 9d 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 — 344 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Better-Drizzle Repository – Agent Field Notes
Meta note: This is the primary agent knowledge base file for this repository. When learning something about the codebase that will help with future tasks, update this file directly.
- Repository scope:
better-drizzleis a small Bun/TypeScript workspace focused on a single core package,packages/core, plus a benchmark suite used to measure API-parity performance and memory overhead against raw Drizzle ORM. - Workspace layout:
packages/core: the published librarypackages/rules: official runtime rules/guardrails pluginpackages/eslint: official ESLint plugin for static Better Drizzle guardrailspackages/soft-delete: official soft delete pluginpackages/timestamps: official timestamps pluginpackages/zod: official Zod schema generation and validation pluginbenchmark: Bun + SQLite benchmark suiteexamples: Markdown-only example catalog and usage guidesapps/web: Next.js + Fumadocs documentation/marketing siteREADME.md: project-level documentationpackages/core/README.md: package-level documentation, currently intentionally kept in sync with the root README
- Package manager and runtime: Bun is the primary runtime for local commands and benchmarks. The workspace is configured as a TypeScript ESM monorepo.
- Package publishing/build:
- all published workspace libraries now build to
dist/ - each package emits
dist/index.js(ESM),dist/index.cjs(CommonJS), anddist/index.d.ts - root build entrypoint is
scripts/build.ts, powered byBun.buildplustscdeclaration emit - keep package bundle minification disabled in
scripts/build.ts; the published 0.1.0 minified Bun build produced broken export footers (dist/index.js/dist/index.cjs) with unresolved symbols at import time - package manifests publish only
dist,README.md, andLICENSE - published package manifests now use conditional type exports: ESM reads
dist/index.d.tsand CJS readsdist/index.d.cts scripts/build.tspost-processes emitted declarations after all package builds: relative specifiers are rewritten for NodeNext compatibility (directory imports become.../index.js),.d.ctscopies are generated, and declaration-only internal modules get tiny ESM stub.jsfiles so TypeScript can resolve the declaration graph from published tarballs
- all published workspace libraries now build to
- Top-level scripts:
bun run bench: run the time benchmark suitebun run bench:memory: run the memory/overhead benchmark suitebun run bench:all: run both benchmark suites
- Core dependencies:
drizzle-ormas a peer dependencytypescriptas a peer dependencymitatafor benchmarking@biomejs/biomefor formatting and linting- the published compatibility floor is
drizzle-orm@^0.30.0;0.29.5failed the workspace typecheck, while0.30.0passed typecheck plus the core/plugin test suites
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.
- 9d ago First seen · 344 lines · 5,413 tokens per session scan A 2d3e99536e0a
better-drizzle AGENTS.md is an instructions file published in the GitHub repository almeidazs/better-drizzle (304 stars, last pushed 7d ago), licensed Apache-2.0. It adds 5,413 tokens to every session, about $0.0271 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-08-30.
Other instructions, from other repositories
plan-forge caching.instructions.md
Caching patterns for .NET — IDistributedCache, Redis, in-memory, cache-aside, TTL strategies.
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.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
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).
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
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.