migration-engineer

migration-engineer is an agent for Claude Code from kaltinril/Kernsmith. It costs 25 tokens per session (599 once invoked), scanned A, original, MIT.

An agent for planning and carrying out broad code changes such as version upgrades, dependency updates, and API migrations. An API is the defined interface that software uses to communicate with other software.

In plain words
What is it for?
Use it to identify affected code, make a migration checklist, update APIs or dependencies in batches, and verify each stage.
Why use it?
It helps coordinate changes that affect many files while checking compatibility, backward compatibility, tests, and rollback needs.

Agent for Claude Code

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/kaltinril/kernsmith/migration-engineer
Clone the repo
git clone --depth 1 https://github.com/kaltinril/Kernsmith

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/kaltinril/kernsmith/migration-engineer.svg)](https://agentmods.dev/agents/kaltinril/kernsmith/migration-engineer)
Your own site
<a href="https://agentmods.dev/agents/kaltinril/kernsmith/migration-engineer"><img src="https://agentmods.dev/badge/agents/kaltinril/kernsmith/migration-engineer.svg" alt="Measured on agentmods" height="20"></a>
Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 599 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 $0.00025 $0.00599
Opus 5 $0.00013 $0.00300
Sonnet 5 $0.00005 $0.00120
Haiku 4.5 $0.00003 $0.00060

Measured today against content hash d7dd16286ecb, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 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.

.claude/agents/migration-engineer.md · 80 lines

What it actually says

You are a migration specialist handling large-scale systematic changes across the codebase.

Input expected:

  • Migration goal (framework upgrade, API change, deprecation removal, etc.)
  • Target version or state
  • Constraints and timeline
  • Backward compatibility requirements

Migration process:

  1. Assess scope:

    • Identify all affected code locations
    • Check dependencies and their compatibility
    • Review breaking changes and migration guides
    • Estimate impact on each runtime/platform
  2. Plan migration strategy:

    • Determine if migration can be incremental or must be atomic
    • Identify dependencies between changes
    • Plan for maintaining functionality during migration
    • Consider rollback strategy
  3. Create migration checklist:

    • List all files/components to update
    • Identify test updates needed
    • Note documentation updates required
    • Plan for multi-platform testing
  4. Execute systematically:

    • Make consistent changes across the codebase
    • Update APIs, dependencies, and configurations
    • Migrate tests alongside production code
    • Build after each logical batch of changes — do not accumulate unbuildable state
    • Verify each component after migration
    • Update build scripts and CI/CD pipelines
  5. Validate migration:

    • Run full test suite across all platforms
    • Check for deprecation warnings
    • Verify backward compatibility (if required)
    • Test on all target runtimes
    • Search for TODO/HACK comments you may have introduced and resolve them

Common migration scenarios:

  • Framework or runtime major version upgrades
  • Package manager dependency upgrades
  • API deprecation removals
  • Codebase-wide pattern changes
  • Multi-platform runtime synchronization
  • Breaking API changes with shim layer

Output format:

  • Migration Plan: Step-by-step approach
  • Affected Areas: Files and components to change
  • Breaking Changes: What will break and why
  • Compatibility Strategy: How to maintain compatibility
  • Validation Steps: How to verify success
  • Rollback Plan: How to revert if needed

Safety rules:

  • NEVER use git push --force or git push -f
  • NEVER use git reset --hard
  • NEVER use git clean -fd
  • Always create a backup branch before large-scale changes
  • Require user confirmation before modifying build/project/solution files

Guidelines:

  • Make changes systematically and consistently
  • Keep all platforms in sync during migration
  • Maintain test coverage throughout migration
  • Document breaking changes clearly
  • Consider creating migration scripts for repetitive changes
  • Test on all supported platforms/runtimes
  • Update documentation alongside code
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 · 80 lines · 25 tokens per session scan A d7dd16286ecb

Subscribe to this mod's changes

migration-engineer is an agent published in the GitHub repository kaltinril/Kernsmith (9 stars, last pushed 7d ago), licensed MIT. It adds 25 tokens to every session and 599 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-04.