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 byerlikaya/claude-starter-kit --skill db-migrationgit clone --depth 1 https://github.com/byerlikaya/claude-starter-kitWrote 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/byerlikaya/claude-starter-kit/db-migration)<a href="https://agentmods.dev/skills/byerlikaya/claude-starter-kit/db-migration"><img src="https://agentmods.dev/badge/skills/byerlikaya/claude-starter-kit/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/byerlikaya/claude-starter-kit/db-migration"><img src="https://agentmods.dev/badge/skills/byerlikaya/claude-starter-kit/db-migration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Prompt Injection · line 11 Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
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.00056 | $0.01571 |
| Opus 5.5 | $0.00022 | $0.00628 |
| Sonnet 5.5 | $0.00011 | $0.00314 |
| Haiku 4.5 | $0.00006 | $0.00157 |
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 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.
How it starts
The opening of the file, as written. The whole thing — 123 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Database Migration
Trigger phrases: "migration", "schema change", "update database", "add column", "create table", "alter table", "add a column to", "adding a column to", "drop a column", "rename the table", "change the column type", "backfill"
A migration is very often a one-way gate: once applied, going back is expensive or impossible unless it was planned for. That is why the heart of the flow is not running a command, but classifying the change by risk class before it passes through the gate — let the safe one flow through, stop and get approval for the destructive one, and keep a rollback path ready in every case. The skill works with all common ORM/migration tools.
Kit adaptation (local, .claude/): Default stack is EF Core + PostgreSQL.
database-expert-cskapplies it; a destructive migration requires explicit approval (§4.5), commit/push with explicit approval (§4.4). Authorization/IDOR impact → security-expert-csk; personal-data retention → privacy-agent-csk. §4 Prohibitions apply.
Checklist
- Tool detected, pending migrations listed
- Every change classified (additive / destructive / ambiguous)
- Destructive/ambiguous changes approved by the user
- Backup taken (mandatory in prod, verified)
- Preview (dry-run) shown and approved
- Applied, schema verified post-apply
- Rollback path (tool or backup) ready
1. Detect the tool
Determine the tool from the file trace; if none is found, fall back to raw SQL mode (below); if several are found, ask the user.
| Trace | Tool |
|---|---|
prisma/schema.prisma |
Prisma |
knexfile.{js,ts} |
Knex |
.sequelizerc / config/config.json + models/ |
Sequelize |
data-source.ts (typeorm) / ormconfig.ts |
TypeORM |
drizzle.config.ts |
Drizzle |
alembic.ini / alembic/ |
Alembic |
manage.py + django dependency |
Django |
db/migrate/ + rails in Gemfile |
Rails |
Microsoft.EntityFrameworkCore in *.csproj + Migrations/ |
EF Core |
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.
- 1mo ago First seen · 123 lines · 56 tokens per session scan A 0bed15bd799b
db-migration is a skill published in the GitHub repository byerlikaya/claude-starter-kit (24 stars, last pushed 1mo ago), licensed MIT. It adds 56 tokens to every session and 1,571 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
database-expert
Advanced database design and administration for PostgreSQL, MongoDB, and Redis. Use when designing schemas, optimizing queries, managing database performance, or implementing data patterns.
generic-fullstack-feature-developer
Guide feature development for full-stack applications with architecture focus. Covers Next.js App Router patterns, NestJS backend services, database models, data workflows, and seamless integration. Use when adding new features, refactoring existing code, or planning major changes.
agent-database-expert
Specialist subagent: Expert database architect and engineer for PostgreSQL, MongoDB, Redis, and all major databases. Use when designing schemas, optimizing queries, planning migrations, implementing caching, or troubleshooting database performance.
yd-oracle-expert
An Oracle Database guide for writing SQL and PL/SQL and moving code from PostgreSQL. It focuses on Oracle-specific behavior such as empty strings, dates, text lengths, ROWNUM, commits, and ORA errors.
yd-pg-expert
A PostgreSQL guide for database behavior and shared-cluster operations. PostgreSQL is a relational database system, and the guide covers timestamps, exact numeric values, query plans, locks, concurrent indexes, vacuuming, and serialization retries.
yd-db-expert
A database design guide for relational databases, which store data in tables linked by relationships. It covers schema structure, keys, NULL meanings, constraints, indexes, query patterns, transactions, and migrations without depending on one database engine.