migrate

migrate is a skill for Claude Code from aoreshkov/kotlin-lib-mcp. It costs 32 tokens per session (539 once invoked), scanned A, original, Apache-2.0.

A tool for comparing the public functions and types of two versions of a Kotlin or Java library, then checking which changes affect your project.

In plain words
What is it for?
Use it to prepare a library upgrade report, find removed or changed classes and functions, and locate the affected code in a Gradle or Maven project.
Why use it?
It shows upgrade problems before they become confusing build or runtime failures. It focuses on changed library features that your code actually uses.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Part of the kotlin-lib plugin — 4 skills, 1 MCP server shipped together

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 skills/aoreshkov/kotlin-lib-mcp/migrate
Any agent
npx skills add aoreshkov/kotlin-lib-mcp --skill migrate
Clone the repo
git clone --depth 1 https://github.com/aoreshkov/kotlin-lib-mcp

Made for: Claude Code.

Or install kotlin-lib, the plugin that ships this one along with the rest of its 4 skills, 1 MCP server.

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 migrate

README.md
[![agentmods](https://agentmods.dev/badge/skills/aoreshkov/kotlin-lib-mcp/migrate.svg)](https://agentmods.dev/skills/aoreshkov/kotlin-lib-mcp/migrate)
Your own site
<a href="https://agentmods.dev/skills/aoreshkov/kotlin-lib-mcp/migrate"><img src="https://agentmods.dev/badge/skills/aoreshkov/kotlin-lib-mcp/migrate.svg" alt="Measured on agentmods" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 539 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.1 $0.00032 $0.00539
Opus 5 $0.00016 $0.00269
Sonnet 5 $0.00006 $0.00108
Haiku 4.5 $0.00003 $0.00054

Measured 6d ago against content hash 25d99bfdf851, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

migrate 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 6d 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.

plugin/skills/migrate/SKILL.md · 42 lines

What it actually says

Upgrade impact report

Arguments: $ARGUMENTSgroup:artifact plus the two versions to compare. If the target version is missing, use get_latest_version. If the source version is missing, read the one the project currently depends on from gradle/libs.versions.toml, the build script, or pom.xml.

Steps:

  1. fetch_library both coordinates: group:artifact:<from> and group:artifact:<to>.
  2. list_packages on both. Packages that appear or disappear are the loudest signal — report them first.
  3. list_declarations (public) per shared package on both versions. Page through with maxResults/offset; do not truncate silently — if you stopped early, say where.
  4. Classify every difference:
    • Removed — gone in the new version. Breaking.
    • Changed — same FQ name, different signature (get_api_signature on both). Breaking if the parameter list, receiver, nullability or generics moved.
    • Added — new surface. Worth mentioning only where it replaces something removed.
  5. For each removed or changed symbol, search the workspace for real usages (Grep on the simple name, then confirm the import). A break nobody calls is a footnote, not a task.
  6. get_kdoc on the replacement candidates — deprecation notices and @since/@see tags in the new version usually name the intended migration path. search_source on the old name in the new version often finds the renamed symbol directly.
  7. get_dependencies on both, so a transitive bump that comes along for the ride is not a surprise.

Report as:

  • Verdict line — how many breaking changes actually touch this codebase.
  • Table: symbol · what changed · files affected · suggested replacement.
  • Notes: API additions worth adopting, dependency-tree changes, packages added/removed.
  • What you did not check — pages you stopped short of, packages skipped, anything only reachable through reflection or a service loader, which this diff cannot see.

Do not edit any code as part of this report. Land the analysis first; the user decides what to change.

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. 6d ago First seen · 42 lines · 32 tokens per session scan A 25d99bfdf851

Subscribe to this mod's changes

migrate is a skill published in the GitHub repository aoreshkov/kotlin-lib-mcp (8 stars, last pushed yesterday), licensed Apache-2.0. It adds 32 tokens to every session and 539 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

compose-animations

Use when writing or reviewing Jetpack Compose motion: visibility enter/exit, animating one property toward a target, color or size transitions, multiple properties from one state, switching composable content, or choosing between AnimatedVisibility, animateAsState, rememberTransition, AnimatedContent, and Crossfade.

chrisbanes/skills · 64 tokens

compose-focus-navigation

Use when writing or reviewing Jetpack Compose UI for TV, keyboard, desktop, accessibility focus, D-pad navigation, FocusRequester, focusProperties, key events, or initial focus behavior.

chrisbanes/skills · 41 tokens

kotlin-control-flow

Use when writing or reviewing Kotlin branching and control flow: when expressions, guard conditions, sealed type exhaustiveness, smart casts, nullable branching, early returns, or replacing complex if/else chains.

chrisbanes/skills · 44 tokens

using-chrisbanes-skills

Use when debugging, benchmarking, or profiling leads into Kotlin or Jetpack Compose source before the cause is known, or when one task spans multiple Kotlin or Compose concerns, especially plain Kotlin Flow or navigation delivery plus sealed branching.

chrisbanes/skills · 52 tokens

kotlin-concurrency-and-flow

Use when writing or reviewing Kotlin coroutine scope ownership, raw Thread or Executor work, init launches, non-suspending launch APIs, runBlocking, cancellation, StateFlow, SharedFlow, Channel, stateIn, SharingStarted, state updates, or one-shot events.

chrisbanes/skills · 60 tokens

kotlin-api-design

Use when designing or reviewing Kotlin function ownership, member or extension functions, factories, single-field domain types, value classes, data classes, Kotlin Multiplatform expect/actual declarations, or platform service boundaries.

chrisbanes/skills · 46 tokens