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.
npx agentmods add skills/ruddercode/rudder/manage-sqlite-migrationsnpx skills add RudderCode/Rudder --skill manage-sqlite-migrationsgit clone --depth 1 https://github.com/RudderCode/RudderWrote 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/ruddercode/rudder/manage-sqlite-migrations)<a href="https://agentmods.dev/skills/ruddercode/rudder/manage-sqlite-migrations"><img src="https://agentmods.dev/badge/skills/ruddercode/rudder/manage-sqlite-migrations.svg" alt="Measured on agentmods" 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 | $0.00062 | $0.01188 |
| Opus 5 | $0.00031 | $0.00594 |
| Sonnet 5 | $0.00012 | $0.00238 |
| Haiku 4.5 | $0.00006 | $0.00119 |
Grade A, and why
manage-sqlite-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 3d 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 — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Manage SQLite Migrations
Produce a committed Drizzle migration that succeeds both from an empty database and from a representative snapshot without modifying the user's real rudder.db.
Preserve the safety boundary
- Treat
src/db/schema.tsas the declarative schema and committed folders underdrizzle/as the runtime history. - Never run migration experiments against the real database.
openDb()applies pending migrations automatically, so do not point application code at the realRUDDER_HOMEwhile authoring a migration. - Never use
drizzle-kit push; generate a migration file and review its SQL. - Treat migrations already present on
origin/mainas immutable. Add a forward migration instead of rewriting published history. - Do not delete data, drop schema objects, or replace the real database unless the user explicitly authorized that destructive outcome.
- Do not edit
almanac/during ordinary migration work. Use it as read-only context unless the user invokes a CodeAlmanac maintenance workflow.
Follow the workflow
-
Inspect
.agentsignore,git status,src/db/schema.ts,src/db/client.ts,drizzle.config.ts, the currentdrizzle/history, and migration tests. Search CodeAlmanac for the affected database files or concept when architectural context is relevant. -
Before changing shared database infrastructure, run the repository baseline:
npm run typecheck npm test npm run buildInstall dependencies first when
node_modules/is absent. Report pre-existing failures before continuing. -
State the intended schema and data invariants. Classify the change as additive, data-transforming, or destructive. For a destructive change, preserve required data in a new shape before removing the old shape; stop for user approval when data loss was not explicitly requested.
-
Edit
src/db/schema.ts, then generate a named migration:npm run db:generate -- --name <short-kebab-name>
What ships with it
2 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.
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.
- 3d ago First seen · 103 lines · 62 tokens per session scan A 0902a8722e45
manage-sqlite-migrations is a skill published in the GitHub repository RudderCode/Rudder (23 stars, last pushed 15d ago), licensed Apache-2.0. It adds 62 tokens to every session and 1,188 once invoked, about $0.0003 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 skills, from other repositories
cuopt-numerical-optimization-formulation
LP, MILP, QP — concepts, problem-text parsing, and formulation patterns (parameters, constraints, decisions, objective). Concepts only; no API.
deepstream-sop
Use this skill when building, deploying, evaluating, debugging, or measuring latency for the DeepStream SOP Inference Microservice — a GPU-accelerated FastAPI service that detects whether operators perform assembly-line steps in order via event boundary detection (GEBD) plus VLM classification. Trigger even if the…
digital-health-clinical-asr-eval
Stage 3 of Clinical ASR Flywheel. Score a NeMo manifest, produce the five-section KER leaderboard (by-ipasource diagnostic). Not for ASR auth (/riva-asr).
amc-run-rtsp-calibration
Calibrate a new dataset from live RTSP camera streams via the AutoMagicCalib REST API. Use when the user provides RTSP URLs or asks to calibrate live cameras; VIOS records clips, AMC ingests them, then runs calibration.
cuopt-multi-objective-exploration
Trace, complete, and interpret the Pareto frontier across competing objectives using repeated single-objective cuOpt solves (weighted-sum and ε-constraint).
cupynumeric-migration-readiness
Pre-migration readiness assessor for porting NumPy to cuPyNumeric. Use BEFORE substantial porting work begins when the user asks whether code will scale on GPU, whether they should migrate to cuPyNumeric, which NumPy patterns transfer cleanly, what must be refactored before porting, or mentions pre-port assessment…