migration-helper

migration-helper is a skill for Claude Code from nguyenthienthanh/aura-frog. It costs 16 tokens per session (612 once invoked), scanned A, original, MIT.

A guide for changing database schemas and application code safely while keeping the service available.

In plain words
What is it for?
It helps plan backups, staging tests, reversible changes, gradual rollouts, and common schema changes such as adding or renaming columns.
Why use it?
It reduces the risk of downtime, broken deployments, and changes that cannot be undone.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is Human-readable explanation: see [docs/architecture/HIERARCHICAL_PLANNING.md](../../../docs/architecture/HIERARCHICAL_PLANNING.md).

Part of the aura-frog plugin — 43 skills, 24 commands, 15 agents, 10 hooks, 6 MCP servers shipped together

Good fit It helps plan backups, staging tests, reversible changes, gradual rollouts, and common schema changes such as adding or renaming columns.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/nguyenthienthanh/aura-frog
agentmods
npx agentmods add skills/nguyenthienthanh/aura-frog/migration-helper

Made for: Claude Code.

Or install aura-frog, the plugin that ships this one along with the rest of its 43 skills, 24 commands, 15 agents, 10 hooks, 6 MCP servers.

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 migration-helper

README.md
[![agentmods](https://agentmods.dev/badge/skills/nguyenthienthanh/aura-frog/migration-helper/github.svg)](https://agentmods.dev/skills/nguyenthienthanh/aura-frog/migration-helper)
Your own site
<a href="https://agentmods.dev/skills/nguyenthienthanh/aura-frog/migration-helper"><img src="https://agentmods.dev/badge/skills/nguyenthienthanh/aura-frog/migration-helper/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 migration-helper

Your own site · 80×15
<a href="https://agentmods.dev/skills/nguyenthienthanh/aura-frog/migration-helper"><img src="https://agentmods.dev/badge/skills/nguyenthienthanh/aura-frog/migration-helper.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 612 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00016 $0.00612
Opus 5 $0.00008 $0.00306
Sonnet 5 $0.00003 $0.00122
Haiku 4.5 $0.00002 $0.00061

Measured 5d ago against content hash 2183ad11a7e1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

migration-helper 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 5d 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.

aura-frog/skills/migration-helper/SKILL.md · 99 lines

How it starts

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

AI-consumed reference. Optimized for Claude to read during execution. Human-readable explanation: see docs/architecture/HIERARCHICAL_PLANNING.md or docs/getting-started/ depending on topic.

Skill: Migration Helper

Safe database and code migrations with zero-downtime strategies.


Safety Rules

  1. Always backup before migration
  2. Test on staging first
  3. Make migrations reversible
  4. Deploy in small batches
  5. Monitor during migration

  • rules/core/simplicity-over-complexity.md — smallest migration that closes the gap; no "while we're here" schema expansions
  • rules/core/verification.md — verify each migration step before advancing
  • rules/workflow/immutable-workflow.md — migrations are append-only records
  • rules/workflow/dual-llm-review.md — destructive migrations (DROP COLUMN/TABLE) trigger dual-LLM review

Schema Changes

Change Safe Approach
Add column Add nullable → backfill → NOT NULL
Remove column Stop using → deploy → drop
Rename column Add new → copy → deploy → drop old
Add index CREATE INDEX CONCURRENTLY
Change type Add new col → migrate → drop old

Zero-Downtime (6 phases)

Add nullable → dual-write → backfill → switch reads → remove old writes → drop old column.


Migration Script Pattern

export async function up(db: Database) {
  await db.query(`ALTER TABLE users ADD COLUMN status VARCHAR(20) DEFAULT 'active'`);
  // Backfill in batches of 1000
  // Add NOT NULL constraint
}
export async function down(db: Database) {
  await db.query(`ALTER TABLE users DROP COLUMN status`);
}

Code Migration

  • Feature flags: Behind flag → gradually increase % → remove flag + old code
  • Strangler Fig: New impl alongside old → route traffic gradually → remove old

Checklist

Before: Backup, tested on staging, rollback plan, monitoring alerts. During: Batch processing, monitor performance, verify integrity. After: Validation queries, smoke tests, monitor 24-48h, document.

Read the full file on GitHub · 99 lines

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. 5d ago First seen · 99 lines · 16 tokens per session scan A 2183ad11a7e1

Subscribe to this mod's changes

migration-helper is a skill published in the GitHub repository nguyenthienthanh/aura-frog (24 stars, last pushed 5d ago), licensed MIT. It adds 16 tokens to every session and 612 once invoked, about $0.0001 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-09-03.

Related

Other skills, from other repositories

ring:using-lib-systemplane

Using lib-systemplane, the hot-reload runtime-config plane (Postgres LISTEN/NOTIFY or MongoDB change streams), in two modes. Sweep Mode detects DIY config reload (SIGHUP, fsnotify, viper, pgx LISTEN), manual tenant-scoping, hand-built admin CRUD, and v4 residue. Reference Mode catalogs client lifecycle and…

LerianStudio/ring · 106 tokens

ring:using-outbox

Using the transactional-outbox pattern across lib-streaming (writer) and lib-commons/v5/commons/outbox (repository + relay), in two modes. Sweep Mode detects DIY outbox tables, hand-rolled relay loops, send-and-pray emits, missing WithOutboxTx wrapping, and broker calls inside DB transactions. Reference Mode catalogs…

LerianStudio/ring · 98 tokens

ring:mapping-service-resources

Mapping a Go service's Service -> Module -> Resource hierarchy for dispatch-layer registration: detects modules and per-module PostgreSQL/MongoDB/RabbitMQ resources, database names, and shared databases, generates MongoDB index migration pairs (.up.json/.down.json), detects existing Postgres migrations, emits an HTML…

LerianStudio/ring · 97 tokens

api-patterns

API route implementation patterns with RLS, validation, and error handling. Use when creating API routes, implementing CRUD endpoints, adding server-side validation, handling webhooks, or implementing error handling patterns. Do NOT use for frontend-only changes or database migrations without API involvement.

bybren-llc/safe-agentic-workflow · 57 tokens

activerecord

This skill should be used when the user asks to "write a migration", "add a column", "add column to table", "create an index", "add a foreign key", "set up associations", "fix N+1 queries", "optimize queries", "add validations", "create callbacks", "use eager loading", or mentions ActiveRecord, belongsto, hasmany…

hoblin/claude-ruby-marketplace · 180 tokens

draper-decorators

This skill should be used when the user asks to "create a decorator", "write a decorator", "move logic into decorator", "clean logic out of the view", "isn't it decorator logic", "test a decorator", or mentions Draper, keeping views clean, or representation logic in decorators. Should also be used when editing…

hoblin/claude-ruby-marketplace · 131 tokens