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 ShipWithAI/shipwithai-plugins --skill db-migrationgit clone --depth 1 https://github.com/ShipWithAI/shipwithai-pluginsWrote 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/shipwithai/shipwithai-plugins/db-migration)<a href="https://agentmods.dev/skills/shipwithai/shipwithai-plugins/db-migration"><img src="https://agentmods.dev/badge/skills/shipwithai/shipwithai-plugins/db-migration/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/shipwithai/shipwithai-plugins/db-migration"><img src="https://agentmods.dev/badge/skills/shipwithai/shipwithai-plugins/db-migration.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.00074 | $0.00576 |
| Opus 5.5 | $0.00030 | $0.00230 |
| Sonnet 5.5 | $0.00015 | $0.00115 |
| Haiku 4.5 | $0.00007 | $0.00058 |
Grade A, and why
db-migration 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 3mo 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
DB Migration — Scaffold
Keeps schema and entities in lockstep: every entity/schema change ships with a
migration. Never rely on ddl-auto: update in shared environments.
Step 1 — Detect the migration tool
| Tool | Signal |
|---|---|
| Flyway | flyway-core dependency, or a src/main/resources/db/migration/ directory |
| Liquibase | liquibase-core dependency, or a src/main/resources/db/changelog/ directory |
If neither is present, ask which to set up (default Flyway — simplest for v1), and note the dependency the project must add.
Step 2 — Determine the next version
- Flyway: scan
db/migration/forV<n>__*.sql, takemax(n) + 1. Filenames:V<n>__<snake_case_description>.sql. - Liquibase: find the changelog (
db.changelog-master.*), add a new changeset with a unique incrementingidand the project's author convention.
Step 3 — Render the migration
From assets/, substitute {{VERSION}}, {{DESCRIPTION}}, {{TABLE_NAME}},
{{AUTHOR}}:
- Flyway:
flyway_migration.sql.tmpl→db/migration/V{{VERSION}}__{{DESCRIPTION}}.sql - Liquibase:
liquibase_changeset.xml.tmpl→ appended/included into the master changelog
The DDL must include the columns the guardrails imply for entities: a version
column (optimistic lock) and audit columns (created_at, updated_at) when the
entity extends the audited base.
Step 4 — Report
Show the migration path + the SQL/changeset. If invoked standalone, remind the user to keep the entity and migration in the same commit.
Failure modes — do NOT
- Do NOT reuse an existing version number (Flyway will refuse; checksums break).
- Do NOT mix Flyway and Liquibase in one project.
- Do NOT edit an already-applied migration — add a new one (immutable history).
- Do NOT forget the
version/ audit columns when the entity uses them.
What ships with it
3 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.
- 3mo ago First seen · 57 lines · 74 tokens per session scan A 8cdd3ee9ef14
db-migration is a skill published in the GitHub repository ShipWithAI/shipwithai-plugins (9 stars, last pushed 3mo ago), licensed MIT. It adds 74 tokens to every session and 576 once invoked, about $0.0003 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.
db-migration compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| db-migrationShipWithAI/shipwithai-plugins | Skill | 9 | 3mo ago | MIT | A | 74 | Claude Code |
| db-auditgreglas75/zuvo | Skill | 7 | today | MIT | A | 115 | Claude Code |
| performance-auditgreglas75/zuvo | Skill | 7 | today | MIT | A | 90 | Claude Code |
| ef-core-patternszdanovichnick/dotnet-pilot | Skill | 5 | 9d ago | MIT | A | 24 | Claude Code |
| ccc-pro-migrationKevinZai/commander | Skill | 6 | today | MIT | A | 24 | Claude Code |
| ccc-pro-saasKevinZai/commander | Skill | 6 | today | MIT | A | 24 | Claude Code |
| cachingzdanovichnick/dotnet-pilot | Skill | 5 | 9d ago | MIT | A | 35 | Claude Code |