game-database-migration-safety

game-database-migration-safety is a skill for Codex from hoatv2211/GameStudio-CodexKIT. It costs 50 tokens per session (902 once invoked), scanned A, original, MIT.

A safety checklist for planning MySQL database changes for a game. MySQL is a commonly used system for storing structured application data.

In plain words
What is it for?
Use it to plan schema changes, data imports, stored-procedure or seed changes, port moves, and restoring data between projects.
Why use it?
It reduces the risk of changing the wrong database, losing data, exposing credentials, or applying an untested migration.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions AGENTS.md.

Good fit Use it to plan schema changes, data imports, stored-procedure or seed changes, port moves, and restoring data between projects.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hoatv2211/gamestudio-codexkit/game-database-migration-safety
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 hoatv2211/GameStudio-CodexKIT --skill game-database-migration-safety
Clone the repo
git clone --depth 1 https://github.com/hoatv2211/GameStudio-CodexKIT

Made for: 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 game-database-migration-safety

README.md
[![agentmods](https://agentmods.dev/badge/skills/hoatv2211/gamestudio-codexkit/game-database-migration-safety/github.svg)](https://agentmods.dev/skills/hoatv2211/gamestudio-codexkit/game-database-migration-safety)
Your own site
<a href="https://agentmods.dev/skills/hoatv2211/gamestudio-codexkit/game-database-migration-safety"><img src="https://agentmods.dev/badge/skills/hoatv2211/gamestudio-codexkit/game-database-migration-safety/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 game-database-migration-safety

Your own site · 80×15
<a href="https://agentmods.dev/skills/hoatv2211/gamestudio-codexkit/game-database-migration-safety"><img src="https://agentmods.dev/badge/skills/hoatv2211/gamestudio-codexkit/game-database-migration-safety.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 902 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.00050 $0.00902
Opus 5 $0.00025 $0.00451
Sonnet 5 $0.00010 $0.00180
Haiku 4.5 $0.00005 $0.00090

Measured 8d ago against content hash 24bf6494b7b2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

game-database-migration-safety 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 8d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/db_safety.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/game-database-migration-safety/SKILL.md · 81 lines

How it starts

The opening of the file, as written. The whole thing — 81 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Game Database Migration Safety

Overview

Database changes remain plans until the target project, port, schema version, backup, restore, reviewer, and human approval are all verified.

When to use

Use for MySQL schema migrations, data imports, stored procedure changes, seed changes, port moves, or cross-project database restoration.

When NOT to use

Do not use to inspect static service topology only, and never apply when schema identity is unknown, backup is missing, restore is untested, or credentials would be exposed.

Required inputs and context discovery

Require project owner, host, isolated port, database name, observed schema version, expected schema, migration source and hash, backup path, restore command, downtime plan, reviewer, human approval, and validation queries.

Safety and risk level

This is high-risk. Unknown schema, ambiguous project ownership, unapproved ports, active production targets, missing backup, missing restore, missing reviewer, or missing human approval means BLOCKED.

Workflow

  1. Verify project ownership, host, port, database, and schema version using read-only queries. Completion criterion: unknown schema or target ambiguity is BLOCKED.
  2. Review the migration source, expected before/after schema, affected rows, and idempotency. Completion criterion: destructive or irreversible statements are identified before execution.
  3. Create backup and restore plans without printing passwords or tokens. Completion criterion: backup path, checksum, restore command, and validation query are documented.
  4. Run a dry-run or disposable-fixture migration and capture output. Completion criterion: apply remains prohibited on the real DB until fixture evidence and reviewer approval exist.
  5. Request explicit human approval for the exact target and maintenance window. Completion criterion: approval scope matches the reviewed plan.
  6. Apply, validate, and restore on failure only through an authorized project-specific runbook. Completion criterion: real execution is PASS, FAIL, or BLOCKED with evidence; this kit never assumes it occurred.

Read the full file on GitHub · 81 lines

Files

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.

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. 8d ago First seen · 81 lines · 50 tokens per session scan A 24bf6494b7b2

Subscribe to this mod's changes

game-database-migration-safety is a skill published in the GitHub repository hoatv2211/GameStudio-CodexKIT (3 stars, last pushed yesterday), licensed MIT. It adds 50 tokens to every session and 902 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-31.