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 skills add Weaverse/.agents --skill database-migration-reviewgit clone --depth 1 https://github.com/Weaverse/.agentsWrote 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/weaverse/.agents/database-migration-review)<a href="https://agentmods.dev/skills/weaverse/.agents/database-migration-review"><img src="https://agentmods.dev/badge/skills/weaverse/.agents/database-migration-review/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/weaverse/.agents/database-migration-review"><img src="https://agentmods.dev/badge/skills/weaverse/.agents/database-migration-review.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.00048 | $0.01378 |
| Opus 5.5 | $0.00019 | $0.00551 |
| Sonnet 5.5 | $0.00010 | $0.00276 |
| Haiku 4.5 | $0.00005 | $0.00138 |
Grade A, and why
database-migration-review 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 19d 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 — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Database migration review
Ordering and history
- A green build exercises the repository schema, not the target catalog. If the deployment has no schema step, prove schema availability before code cutover. An additive column/index can still reject old writers through NOT NULL, unique, CHECK or trigger constraints. Exercise both deployed and candidate write shapes.
- Read the migration ledger before editing history. Applied files are immutable; use a new migration and retain historical hashes/snapshots. If parallel branches allocate one number, renumber only the unapplied local file and repair every journal, snapshot ancestry and test reference.
- Inspect what the release actually applies. An unapproved migration must not accidentally enter an auto-apply lane; use the repository's approved staging mechanism and report schema work as pending until authorized.
- Backfills that preserve
updated_atcan strand rows behind(updated_at, id)consumers. Prove downstream cursor visibility, not just the repaired values. Choose legacy defaults that reflect real lifecycle state, rather than making every old row appear to be live work.
Prisma and PlanetScale
- Inspect the pinned Prisma CLI help. Prisma 7 removed flags including
--skip-generateand URL-based migrate diff inputs; usage output is not proof of a successful apply. Read the effective config/datasource before any mutation.dotenv/configdoes not override existing variables by default, but config and wrappers can. db pushreconciles in both directions. Review the complete diff, including mappings and Vitess_vt_artifacts, rather than treating an artifact DROP as permission to delete it. Keep safe migrations enabled.- Apply approved schema changes through a task database branch and deploy request where production forbids direct DDL. Opening a deploy request is not applying it. Preserve its branch through the provider's revert window.
- Never filter DDL by line regex or split arbitrary SQL on semicolons: literals, comments and triggers can defeat both. Use the pinned generator's supported execution path and inspect the exact statement set/count.
- Verify the physical target through approved connection metadata and the provider's branch mapping, not a friendly branch name or row count alone. Never print connection strings or credential values as evidence.
- With a serverless driver,
DATABASE()can be empty. A catalog query using it may falsely report no tables. UseSHOW COLUMNS FROM <table>/SHOW INDEX FROM <table>in the verified session and read defaults back. - Separate stale schema source, generated ORM client, running process and live catalog. Client-side
Unknown argumentvalidation happens before SQL; it does not justify new DDL.
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.
- 19d ago First seen · 83 lines · 48 tokens per session scan A 9e05941b510d
database-migration-review is a skill published in the GitHub repository Weaverse/.agents (1 stars, last pushed 19d ago), licensed MIT. It adds 48 tokens to every session and 1,378 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-11-11.
database-migration-review compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| database-migration-reviewWeaverse/.agents | Skill | 1 | 19d ago | MIT | A | 48 | Claude Code |
| offensive-sqliSnailSploit/Claude-Red | Skill | 12k | 13d ago | MIT | B | 117 | Claude Code, Codex |
| laravel-eloquentfusengine/agents | Skill | 34 | 1mo ago | MIT | A | 33 | Claude Code |
| laravel-migrationsfusengine/agents | Skill | 34 | 1mo ago | MIT | A | 32 | Claude Code |
| astro-dbfusengine/agents | Skill | 34 | 1mo ago | MIT | A | 29 | Claude Code |
| laravel-vector-searchfusengine/agents | Skill | 34 | 1mo ago | MIT | A | 22 | Claude Code |
| laravel-scoutfusengine/agents | Skill | 34 | 1mo ago | MIT | A | 33 | Claude Code |