Borrowing it
Nothing to install: this file belongs to ctxpipe-ai/ctxpipe. 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/ctxpipe-ai/ctxpipe/main/.agents/skills/drizzle-migrations/SKILL.mdgit clone --depth 1 https://github.com/ctxpipe-ai/ctxpipeWrote 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/ctxpipe-ai/ctxpipe/drizzle-migrations)<a href="https://agentmods.dev/skills/ctxpipe-ai/ctxpipe/drizzle-migrations"><img src="https://agentmods.dev/badge/skills/ctxpipe-ai/ctxpipe/drizzle-migrations/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/ctxpipe-ai/ctxpipe/drizzle-migrations"><img src="https://agentmods.dev/badge/skills/ctxpipe-ai/ctxpipe/drizzle-migrations.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.00044 | $0.00315 |
| Opus 5.5 | $0.00018 | $0.00126 |
| Sonnet 5.5 | $0.00009 | $0.00063 |
| Haiku 4.5 | $0.00004 | $0.00032 |
Grade A, and why
drizzle-migrations 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 1mo 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.
What it actually says
Drizzle Migrations
BLOCKER: Never Manually Create Migration SQL
Do NOT write or create migration.sql files yourself. Drizzle Kit generates them from schema diffs. Manual SQL will:
- Break snapshot consistency
- Cause migration conflicts
- Omit metadata drizzle-kit expects
Correct Workflow
- Edit schema files in
apps/backend/src/db/schema/ - Run:
pnpm run db:generatefromapps/backend(orpnpm --filter @ctxpipe/backend db:generatefrom repo root) - Review the generated migration in
apps/backend/migrations/ - If generation fails, fix the schema — do not fall back to manual SQL
Command Reference
| Action | Command | CWD |
|---|---|---|
| Generate migration | pnpm run db:generate |
apps/backend |
| Apply migrations | pnpm run db:migrate |
apps/backend |
| Studio | pnpm run db:studio |
apps/backend |
Schema Locations
- Main schema index:
apps/backend/src/db/schema/index.ts - Table definitions:
apps/backend/src/db/schema/*.ts - Drizzle config:
apps/backend/drizzle.config.ts
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.
- 1mo ago First seen · 36 lines · 44 tokens per session scan A 22aa40be6f91
drizzle-migrations is a skill published in the GitHub repository ctxpipe-ai/ctxpipe (27 stars, last pushed today), licensed MIT. It adds 44 tokens to every session and 315 once invoked, about $0.0002 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.
Other skills, from other repositories
ontology
Manage ontology schemas, concepts, alignments, and SHACL/OWL validation for Semantica knowledge graphs. Uses OntologyEngine and OntologyValidator.
moai-platform-database-cloud
Cloud database platform specialist covering Neon (serverless PostgreSQL), Supabase (PostgreSQL 16 with real-time), and Firebase Firestore (NoSQL with offline sync). Use when choosing or setting up cloud databases.
migration-ready-schema
Data-model rules that make a schema importable from day one, so the migration-import-engineer is never blocked on missing columns. Every SMB Product-Builder product must let a customer bring their data from an incumbent (ServiceTitan/Toast/Mindbody/Shopify) — that requires provenance (sourceref) and rollback…
loom-database-design
Database schema and data model design for relational, NoSQL, time-series, and warehouse systems. Not for: event messaging.
blueprint-from-collection-import
Move the copied collection's records into Postgres and the files they point at into Storage, proven on a freshly reset local database.
loom-sql-optimization
Analyzes and optimizes SQL queries for performance.