code-migrator

code-migrator is a skill for Claude Code from glincker/claude-code-marketplace. It costs 23 tokens per session (3,303 once invoked), scanned A, original, Apache-2.0.

A tool for updating older code to newer languages, frameworks, or design patterns. It supports migrations such as Python 2 to Python 3, JavaScript to TypeScript, Vue 2 to Vue 3, and monoliths to microservices.

In plain words
What is it for?
Use it to modernize language syntax, upgrade frameworks, convert architectural patterns, resolve related dependencies, generate tests, and assess migration risks.
Why use it?
It helps reduce the manual work involved in changing a legacy codebase while addressing dependencies, tests, and migration risks.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to modernize language syntax, upgrade frameworks, convert architectural patterns, resolve related dependencies, generate tests, and assess migration risks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/glincker/claude-code-marketplace/code-migrator
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.

Any agent
npx skills add glincker/claude-code-marketplace --skill code-migrator
Clone the repo
git clone --depth 1 https://github.com/glincker/claude-code-marketplace

Made for: Claude Code.

Its marketplace also offers this one on its own, as the plugin code-migrator — /plugin install code-migrator after adding the marketplace above.

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 code-migrator

README.md
[![agentmods](https://agentmods.dev/badge/skills/glincker/claude-code-marketplace/code-migrator/github.svg)](https://agentmods.dev/skills/glincker/claude-code-marketplace/code-migrator)
Your own site
<a href="https://agentmods.dev/skills/glincker/claude-code-marketplace/code-migrator"><img src="https://agentmods.dev/badge/skills/glincker/claude-code-marketplace/code-migrator/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 code-migrator

Your own site · 80×15
<a href="https://agentmods.dev/skills/glincker/claude-code-marketplace/code-migrator"><img src="https://agentmods.dev/badge/skills/glincker/claude-code-marketplace/code-migrator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,303 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00023 $0.03303
Opus 5.5 $0.00009 $0.01321
Sonnet 5.5 $0.00005 $0.00661
Haiku 4.5 $0.00002 $0.00330

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

Security

Grade A, and why

code-migrator scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

1. urllib → urllib.request (34 occurrences)
skills/development/code-migrator/SKILL.md · 535 lines

How it starts

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

Code Migrator

⚡ UNIQUE FEATURE: Automated legacy code modernization with AI-powered migration paths, dependency resolution, test generation, and risk analysis. Migrate between languages, frameworks, or architectural patterns with confidence.

What This Skill Does

Intelligently migrates codebases with minimal manual intervention:

Language Migrations

  • Python 2 → Python 3: Syntax, imports, unicode handling
  • JavaScript → TypeScript: Type inference and definitions
  • Java 8 → Java 17+: Modern language features
  • Angular.js → React/Vue: Complete framework migration
  • PHP 5 → PHP 8: Modernize deprecated features
  • Ruby 2 → Ruby 3: Update syntax and gems

Framework Upgrades

  • React Class → Hooks: Convert class components
  • Vue 2 → Vue 3: Composition API migration
  • Django 2 → Django 4: Settings and ORM updates
  • Rails 5 → Rails 7: Modern Rails patterns
  • Express 4 → Express 5: Route handlers, middleware

Architectural Migrations

  • Monolith → Microservices: Service extraction
  • REST → GraphQL: API transformation
  • Callback Hell → Async/Await: Promise modernization
  • MVC → Component-Based: Architecture refactoring

Why This Is Revolutionary

First migration skill with:

  • AI-powered analysis: Understands code context and intent
  • Risk assessment: Identifies high-risk changes
  • Incremental migration: Migrate module by module
  • Automated testing: Generates tests to verify migration
  • Rollback support: Safe migration with undo capability
  • Dependency resolution: Automatically updates imports and packages
  • Pattern recognition: Identifies and modernizes anti-patterns

Instructions

Phase 1: Migration Discovery & Analysis

  1. Identify Migration Type:

    Ask user:
    - What are you migrating FROM?
    - What are you migrating TO?
    - Full codebase or specific modules?
    - Any constraints or requirements?
    
  2. Analyze Current State:

    # Discover project structure
    Use Glob to find all source files
    Use Grep to identify:
    - Framework versions
    - Import patterns
    - Deprecated APIs
    - Code smells
    

Read the full file on GitHub · 535 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 535 lines · 23 tokens per session scan A 412b8989605a

Subscribe to this mod's changes

code-migrator is a skill published in the GitHub repository glincker/claude-code-marketplace (37 stars, last pushed 19d ago), licensed Apache-2.0. It adds 23 tokens to every session and 3,303 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

language-version-migrator

Ports a codebase across a breaking language or runtime version with compatibility shims, batched automated transforms, dual-runtime CI, and old-vs-new output diffing, ending in a flag-flip cutover with a rollback rule. Use when someone says "migrate us from Python 2 to 3", "we're jumping Node majors", "move to the…

SkillMedev/legacy-modernization · 170 tokens

dotnet-modernization

Structured guidance for assessing and executing modernization from .NET Framework or older .NET targets to modern .NET. USE FOR: inventory a legacy .NET solution, plan phased .NET upgrade, review NuGet and framework compatibility, define modernization test and release gates, remediate breaking changes during…

ivegamsft/basecoat · 91 tokens

fp-refactor

Comprehensive guide for refactoring imperative TypeScript code to fp-ts functional patterns.

whatiskadudoing/fp-ts-skills · 19 tokens

flet-best-practices

Idiomatic guide for Flet 1.0 applications. Covers declarative UI, hooks, observable state, services, async execution model, and breaking API changes from v0.x. Use this skill to write modern Flet code, migrate imperative apps to reactive patterns, apply breaking changes correctly, and avoid common pitfalls.

mykaro/ai-skills · 74 tokens

cudaq-importing

Use when porting circuits from another framework (e.g. Qiskit) into CUDA-Q kernels while preserving the source algorithm and validation fidelity.

NVIDIA/skills · 34 tokens

code-simplifier

Simplify and clean up code after changes are complete. Reduces complexity, improves readability, and ensures consistency.

brycewang-stanford/Auto-Empirical-Research-Skills · 27 tokens