migrate

migrate is a skill for Claude Code from aoreshkov/kotlin-lib-mcp. It costs 32 tokens per session (1,176 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

Good fit 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.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aoreshkov/kotlin-lib-mcp/migrate
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 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/github.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/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 migrate

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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 1,176 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.00032 $0.01176
Opus 5.5 $0.00013 $0.00470
Sonnet 5.5 $0.00006 $0.00235
Haiku 4.5 $0.00003 $0.00118

Measured 1mo ago against content hash 6ec530f8acd5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

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

How it starts

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

Upgrade impact report

Arguments: $ARGUMENTS — group: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>. diff_api compares the two cached indexes and downloads nothing, so it fails on a version that was not fetched.
  2. diff_api with fromVersion and toVersion. Fields that are zero, false or empty are left out of the result, so a missing removed means none and a missing truncated means the page is complete. Read the summary before the page:
    • added / removed / changed / deprecated count the whole comparison, so they are the shape of the release in four numbers.
    • packagesAdded / packagesRemoved are the loudest signal — report them first. packagesTruncated: true means those lists were capped.
    • Then page changes with maxResults: 500 and offset while truncated is true. On a large release, pass change (removed, then changed, then deprecated) rather than paging through added entries you will not report; the summary counts are unaffected by it. Do not truncate silently — if you stopped early, say where.
  3. Classify every entry:
    • removed — breaking. Its deprecation is the one it carried before it went, which is where the author named the replacement.
    • changed — same FQ name, fromSignature → toSignature. Breaking if the parameter list, receiver, nullability or generics moved. A new trailing parameter with a default still compiles for Kotlin callers; say so rather than flag it.
    • deprecated — newly deprecated, or at a stricter level. error and hidden break the build like a removal; warning compiles and is a follow-up, not a blocker.
    • added — worth mentioning only where it replaces something removed.
    • A removed and an added with the same fqName and kind are usually one overload whose signature changed: overloads are matched by signature, so changing several at once reads as removals plus additions. Report the pair as one change.
    • approximate: true — one side was read from unresolved declaration text, so the difference may be formatting alone. Compare get_api_signature on both versions before calling it breaking.
    • A signature carrying an opt-in marker (@InternalAPI, or any annotation the library declares with @RequiresOptIn) was never supported API. diff_api does not filter these, so report a change to one only where this codebase opted in to it.
  4. For each removed, changed or deprecated symbol, search the workspace for real usages (Grep on the simple name, then confirm the import — or a same-package or star import). A break nobody calls is a footnote, not a task.
  5. Suggest a replacement for each break that has usages:
    • deprecation.replaceWith first — the library author's own migration. It may name the old declaration's parameters (newGreet(name)); substitute the call site's arguments, and add deprecation.replaceWithImports.
    • Only without one: get_kdoc on the old symbol in the from version (deprecation notes, @see), then search_source in the to version for the renamed symbol. Mark a replacement found this way as inferred.
  6. get_dependencies on both, so a transitive bump that comes along for the ride is not a surprise.

If the summary has no counts at all for a release you know changed the API, the declarations were most likely Java — diff_api sees Kotlin declarations only. Fall back to diff_versions for the source diff and say that the report is built from text, not from the API.

Report as:

  • Verdict line — how many breaking changes actually touch this codebase.
  • Table: symbol · what changed · files affected · suggested replacement (author's or inferred).
  • Notes: API additions worth adopting, warning-level deprecations to schedule, dependency-tree changes, packages added/removed.
  • What you did not check — pages you stopped short of, approximate entries left unconfirmed, and what diff_api does not model: @PublishedApi internal declarations (which inline functions compile into callers), binary-only changes, and anything reachable only through reflection or a service loader.

Read the full file on GitHub · 77 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 Changed · +35 lines 6ec530f8acd5
  2. 3mo 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 (16 stars, last pushed yesterday), licensed Apache-2.0. It adds 32 tokens to every session and 1,176 once invoked, about $0.0001 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-08-31.

Related

migrate compared with skills from other repositories

migrate next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
migrateaoreshkov/kotlin-lib-mcpSkill16yesterdayApache-2.0A32Claude Code
compose-animationschrisbanes/skillsSkill1.2k2d agoApache-2.0A67Claude Code
compose-focus-navigationchrisbanes/skillsSkill1.2k2d agoApache-2.0A41Claude Code
release-kotlin-librarychrisbanes/skillsSkill1.2k2d agoApache-2.0A46Claude Code
using-chrisbanes-skillschrisbanes/skillsSkill1.2k2d agoApache-2.0A38Claude Code
kotlin-concurrency-and-flowchrisbanes/skillsSkill1.2k2d agoApache-2.0A60Claude Code
kotlin-api-designchrisbanes/skillsSkill1.2k2d agoApache-2.0A46Claude Code