migration-engineer

migration-engineer is an agent for Claude Code from SyloRei/claude-godmode. It costs 51 tokens per session (862 once invoked), scanned A, original, MIT.

A migration assistant for changing database schemas, dependencies, frameworks, or API contracts safely. It maps affected users of the old setup, applies changes in reversible stages, and tests each stage.

In plain words
What is it for?
Use it for schema changes, dependency upgrades, framework version changes, and API migrations where existing callers or data need continued support during the transition.
Why use it?
Migrations can break code that still expects the previous structure or version. This assistant plans compatibility and rollback so the transition can be made incrementally.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Part of the claude-godmode plugin — 14 skills, 4 commands, 19 agents, 7 hooks, 3 MCP servers shipped together

Good fit Use it for schema changes, dependency upgrades, framework version changes, and API migrations where existing callers or data need continued support during the transition.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/sylorei/claude-godmode/migration-engineer
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.

Clone the repo
git clone --depth 1 https://github.com/SyloRei/claude-godmode

Made for: Claude Code.

Or install claude-godmode, the plugin that ships this one along with the rest of its 14 skills, 4 commands, 19 agents, 7 hooks, 3 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-engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/sylorei/claude-godmode/migration-engineer/github.svg)](https://agentmods.dev/agents/sylorei/claude-godmode/migration-engineer)
Your own site
<a href="https://agentmods.dev/agents/sylorei/claude-godmode/migration-engineer"><img src="https://agentmods.dev/badge/agents/sylorei/claude-godmode/migration-engineer/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-engineer

Your own site · 80×15
<a href="https://agentmods.dev/agents/sylorei/claude-godmode/migration-engineer"><img src="https://agentmods.dev/badge/agents/sylorei/claude-godmode/migration-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 862 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.00051 $0.00862
Opus 5.5 $0.00020 $0.00345
Sonnet 5.5 $0.00010 $0.00172
Haiku 4.5 $0.00005 $0.00086

Measured 1mo ago against content hash 78e08057e5d8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

migration-engineer 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.

agents/migration-engineer.md · 97 lines

How it starts

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

You are a senior engineer who specializes in safe migrations. You work in an isolated worktree so the main branch stays clean; on a normal no-change exit the SDK auto-cleans it, but a worktree abandoned by an abort mid-run can leak and is reaped by bin/godmode-worktree cleanup. You MUST NOT return until the migration is complete and all quality gates pass.

You treat backward compatibility and rollback as first-class requirements. A migration that cannot be reversed safely is not done.

Workflow

1. ASSESS

  • Read the current schema, dependency manifest, or framework usage
  • Map every consumer of what you are changing (callers, queries, configs)
  • Identify breaking changes and the compatibility surface

2. PLAN

  • State the migration in 3-5 bullets: what changes, in what order, what stays compatible
  • Define a rollback path for each step before writing it
  • Prefer expand-then-contract: add the new shape, migrate readers/writers, remove the old shape last

3. MIGRATE INCREMENTALLY

  • Apply one reversible step at a time
  • Keep old and new paths working together where a hard cutover would break consumers
  • After each step, run the test suite — it stays green throughout, not just at the end
  • Provide forward and rollback instructions for any data or schema change

4. VERIFY

  • Run the full quality-gate suite (below) after the final step, not just the per-step tests
  • Confirm every consumer mapped in ASSESS still works against the new shape
  • Exercise the rollback path once to prove it reverses cleanly
  • Document the forward and rollback instructions in the output

Quality gates (Canonical — from godmode-quality.md)

ALL must pass before returning:

  1. Typecheck passes (zero errors)
  2. Lint passes (zero errors)
  3. All tests pass (existing + new)
  4. No hardcoded secrets in the diff
  5. No regressions for existing consumers
  6. Each migration step is reversible and documented
Quality Gates:
  [✓/✗] Typecheck
  [✓/✗] Lint
  [✓/✗] Tests (green at every step)
  [✓/✗] No secrets
  [✓/✗] Rollback path verified

Read the full file on GitHub · 97 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. 1mo ago First seen · 97 lines · 51 tokens per session scan A 78e08057e5d8

Subscribe to this mod's changes

migration-engineer is an agent published in the GitHub repository SyloRei/claude-godmode (3 stars, last pushed 4mo ago), licensed MIT. It adds 51 tokens to every session and 862 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-31.

Related

Other agents, from other repositories

doctrine-architect

Designs Doctrine entity schemas, relationships, and migration strategies. Analyzes existing entities, proposes schema changes, and plans migration paths before implementation. Use for entity design, relationship modeling, or migration planning.

dev-toolings/superpowers-symfony · 46 tokens

doctrine-performance-optimizer

Read-only performance audit of Doctrine usage: N+1 queries, fetch modes, batch processing, missing indexes, and caching opportunities. Use proactively after adding entities, relations, repository queries, or when a page/endpoint is reported slow.

dev-toolings/superpowers-symfony · 53 tokens

db-postgres-expert

Use this agent when you need expert PostgreSQL database management, optimization, and architecture guidance. This agent specializes in PostgreSQL 16+ features, advanced SQL queries, indexing strategies, performance tuning, replication, and high-availability configurations. Examples: Context: User needs to optimize…

andisab/swe-marketplace · 403 tokens

engineer

Software engineer specialist (IRC handle @dev) dispatched to write and test application code, database schema migrations, and infrastructure configuration files.

NexaDuo/mARC · 30 tokens

backend-architect

Use this agent when designing APIs, building server-side logic, implementing databases, or architecting scalable backend systems. This agent specializes in creating robust, secure, and performant backend services. Examples:\n\n \nContext: Designing a new API\nuser: "We need an API for our social sharing…

composio-community/awesome-claude-plugins · 0 tokens

data-modeler

Turns requirements into a sound database schema plus a safe migration path. Use when designing tables, relationships, and constraints, or planning a schema change.

emtcmca/promptsmith · 33 tokens