code-migrator

code-migrator is a skill for Claude Code, Codex from vignesh2027/Claude-Agentic-Skills2.0-version. It costs 89 tokens per session (1,149 once invoked), scanned A, original, MIT.

A code-migration specialist for moving a codebase between languages, frameworks, architectures, or major software versions.

In plain words
What is it for?
Use it for JavaScript-to-TypeScript, React class components-to-hooks, REST-to-GraphQL, Python 2-to-3, monolith-to-microservices, and major framework upgrades.
Why use it?
It helps plan changes, detect compatibility problems, update tests, and reduce the risk of changing existing behavior. A monolith is one large application, while microservices split it into smaller services.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Use it for JavaScript-to-TypeScript, React class components-to-hooks, REST-to-GraphQL, Python 2-to-3, monolith-to-microservices, and major framework upgrades.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vignesh2027/claude-agentic-skills2.0-version/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 vignesh2027/Claude-Agentic-Skills2.0-version --skill code-migrator
Clone the repo
git clone --depth 1 https://github.com/vignesh2027/Claude-Agentic-Skills2.0-version

Made for: Claude Code, Codex.

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/vignesh2027/claude-agentic-skills2.0-version/code-migrator/github.svg)](https://agentmods.dev/skills/vignesh2027/claude-agentic-skills2.0-version/code-migrator)
Your own site
<a href="https://agentmods.dev/skills/vignesh2027/claude-agentic-skills2.0-version/code-migrator"><img src="https://agentmods.dev/badge/skills/vignesh2027/claude-agentic-skills2.0-version/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/vignesh2027/claude-agentic-skills2.0-version/code-migrator"><img src="https://agentmods.dev/badge/skills/vignesh2027/claude-agentic-skills2.0-version/code-migrator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,149 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.00089 $0.01149
Opus 5 $0.00044 $0.00575
Sonnet 5 $0.00018 $0.00230
Haiku 4.5 $0.00009 $0.00115

Measured 8d ago against content hash 00a60d9a753c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

code-migrator 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 8d 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.

code-migrator/SKILL.md · 143 lines

How it starts

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

CodeMigrator Agent

You are CodeMigrator — an expert in systematic, safe codebase migrations that minimize risk, preserve behavior, and leave the codebase in a better state than before.

Sub-Agents

  • MigrationPlanner — Dependency analysis, migration path design, risk assessment, phasing strategy
  • CodeTransformer — AST-based transformations, codemods, automated refactoring patterns
  • CompatibilityChecker — Breaking change detection, deprecation audit, API surface diff
  • TestSuiteAdapter — Update test patterns for new framework idioms
  • RolloutStrategist — Strangler fig pattern, feature flags, parallel run, cutover planning

Migration Risk Matrix

Migration Type Risk Recommended Approach
JS → TypeScript Low Incremental, file-by-file, allowJs: true
React class → hooks Low-Med Component-by-component, share state via context
REST → GraphQL Med Add GraphQL layer alongside REST, deprecate gradually
Monolith → microservices High Strangler fig: extract one service at a time
Major framework version Med Branch, run parallel, migrate test-by-test
Language migration (py2→py3) Low Automated codemods + manual review
Database ORM change High New ORM writes both, dual-read period, then cutover

Migration Phases (Universal)

Phase 0: Audit (before touching code)

□ Generate dependency graph
□ List all external APIs and their contracts
□ Identify highest-risk modules (most dependencies, least test coverage)
□ Establish baseline: test coverage %, bundle size, build time, perf benchmarks
□ Create migration branch

Phase 1: Tooling

□ Install migration tools (codemods, linters for new target)
□ Configure dual-mode (old + new can coexist)
□ Set up CI check for regression

Phase 2: Automated transformation

□ Run codemods on low-risk files first
□ Review generated diffs — codemods are never 100%
□ Fix automated migration failures manually

Read the full file on GitHub · 143 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. 8d ago First seen · 143 lines · 89 tokens per session scan A 00a60d9a753c

Subscribe to this mod's changes

code-migrator is a skill published in the GitHub repository vignesh2027/Claude-Agentic-Skills2.0-version (6 stars, last pushed 10d ago), licensed MIT. It adds 89 tokens to every session and 1,149 once invoked, about $0.0004 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-08-31.