database-migration-rollout

database-migration-rollout is a skill for Claude Code, Codex from dayfinggg/openai-codex-agent-skills. It costs 36 tokens per session (393 once invoked), scanned A, original, MIT.

A guide to planning and validating database schema migrations, which change the structure or data rules of a database. It considers locks, data conversion, application versions that overlap during rollout, and restoration.

In plain words
What is it for?
Use it for migration files and schema-change deployments, including compatibility checks, bounded backfills, lock planning, validation, and recovery planning.
Why use it?
It helps avoid blocked production traffic, incompatible application and database versions, constraint failures, and unsafe data changes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for migration files and schema-change deployments, including compatibility checks, bounded backfills, lock planning, validation, and recovery planning.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dayfinggg/openai-codex-agent-skills/database-migration-rollout
Install

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.

Any agent
npx skills add dayfinggg/openai-codex-agent-skills --skill database-migration-rollout
Clone the repo
git clone --depth 1 https://github.com/dayfinggg/openai-codex-agent-skills

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for database-migration-rollout

README.md
[![agentmods](https://agentmods.dev/badge/skills/dayfinggg/openai-codex-agent-skills/database-migration-rollout/github.svg)](https://agentmods.dev/skills/dayfinggg/openai-codex-agent-skills/database-migration-rollout)
Your own site
<a href="https://agentmods.dev/skills/dayfinggg/openai-codex-agent-skills/database-migration-rollout"><img src="https://agentmods.dev/badge/skills/dayfinggg/openai-codex-agent-skills/database-migration-rollout/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.

agentmods 80×15 button for database-migration-rollout

Your own site · 80×15
<a href="https://agentmods.dev/skills/dayfinggg/openai-codex-agent-skills/database-migration-rollout"><img src="https://agentmods.dev/badge/skills/dayfinggg/openai-codex-agent-skills/database-migration-rollout.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 393 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00036 $0.00393
Opus 5.5 $0.00014 $0.00157
Sonnet 5.5 $0.00007 $0.00079
Haiku 4.5 $0.00004 $0.00039

Measured today against content hash 4d0f3f1b4649, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

database-migration-rollout 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 today.

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.

codex/skills/database-migration-rollout/SKILL.md · 19 lines

What it actually says

Make the migration compatible with the database and the application versions that coexist during rollout.

  1. Establish the engine and exact version, migration runner, current schema, data volume, indexes, replication, and deployment order. Inspect existing migration conventions before choosing a mechanism.
  2. Identify invariants, affected reads and writes, constraint violations, and dependent objects. Separate a structural change from data transformation and access-policy changes.
  3. Consult version-matched DDL documentation for lock level, table rewrite, transaction restrictions, and online or concurrent behavior. Do not infer safety from a fast empty-table test.
  4. Prefer an expand, compatible application change, bounded resumable backfill, and contract sequence when coexistence requires it. A simple atomic change does not need a speculative multistage rollout.
  5. Bound lock acquisition and retry according to actual traffic and operational constraints. Preserve data and stop on unexpected state. Do not cancel unrelated sessions or weaken constraints to make the migration finish.
  6. Validate on an authorized representative copy or fixture. Check values, constraints, query behavior, invalid indexes, migration-runner bookkeeping, and interrupted retry where relevant.
  7. Establish restoration before production execution. Distinguish transactional rollback, application rollback, compensating migration, and backup restoration. A down migration that drops newly written data is not lossless.
  8. Apply only within existing authorization and verify schema, data invariants, application compatibility, waits, and replication afterward.

Read the PostgreSQL migration procedure for PostgreSQL-specific DDL. Read PostgreSQL ALTER TABLE or the selected engine's official reference for its actual version.

Changes

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.

  1. today First seen · 19 lines · 36 tokens per session scan A 4d0f3f1b4649

Subscribe to this mod's changes

database-migration-rollout is a skill published in the GitHub repository dayfinggg/openai-codex-agent-skills (8 stars, last pushed today), licensed MIT. It adds 36 tokens to every session and 393 once invoked, about $0.0001 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-10-30.

Related

Other skills, from other repositories

neo4j-snowflake-graph-analytics-skill

Run Neo4j Graph Analytics algorithms (PageRank, Louvain, WCC, Dijkstra, KNN, Node2Vec, FastRP, GraphSAGE) directly inside Snowflake without moving data. Use when running graph algorithms against Snowflake tables via the Neo4j Snowflake Native App ("GDS Snowflake", "graph algorithms in Snowflake", "Neo4j Graph…

neo4j-contrib/neo4j-skills · 222 tokens

neo4j-agent-memory-skill

Authoritative reference for the neo4j-agent-memory Python package — a graph-native memory system for AI agents built on Neo4j — and for the hosted service (NAMS) at memory.neo4jlabs.com. Use this skill whenever the user mentions neo4j-agent-memory, agent memory with Neo4j, context graphs, the POLE+O model…

neo4j-contrib/neo4j-skills · 223 tokens

neo4j-aura-graph-analytics-skill

Serverless Aura Graph Analytics (AGA) GDS Sessions — covers GdsSessions, AuraGraphDataScience, AuraAPICredentials, DbmsConnectionInfo, SessionMemory, getorcreate, remote graph projection with gds.graph.project.cypher and gds.graph.project.remote, gds.graph.project.native, gds.graph.construct, graphdatascience client…

neo4j-contrib/neo4j-skills · 204 tokens

neo4j-document-import-skill

Ingests unstructured and semi-structured documents into Neo4j as a knowledge graph. Use when chunking PDFs, HTML, plain text, or Markdown; extracting entities and relationships from text with an LLM (SimpleKGPipeline, neo4j-graphrag); loading JSON via apoc.load.json; building Document→Chunk→Entity graph structures; or…

neo4j-contrib/neo4j-skills · 187 tokens

neo4j-gds-skill

Neo4j Graph Data Science (GDS) embedded plugin via Python client or Cypher — covers graphdatascience client 2.x, GraphDataScience, gds.graph.project.native, gds.graph.project.cypher, snakecase endpoints, graph catalog operations, stream/stats/mutate/write modes, memory estimation, PageRank, Louvain, WCC, FastRP, KNN…

neo4j-contrib/neo4j-skills · 206 tokens

neo4j-import-skill

Import structured data into Neo4j — LOAD CSV, CALL IN TRANSACTIONS, neo4j-admin database import full (offline bulk), apoc.load.csv/json, apoc.periodic.iterate, driver batch writes. Covers method selection, header file format, type coercion, null handling, ON ERROR modes, CONCURRENT TRANSACTIONS, pre-import constraint…

neo4j-contrib/neo4j-skills · 177 tokens