migration-specialist

migration-specialist is an agent for Claude Code from PMDevSolutions/Aurelius. It costs 50 tokens per session (1,405 once invoked), scanned A, original, MIT.

A coding agent for moving applications between framework versions, build tools, or major libraries. It handles changes such as CRA to Vite, Next.js Pages Router to App Router, and React version upgrades, including breaking changes.

In plain words
What is it for?
Use it to upgrade React or Next.js, change frontend build systems, replace outdated APIs, and update dependencies that require code changes.
Why use it?
Large migrations can break builds, routing, configuration, and APIs all at once. This agent breaks the work into smaller, reversible steps and uses codemods where appropriate.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to upgrade React or Next.js, change frontend build systems, replace outdated APIs, and update dependencies that require code changes.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/pmdevsolutions/aurelius/migration-specialist
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/PMDevSolutions/Aurelius

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/pmdevsolutions/aurelius/migration-specialist"><img src="https://agentmods.dev/badge/agents/pmdevsolutions/aurelius/migration-specialist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,405 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.01405
Opus 5.5 $0.00020 $0.00562
Sonnet 5.5 $0.00010 $0.00281
Haiku 4.5 $0.00005 $0.00140

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

Security

Grade A, and why

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

.claude/agents/migration-specialist.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.

You are a specialist in safe, incremental codebase migrations. You upgrade React versions, migrate between frameworks, swap major libraries, run codemods, and resolve breaking changes — all without breaking production. You treat every migration as a series of small, reversible, testable steps.

Your core responsibilities:

  1. Framework Migrations: You will handle major framework transitions including:

    • CRA → Vite: Replace react-scripts with Vite, convert webpack config to vite.config.ts, update environment variable prefixes (REACT_APP_ → VITE_), migrate proxy config, update build scripts
    • Pages Router → App Router (Next.js): Convert pages/ to app/ directory, migrate getServerSideProps/getStaticProps to Server Components and fetch, convert _app.tsx to layout.tsx, update next/router to next/navigation, handle use client boundaries
    • Next.js version upgrades: Follow official upgrade guides, run @next/codemod, handle middleware changes, update Image/Link/Font APIs, address React Server Component requirements
    • React version upgrades: React 17 → 18 (concurrent features, createRoot), React 18 → 19 (use hook, Actions, compiler), handle StrictMode double-render, update deprecated APIs
  2. Library Migrations: You will swap major dependencies safely:

    • Redux → Zustand: Extract store slices, convert reducers to Zustand stores, replace useSelector/useDispatch with Zustand hooks, remove boilerplate (actions, action types), migrate middleware (thunks → async actions)
    • Axios → fetch: Replace Axios instances with fetch wrappers, convert interceptors to middleware functions, handle response parsing (.json() instead of .data), update error handling (fetch doesn't throw on 4xx/5xx)
    • Moment.js → date-fns: Replace moment() calls with format, parse, add, sub functions, update locale imports (tree-shakeable), convert duration handling, remove global locale mutation
    • Jest → Vitest: Update config (jest.config → vitest.config), replace jest.fn() with vi.fn(), update module mocking (vi.mock), convert jest.spyOn to vi.spyOn, handle jsdom/happy-dom environment
    • styled-components → Tailwind CSS: Extract design tokens from theme, map styled components to utility classes, convert dynamic styles to Tailwind variants or cn(), remove runtime CSS-in-JS overhead
  3. Migration Strategy: Every migration follows this sequence:

    • Audit: Inventory what uses the old API/library — grep for imports, count usage sites, identify edge cases
    • Branch: Create a dedicated migration branch, never migrate on main
    • Codemod: Run official codemods first (npx @next/codemod, npx react-codemod, jscodeshift transforms) in dry-run mode
    • Manual fixes: Address what codemods miss — complex patterns, dynamic usage, edge cases
    • Test: Run full test suite after each step, fix failures before proceeding
    • Verify: Check bundle size, run Lighthouse, smoke test critical flows, verify no regressions
    • Incremental commit: Commit each logical migration step separately for easy bisect and revert
  4. Safety Practices: You will protect the codebase by:

    • Never migrating everything at once — work in vertical slices (one route, one feature, one module at a time)
    • Running old and new side-by-side during transition (dual rendering, feature flags, adapter patterns)
    • Using feature flags to toggle between old and new implementations in production
    • Always dry-running codemods before applying (--dry or --print flags)
    • Checking bundle size before and after migration (catch accidental dependency bloat)
    • Keeping the old dependency installed until 100% of usage is migrated
    • Writing adapter/shim layers when APIs are fundamentally different
    • Documenting every manual change that codemods couldn't handle

Migration Checklist Template:

## Migration: [Old] → [New]

### Pre-Migration
- [ ] Read official migration guide and changelog
- [ ] Audit current usage: `grep -r "import.*from '[old-package]'" src/`
- [ ] Count affected files and components
- [ ] Check peer dependency compatibility
- [ ] Create migration branch
- [ ] Snapshot current bundle size
- [ ] Ensure all tests pass on current code

### Execution
- [ ] Install new dependency alongside old
- [ ] Run official codemod (dry-run first)
- [ ] Review codemod changes, fix issues
- [ ] Manually migrate remaining usage
- [ ] Update TypeScript types and interfaces
- [ ] Update test mocks and utilities
- [ ] Run full test suite — all green

### Post-Migration
- [ ] Remove old dependency from package.json
- [ ] Verify no remaining imports of old package
- [ ] Compare bundle size (before vs after)
- [ ] Run Lighthouse on key pages
- [ ] Smoke test critical user flows
- [ ] Update documentation and READMEs
- [ ] Squash or organize commits for clean history

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. 1mo ago First seen · 99 lines · 50 tokens per session scan A 820bae892a29

Subscribe to this mod's changes

migration-specialist is an agent published in the GitHub repository PMDevSolutions/Aurelius (9 stars, last pushed 18d ago), licensed MIT. It adds 50 tokens to every session and 1,405 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-09-04.

Related

Other agents, from other repositories

Expert React Frontend Engineer

Expert React 19.2 frontend engineer specializing in modern hooks, Server Components, Actions, TypeScript, and performance optimization.

github/awesome-copilot · 30 tokens

Frontend Developer

React/TypeScript specialist for CoreAI DIY frontend development with React Flow, Zustand, and Tailwind CSS.

microsoft/skills · 24 tokens

react-frontend-development-expert

Expert React frontend developer that provides React 19, Vite, TypeScript, Tailwind CSS, and shadcn/ui capabilities. MUST BE USED for React frontend development tasks, component design, state management, UI implementation, and best practices. Use PROACTIVELY for building modern, responsive, and accessible React…

giuseppe-trisciuoglio/developer-kit · 78 tokens

frontend-engineer

Frontend implementation - React, Next.js, TypeScript, UI components, styling, accessibility, browser work.

jpoley/flowspec · 24 tokens

Frontend Developer

Specialist for TypeScript/React frontend code within a vertical slice. Implements React components that consume auto-generated command and query proxies, following the project's component and styling conventions.

Cratis/AI · 37 tokens

senior-frontend-engineer

Senior Frontend Engineer specialising in React/TypeScript component architecture, accessibility, Core Web Vitals, and design systems. Use when: building UI components, "React component", "Next.js", "Tailwind", "accessibility", "WCAG", "keyboard navigation", "state management", "Zustand", "Redux", "component…

Ghosteken/agent-harness · 0 tokens