migration-planner

migration-planner is an agent for Claude Code from vibeeval/vibecosystem. It costs 10 tokens per session (521 once invoked), scanned A, original, MIT.

A planner for moving databases or other systems from one structure or platform to another. It covers schema changes, data transfer, zero-downtime techniques, validation, and rollback plans.

In plain words
What is it for?
Use it to plan database schema changes, move data between stores such as SQL and NoSQL, design dual-write or blue-green migrations, validate results, and prepare rollback scripts.
Why use it?
It reduces the risk of lost data, long outages, or migrations that cannot be safely reversed.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

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.

agentmods
npx agentmods add agents/vibeeval/vibecosystem/migration-planner
Clone the repo
git clone --depth 1 https://github.com/vibeeval/vibecosystem

Made for: Claude Code.

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-planner

README.md
[![agentmods](https://agentmods.dev/badge/agents/vibeeval/vibecosystem/migration-planner.svg)](https://agentmods.dev/agents/vibeeval/vibecosystem/migration-planner)
Your own site
<a href="https://agentmods.dev/agents/vibeeval/vibecosystem/migration-planner"><img src="https://agentmods.dev/badge/agents/vibeeval/vibecosystem/migration-planner.svg" alt="Measured on agentmods" height="20"></a>
Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 521 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00010 $0.00521
Opus 5 $0.00005 $0.00260
Sonnet 5 $0.00002 $0.00104
Haiku 4.5 $0.00001 $0.00052

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

Security

Grade A, and why

migration-planner 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 2d 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.

agents/migration-planner.md · 74 lines

What it actually says

Agent: Migration Planner

Migrasyon planlama uzmanı. Schema migration, zero-downtime, data migration, rollback planning.

Görev

  • Migration strateji belirleme
  • Zero-downtime migration planı
  • Data migration pipeline tasarımı
  • Dual-write pattern implementasyonu
  • Rollback planı hazırlama
  • Validation script'leri yazma
  • Migration timeline oluşturma

Kullanım

  • Database schema değişikliklerinde
  • Sistem/platform migration'da
  • Framework/language upgrade'de
  • Data store değişikliğinde (SQL→NoSQL vb.)

Kurallar

Zero-Downtime Migration Fazları

Phase 1: EXPAND  → Yeni column/table ekle (nullable)
Phase 2: MIGRATE → Eski data'yı yeni yapıya kopyala
Phase 3: SWITCH  → App'i yeni yapıya yönlendir
Phase 4: CONTRACT → Eski yapıyı kaldır

Strateji Seçimi

Strateji Risk Downtime Karmaşıklık
Big bang Yüksek Uzun Düşük
Rolling Orta Kısa Orta
Blue-green Düşük Sıfır Yüksek
Strangler fig Çok düşük Sıfır Yüksek
Dual-write Düşük Sıfır Çok yüksek

Rollback Planı (ZORUNLU)

Her migration için:

  1. Rollback SQL/script hazır
  2. Test ortamında rollback test edilmiş
  3. Rollback süresi tahmin edilmiş
  4. Data loss riski değerlendirilmiş
  5. Communication plan (stakeholder bilgilendirme)

Checklist

  • Migration plan documented
  • Rollback script hazır ve test edilmiş
  • Zero-downtime stratejisi belirlenmiş
  • Data validation script'leri var
  • Staging'de test edilmiş
  • Performance impact değerlendirilmiş
  • Feature flag ile migration kontrol edilebilir
  • Monitoring/alerting migration sırasında aktif

İlişkili Skill'ler

  • migrate skill
  • postgres-patterns
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. 2d ago First seen · 74 lines · 10 tokens per session scan A a4de720ef426

Subscribe to this mod's changes

migration-planner is an agent published in the GitHub repository vibeeval/vibecosystem (530 stars, last pushed 28d ago), licensed MIT. It adds 10 tokens to every session and 521 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 agents, from other repositories

database-reviewer

Use when writing SQL queries, creating migrations, or troubleshooting database performance in Supabase/PostgreSQL projects. Reviews indexes, RLS policies, schema types, N+1 patterns. Read-only reviewer with EXPLAIN ANALYZE capability.

sangrokjung/claude-forge · 52 tokens

data-engineer

ETL pipelines, data warehousing, stream processing, and data infrastructure specialist. Use when building data pipelines, setting up warehouses, or implementing real-time data processing. Trigger phrases: ETL, pipeline, data warehouse, BigQuery, Snowflake, Redshift, Kafka, Airflow, dbt, streaming, data lake, data…

travisjneuman/.claude · 76 tokens

database-expert

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.

travisjneuman/.claude · 42 tokens

performance-optimizer

Identifies performance bottlenecks and optimization opportunities. Use when investigating slow code, optimizing queries, or improving load times.

travisjneuman/.claude · 28 tokens

Database

PostgreSQL/SQLite/Redis schema design, query optimization, and migration management.

intellegix/intellegix-code-agent-toolkit · 18 tokens

database-expert-csk

PostgreSQL + EF Core + Redis data-layer expert. Applies the db-migration skill. Use proactively — owns stored data: schema, entity/config, migrations, indexing, query shape, cache keying. Any request about it is yours whatever its size or wording.

byerlikaya/claude-starter-kit · 64 tokens