Official agent skill

Kotlin Tooling Agp9 Migration

by JetBrains in JetBrains/skills

Migrates Kotlin Multiplatform (KMP) projects to Android Gradle Plugin 9.0+.

OfficialApache-2.0Auto-check passedMobile

Install Kotlin Tooling Agp9 Migration

skills CLI
$ npx skills add JetBrains/skills --skill kotlin-tooling-agp9-migration -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install JetBrains/skills kotlin-tooling-agp9-migration --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/JetBrains/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/kotlin-tooling-agp9-migration .claude/skills/kotlin-tooling-agp9-migration && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
kotlin-tooling-agp9-migration
GitHub stars
366
Used in
2 other repos
Token cost
~5.6k tokens
SKILL.md length
1,893 words
Files
10 (incl. scripts, references, assets)
Skills in repo
76
Repo updated
First seen
Licence
Apache-2.0

At a glance

Migrates Kotlin Multiplatform (KMP) projects to Android Gradle Plugin 9.0+.

  • Build fails due to KMP+AGP incompatibility
  • SKILL.md covers Step 0: Analyze the Project, Path A: Library Module Migration, Path B: Android App + Shared… and Path C: Full Restructure…, plus 8 more sections
  • Runs Shell scripts from its folder
  • The user mentions AGP 9.0

What it does

Kotlin Tooling Agp9 Migration is an agent skill from JetBrains/skills, published by the product's own GitHub organization. Migrates Kotlin Multiplatform (KMP) projects to Android Gradle Plugin 9.0+. Handles plugin replacement (com.android.kotlin.multiplatform.library), module splitting, DSL migration, and the new default project structure. Use when upgrading AGP, when build fails due to KMP+AGP incompatibility, or when the user mentions AGP 9.0, android multiplatform plugin, KMP migration, or com.android.kotlin.multiplatform.library.

Its SKILL.md is about 5.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 12 other files, including scripts, reference files and assets (for example `assets/checklist.md`, `references/DSL-REFERENCE.md` and `references/KNOWN-ISSUES.md`).

It sits in Mobile, covering Android development and Cross-platform mobile apps. It works with Kotlin, Android, Gradle and JetBrains IDEs. The repository describes itself as: Curated agent skills collection verified by JetBrains. The licence is Apache-2.0.

When your agent uses it

  • Build fails due to KMP+AGP incompatibility
  • The user mentions AGP 9.0
  • Android multiplatform plugin
  • Com.android.kotlin.multiplatform.library

Example prompts

  • “Use the kotlin-tooling-agp9-migration skill to migrate Kotlin Multiplatform (KMP) projects to Android Gradle Plugin 9.0+”
  • “/kotlin-tooling-agp9-migration”

Requirements

  • A Bash shell

What it can do on your machine

Read from SKILL.md and the folder at commit e0f258b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Shell), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Kotlin Tooling Agp9 Migration loads about 5.6k tokens when it runs, and up to ~25k if it reads all its reference files. Until then it costs about 112 tokens; SKILL.md has 1,893 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~112
When it runs · the whole SKILL.md, loaded when a task matches
~5.6k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~25k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from JetBrains/skills at commit e0f258b, republished under its Apache-2.0 licence (© JetBrains). 1,893 words, ~5,576 tokens.

Download SKILL.mdSave it as .claude/skills/kotlin-tooling-agp9-migration/SKILL.md (or your agent's skills folder). This skill also uses 9 other files; get the full folder from GitHub.
name
kotlin-tooling-agp9-migration
description
Migrates Kotlin Multiplatform (KMP) projects to Android Gradle Plugin 9.0+. Handles plugin replacement (com.android.kotlin.multiplatform.library), module splitting, DSL migration, and the new default project structure. Use when upgrading AGP, when build fails due to KMP+AGP incompatibility, or when the user mentions AGP 9.0, android multiplatform plugin, KMP migration, or com.android.kotlin.multiplatform.library.
license
Apache-2.0
metadata.short-description
Migrate KMP projects to AGP 9
metadata.author
JetBrains
metadata.version
1.0.0
metadata.source
https://github.com/Kotlin/kotlin-agent-skills/tree/main/skills/kotlin-tooling-agp9-migration

KMP AGP 9.0 Migration

Android Gradle Plugin 9.0 makes the Android application and library plugins incompatible with the Kotlin Multiplatform plugin in the same module. This skill guides you through the migration.

Step 0: Analyze the Project

Before making any changes, understand the project structure:

  1. Read settings.gradle.kts (or .gradle) to find all modules
  2. For each module, read its build.gradle.kts to identify which plugins are applied
  3. Check if the project uses a Gradle version catalog (gradle/libs.versions.toml). If it exists, read it for current AGP/Gradle/Kotlin versions. If not, find versions directly in build.gradle.kts files (typically in the root buildscript {} or plugins {} block). Adapt all examples in this guide accordingly — version catalog examples use alias(libs.plugins.xxx) while direct usage uses id("plugin.id") version "x.y.z"
  4. Read gradle/wrapper/gradle-wrapper.properties for the Gradle version
  5. Check gradle.properties for any existing workarounds (android.enableLegacyVariantApi)
  6. Check for org.jetbrains.kotlin.android plugin usage — AGP 9.0 has built-in Kotlin and this plugin must be removed
  7. Check for org.jetbrains.kotlin.kapt plugin usage — incompatible with built-in Kotlin, must migrate to KSP or com.android.legacy-kapt
  8. Check for third-party plugins that may be incompatible with AGP 9.0 (see "Plugin Compatibility" section below)

If Bash is available, run scripts/analyze-project.sh from this skill's directory to get a structured summary.

Classify Each Module

For each module, determine its type:

Current pluginsMigration path
kotlin.multiplatform + com.android.libraryPath A — Library plugin swap
kotlin.multiplatform + com.android.applicationPath B — Mandatory Android split
kotlin.multiplatform with multiple platform entry points in one modulePath C — Full restructure (recommended)
com.android.application or com.android.library (no KMP)See "Pure Android Tips" below
Determine Scope
  • Path B is mandatory for any module combining KMP + Android application plugin
  • Path C is recommended when the project has a monolithic composeApp (or similar) module containing entry points for multiple platforms (Android, Desktop, Web). This aligns with the new JetBrains default project structure where each platform gets its own app module.
  • Ask the user whether they want Path B only (minimum required) or Path C (recommended full restructure)

Path A: Library Module Migration

Use this when a module applies kotlin.multiplatform + com.android.library.

See references/MIGRATION-LIBRARY.md for full before/after code.

Summary:

  1. Replace plugin: com.android.library → com.android.kotlin.multiplatform.library
  2. Remove org.jetbrains.kotlin.android plugin if present (AGP 9.0 has built-in Kotlin support)
  3. Migrate DSL: Move config from top-level android {} block into kotlin { android {} }:
    kotlin
    kotlin {
        android {
            namespace = "com.example.lib"
            compileSdk = 35
            minSdk = 24
        }
    }
  4. Rename source directories (only if the module uses classic Android layout instead of KMP layout):
    • src/main → src/androidMain
    • src/test → src/androidHostTest
    • src/androidTest → src/androidDeviceTest
    • If the module already uses src/androidMain/, no directory renames are needed
  5. Move dependencies from top-level dependencies {} into sourceSets:
    kotlin
    kotlin {
        sourceSets {
            androidMain.dependencies {
                implementation("androidx.appcompat:appcompat:1.7.0")
            }
        }
    }
  6. Enable resources explicitly if the module uses Android resources:
    kotlin
    kotlin {
        android {
            androidResources { enable = true }
        }
    }
  7. Enable Java compilation if module has .java source files:
    kotlin
    kotlin {
        android {
            withJava()
        }
    }
  8. Enable tests explicitly if the module has unit or instrumented tests:
    kotlin
    kotlin {
        android {
            withHostTest { isIncludeAndroidResources = true }
            withDeviceTest {
                instrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
            }
        }
    }
  9. Update Compose tooling dependency:
    kotlin
    // Old: debugImplementation(libs.androidx.compose.ui.tooling)
    // New:
    dependencies {
        androidRuntimeClasspath(libs.androidx.compose.ui.tooling)
    }
  10. Publish consumer ProGuard rules explicitly if applicable:
    kotlin
    kotlin {
        android {
            consumerProguardFiles.add(file("consumer-rules.pro"))
        }
    }

Path B: Android App + Shared Module Split

Use this when a module applies kotlin.multiplatform + com.android.application. This is mandatory for AGP 9.0 compatibility.

See references/MIGRATION-APP-SPLIT.md for full guide.

Summary:

  1. Create androidApp module with its own build.gradle.kts:
    kotlin
    plugins {
        alias(libs.plugins.androidApplication)
        // Do NOT apply kotlin-android — AGP 9.0 includes Kotlin support
        alias(libs.plugins.composeMultiplatform)  // if using Compose
        alias(libs.plugins.composeCompiler)       // if using Compose
    }
    
    android {
        namespace = "com.example.app"
        compileSdk = 35
        defaultConfig {
            applicationId = "com.example.app"
            minSdk = 24
            targetSdk = 35
            versionCode = 1
            versionName = "1.0"
        }
        buildFeatures { compose = true }
    }
    
    dependencies {
        implementation(projects.shared)  // or whatever the shared module is named
        implementation(libs.androidx.activity.compose)
    }
  2. Move Android entry point code from src/androidMain/ to androidApp/src/main/:
    • MainActivity.kt (and any other Activities/Fragments)
    • AndroidManifest.xml (app-level manifest with <application> and launcher <activity>) — verify android:name on <activity> uses the fully qualified class name in its new location
    • Android Application class if present
    • App-level resources (launcher icons, theme, etc.)
  3. Add to settings.gradle.kts: include(":androidApp")
  4. Add to root build.gradle.kts: plugin declarations with apply false
  5. Convert original module from application to library using Path A steps
  6. Ensure different namespaces: app module and library module must have distinct namespaces
  7. Remove from shared module: applicationId, targetSdk, versionCode, versionName
  8. Update IDE run configurations: change the module from the old module to androidApp

Use this when the project has a monolithic module (typically composeApp) containing entry points for multiple platforms. This is optional but aligns with the new JetBrains default.

See references/MIGRATION-FULL-RESTRUCTURE.md for full guide.

Target Structure
project/
├── shared/              ← KMP library (was composeApp), pure shared code
├── androidApp/          ← Android entry point only
├── desktopApp/          ← Desktop entry point only (if desktop target exists)
├── webApp/              ← Wasm/JS entry point only (if web target exists)
├── iosApp/              ← iOS Xcode project (usually already separate)
└── ...
Steps
  1. Apply Path B first — extract androidApp (mandatory for AGP 9.0)
  2. Extract desktopApp (if desktop target exists):
    • Create module with org.jetbrains.compose and application {} plugin
    • Move main() function from desktopMain to desktopApp/src/main/kotlin/
    • Move compose.desktop { application { ... } } config to desktopApp/build.gradle.kts
    • Add dependency on shared module
  3. Extract webApp (if wasmJs/js target exists):
    • Create module with appropriate Kotlin/JS or Kotlin/Wasm configuration
    • Move web entry point from wasmJsMain/jsMain to webApp/src/wasmJsMain/kotlin/
    • Move browser/distribution config to webApp/build.gradle.kts
    • Add dependency on shared module
  4. iOS — typically already in a separate iosApp directory. Verify:
    • Framework export config (binaries.framework) stays in shared module
    • Xcode project references the correct framework path
  5. Rename module from composeApp to shared:
    • Rename directory
    • Update settings.gradle.kts include
    • Update all dependency references across modules
  6. Clean up shared module: remove all platform entry point code and app-specific config that was moved to the platform app modules
Variant: Native UI

If some platforms use native UI (e.g., SwiftUI for iOS), split shared into:

  • sharedLogic — business logic consumed by ALL platforms
  • sharedUI — Compose Multiplatform UI consumed only by platforms using shared UI
Variant: Server

If the project includes a server target:

  • Add server module at the root
  • Move all client modules under an app/ directory
  • Add core module for code shared between server and client (models, validation)

Version Updates

These are required regardless of migration path:

  1. Gradle wrapper — update to 9.1.0+:

    properties
    # gradle/wrapper/gradle-wrapper.properties
    distributionUrl=https\://services.gradle.org/distributions/gradle-9.1.0-bin.zip
  2. AGP version — update to 9.0.0+.

    If using a version catalog (gradle/libs.versions.toml):

    toml
    [versions]
    agp = "9.0.0"

    If versions are set directly in build files, update all com.android.* plugin version strings:

    kotlin
    // root build.gradle.kts
    plugins {
        id("com.android.application") version "9.0.0" apply false
    }
  3. Add the KMP library plugin.

    With version catalog:

    toml
    [plugins]
    android-kotlin-multiplatform-library = { id = "com.android.kotlin.multiplatform.library", version.ref = "agp" }

    Without version catalog — use the plugin ID directly in build files:

    kotlin
    // root build.gradle.kts
    plugins {
        id("com.android.kotlin.multiplatform.library") version "9.0.0" apply false
    }
    // module build.gradle.kts
    plugins {
        id("com.android.kotlin.multiplatform.library")
    }
  4. Root build.gradle.kts — add apply false for new plugin (see examples above)

  5. JDK — ensure JDK 17+ is used (required by AGP 9.0)

  6. SDK Build Tools — update to 36.0.0:

    Install via SDK Manager or configure in android { buildToolsVersion = "36.0.0" }
  7. Remove legacy workarounds from gradle.properties:

    • Remove android.enableLegacyVariantApi=true (removed in AGP 9.0, causes error if present)
    • Remove android.r8.integratedResourceShrinking (removed in AGP 9.0, causes error if present)
    • Remove android.enableNewResourceShrinker.preciseShrinking (removed in AGP 9.0, causes error if present)
    • Remove android.builtInKotlin=false (unless needed for plugin compatibility — see Plugin Compatibility)
    • Remove android.newDsl=false (unless needed for plugin compatibility)
  8. Review gradle.properties defaults — see "Gradle Properties Default Changes" section for properties whose defaults changed in AGP 9.0

Built-in Kotlin Migration

AGP 9.0 enables built-in Kotlin support by default for all com.android.application and com.android.library modules. The org.jetbrains.kotlin.android plugin is no longer needed and will conflict if applied.

Important: Built-in Kotlin does NOT replace KMP support. KMP library modules still need org.jetbrains.kotlin.multiplatform + com.android.kotlin.multiplatform.library.

Detection

Check if the project uses org.jetbrains.kotlin.android or kotlin-android in any build files. If found, this migration is needed. If not, check gradle.properties for android.builtInKotlin=false which may indicate a previous opt-out.

Show full SKILL.md (801 more words)Show less
Step 1: Remove kotlin-android Plugin

Remove from all module-level and root-level build files:

kotlin
// Remove from module build.gradle.kts
plugins {
    // REMOVE: alias(libs.plugins.kotlin.android)
    // REMOVE: id("org.jetbrains.kotlin.android")
}

// Remove from root build.gradle.kts
plugins {
    // REMOVE: alias(libs.plugins.kotlin.android) apply false
}

Remove from version catalog (gradle/libs.versions.toml):

toml
[plugins]
# REMOVE: kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
Step 2: Migrate kapt to KSP or legacy-kapt

The org.jetbrains.kotlin.kapt plugin is incompatible with built-in Kotlin.

Preferred: Migrate to KSP — see the KSP migration guide for each annotation processor.

Fallback: Use com.android.legacy-kapt (same version as AGP):

toml
# gradle/libs.versions.toml
[plugins]
legacy-kapt = { id = "com.android.legacy-kapt", version.ref = "agp" }
kotlin
// Module build.gradle.kts — replace kotlin-kapt with legacy-kapt
plugins {
    // REMOVE: alias(libs.plugins.kotlin.kapt)
    alias(libs.plugins.legacy.kapt)
}
Step 3: Migrate kotlinOptions to compilerOptions

For pure Android modules (non-KMP), migrate android.kotlinOptions {} to the top-level kotlin.compilerOptions {}:

kotlin
// Old
android {
    kotlinOptions {
        jvmTarget = "11"
        languageVersion = "2.0"
        freeCompilerArgs += listOf("-Xopt-in=kotlin.RequiresOptIn")
    }
}

// New
kotlin {
    compilerOptions {
        jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_11)
        languageVersion.set(org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_2_0)
        optIn.add("kotlin.RequiresOptIn")
    }
}

Note: With built-in Kotlin, jvmTarget defaults to android.compileOptions.targetCompatibility, so it may be optional if you already set compileOptions.

Step 4: Migrate kotlin.sourceSets to android.sourceSets

With built-in Kotlin, only android.sourceSets {} with the kotlin set is supported:

kotlin
// NOT SUPPORTED with built-in Kotlin:
kotlin.sourceSets.named("main") {
    kotlin.srcDir("additionalSourceDirectory/kotlin")
}

// Correct:
android.sourceSets.named("main") {
    kotlin.directories += "additionalSourceDirectory/kotlin"
}

For generated sources, use the Variant API:

kotlin
androidComponents.onVariants { variant ->
    variant.sources.kotlin!!.addStaticSourceDirectory("additionalSourceDirectory/kotlin")
}
Per-Module Migration Strategy

For large projects, migrate module-by-module:

  1. Disable globally: android.builtInKotlin=false in gradle.properties
  2. Enable per migrated module by applying the opt-in plugin:
    kotlin
    plugins {
        id("com.android.built-in-kotlin") version "AGP_VERSION"
    }
  3. Follow Steps 1-4 for that module
  4. Once all modules are migrated, remove android.builtInKotlin=false and all com.android.built-in-kotlin plugins
Optional: Disable Kotlin for Non-Kotlin Modules

For modules that contain no Kotlin sources, disable built-in Kotlin to save build time:

kotlin
android {
    enableKotlin = false
}
Opt-Out (Temporary)

If blocked by plugin incompatibilities, opt out temporarily:

properties
# gradle.properties
android.builtInKotlin=false
android.newDsl=false  # also required if using new DSL opt-out

Warning: Ask the user if they want to opt out, and if so, remind them this is a temporary measure.

Plugin Compatibility

See references/PLUGIN-COMPATIBILITY.md for the full compatibility table with known compatible versions, opt-out flag workarounds, and broken plugins.

Before migrating, inventory all plugins in the project and check each against that table. If any plugin is broken without workaround, inform the user. If plugins need opt-out flags, add them to gradle.properties and note them as temporary workarounds.

Gradle Properties Default Changes

AGP 9.0 changes the defaults for many gradle properties. Check gradle.properties for any explicitly set values that may now conflict. Key changes:

PropertyOld DefaultNew DefaultAction
android.uniquePackageNamesfalsetrueEnsure each library has a unique namespace
android.enableAppCompileTimeRClassfalsetrueRefactor switch on R fields to if/else
android.defaults.buildfeatures.resvaluestruefalseEnable resValues = true where needed
android.defaults.buildfeatures.shaderstruefalseEnable shaders where needed
android.r8.optimizedResourceShrinkingfalsetrueReview R8 keep rules
android.r8.strictFullModeForKeepRulesfalsetrueUpdate keep rules to be explicit
android.proguard.failOnMissingFilesfalsetrueRemove invalid ProGuard file references
android.r8.proguardAndroidTxt.disallowedfalsetrueUse proguard-android-optimize.txt only
android.r8.globalOptionsInConsumerRules.disallowedfalsetrueRemove global options from library consumer rules
android.sourceset.disallowProviderfalsetrueUse Sources API on androidComponents
android.sdk.defaultTargetSdkToCompileSdkIfUnsetfalsetrueSpecify targetSdk explicitly
android.onlyEnableUnitTestForTheTestedBuildTypefalsetrueOnly if testing non-default build types

Check for and remove properties that now cause errors:

  • android.r8.integratedResourceShrinking — removed, always on
  • android.enableNewResourceShrinker.preciseShrinking — removed, always on

Pure Android Tips

For non-KMP Android modules upgrading to AGP 9.0:

  • Remove org.jetbrains.kotlin.android plugin — AGP 9.0 includes Kotlin support built-in (see "Built-in Kotlin Migration" above)
  • Migrate kapt to KSP or com.android.legacy-kapt
  • Migrate kotlinOptions to kotlin { compilerOptions {} }
  • Migrate kotlin.sourceSets to android.sourceSets with .kotlin accessor
  • Review new DSL interfaces — BaseExtension is removed; use CommonExtension or specific extension types
  • Java default changed from Java 8 to Java 11 — ensure compileOptions reflects this
  • R class is now compile-time non-final in app modules — refactor any switch statements on R class fields to if/else
  • targetSdk defaults to compileSdk if not set — specify targetSdk explicitly to avoid surprises
  • NDK default changed to r28c — specify ndkVersion explicitly if using native code
  • Temporary opt-out: android.builtInKotlin=false + android.newDsl=false in gradle.properties (removed in AGP 10)

Verification

After migration, verify with the checklist. Key checks:

  1. ./gradlew build succeeds with no errors
  2. ./gradlew :androidApp:assembleDebug succeeds (if app module exists)
  3. No com.android.library or com.android.application in KMP modules
  4. No org.jetbrains.kotlin.android in AGP 9.0 modules
  5. Source sets use correct names (androidMain, androidHostTest, androidDeviceTest)
  6. No deprecation warnings about variant API
  7. Run configurations point to correct modules

Common Issues

See references/KNOWN-ISSUES.md for details. Key gotchas:

KMP Library Plugin Issues
  • BuildConfig unavailable in library modules — use DI/AppConfiguration interface, or use BuildKonfig or gradle-buildconfig-plugin for compile-time constants
  • No build variants — single variant architecture; compile-time constants can use BuildKonfig/gradle-buildconfig-plugin flavors, but variant-specific dependencies/resources/signing must move to app module
  • NDK/JNI unsupported in new plugin — extract to separate com.android.library module
  • Compose resources crash without androidResources { enable = true } (CMP-9547)
  • Consumer ProGuard rules silently dropped if not migrated to consumerProguardFiles.add(file(...)) in new DSL
  • KSP requires version 2.3.4+ for AGP 9.0 compatibility
AGP 9.0 General Issues
  • Built-in Kotlin conflicts — org.jetbrains.kotlin.android must be removed; kapt must be replaced
  • BaseExtension removed — convention plugins using old DSL types need rewriting
  • Variant APIs removed — applicationVariants, libraryVariants, variantFilter replaced by androidComponents
  • R class non-final — switch on R fields fails in app modules; refactor to if/else
  • targetSdk defaults to compileSdk — set explicitly to avoid unexpected behavior changes
  • R8 rule changes — strict full mode, no global options in consumer rules
  • Plugin compatibility — many plugins need updates or opt-out flags; check Plugin Compatibility section
  • Convention plugins need refactoring — old android {} extension helpers are obsolete

Reference Files

© JetBrains, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 9 other files (scripts, references, assets) in kotlin-tooling-agp9-migration of JetBrains/skills.

  • SKILL.md
  • assets/checklist.md
  • references/DSL-REFERENCE.md
  • references/KNOWN-ISSUES.md
  • references/MIGRATION-APP-SPLIT.md
  • references/MIGRATION-FULL-RESTRUCTURE.md
  • references/MIGRATION-LIBRARY.md
  • references/PLUGIN-COMPATIBILITY.md
  • references/VERSION-MATRIX.md
  • scripts/analyze-project.sh

Open the folder on GitHubat commit e0f258b

Used in 2 other repositories

We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 2 other GitHub owners. This page covers the copy in JetBrains/skills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Kotlin Tooling Agp9 Migration next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Kotlin Tooling Agp9 Migration compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Kotlin Tooling Agp9 Migration this skillJetBrains/skills3662 repos~5.6kAutomated safety check: PassApache-2.0
Compose Multiplatform Patternsmonta-app/ocpp-emulator1805 repos~2kAutomated safety check: PassApache-2.0
Claude Android NinjaDrjacky/claude-android-ninja124—~5.2kAutomated safety check: PassApache-2.0
Expo Brownfield Integrationmweinbach/agent-coworker1562 repos~900Automated safety check: NotesCustom licence
Jugg Android Dev Loopniki914/zafiro241—~2kAutomated safety check: PassMIT
Android Audio E2Ehyochan/react-native-nitro-sound961—~814Automated safety check: PassMIT

Similar skills

  • Compose Multiplatform Patterns

    monta-app/ocpp-emulator

    Compose Multiplatform and Jetpack Compose patterns for KMP projects — state management, navigation, theming, performance, and platform-specific UI.

    180 GitHub starsUsed in 5 repos~2k tokens
    MobileAuto-check passed
  • Claude Android Ninja

    Drjacky/claude-android-ninja

    Build and migrate Android apps with Kotlin, Jetpack Compose, MVVM, Hilt, Room 3 (KSP, SQLiteDriver, Flow/suspend DAOs), Navigation3, and multi-module Gradle.

    124 GitHub stars~5.2k tokensUpdated 12 days ago
    MobileAuto-check passed
  • Expo Brownfield Integration

    mweinbach/agent-coworker

    Helps add Expo and React Native to an existing native iOS or Android app, and choose between a prebuilt AAR or XCFramework and a fully integrated build.

    156 GitHub starsUsed in 2 repos~900 tokens
    MobileAuto-check: notes
  • Jugg Android Dev Loop

    niki914/zafiro

    A skill your agent uses when editing source files (Java/Kotlin/XML/layout/AndroidManifest/Gradle) in a Android project, or when user asks to build/deploy/verify an Android app.

    241 GitHub stars~2k tokensUpdated today
    MobileAuto-check passed
  • Android Audio E2E

    hyochan/react-native-nitro-sound

    Build and run device-backed Android end-to-end checks for react-native-nitro-sound permissions, recording, playback, listeners, pause/resume, seek, speed, audio focus, lifecycle behavior, and rapid…

    961 GitHub stars~814 tokensUpdated 11 days ago
    MobileAuto-check passed
  • Android and KMP Baseline

    rcosteira79/android-skills

    Sets house defaults for Android and Kotlin Multiplatform work and routes to the right specialized skill for Compose, networking, testing or build tooling.

    153 GitHub stars~3k tokensUpdated 22 days ago
    MobileAuto-check passed

More from JetBrains/skills

All 76 skills in this repo
  • Playwright

    JetBrains/skills

    Official

    A skill your agent uses when the task requires automating a real browser from the terminal (navigation, form filling, snapshots, screenshots, data extraction, UI-flow debugging) via playwright-cli…

    366 GitHub starsUsed in 11 repos~986 tokens
    Auto-check passed
  • Skill Creator

    JetBrains/skills

    Official

    Guide for creating effective skills. An agent skill from JetBrains/skills.

    366 GitHub starsUsed in 122 repos~4.7k tokens
    Auto-check passed
  • Transcribe

    JetBrains/skills

    Official

    Transcribe audio files to text with optional diarization and known-speaker hints.

    366 GitHub starsUsed in 4 repos~776 tokens
    Auto-check passed
  • Imagegen

    JetBrains/skills

    Official

    A skill your agent uses when the user asks to generate or edit images via the OpenAI Image API (for example: generate image, edit/inpaint/mask, background removal or replacement, transparent…

    366 GitHub starsUsed in 3 repos~2.5k tokens
    Auto-check passed
  • Speech

    JetBrains/skills

    Official

    A skill your agent uses when the user asks for text-to-speech narration or voiceover, accessibility reads, audio prompts, or batch speech generation via the OpenAI Audio API; run the bundled CLI…

    366 GitHub starsUsed in 3 repos~1.9k tokens
    Auto-check passed
  • Screenshot

    JetBrains/skills

    Official

    A skill your agent uses when the user explicitly asks for a desktop or system screenshot (full screen, specific app or window, or a pixel region), or when tool-specific capture capabilities are…

    366 GitHub starsUsed in 6 repos~2k tokens
    Auto-check passed

Categories

Questions about Kotlin Tooling Agp9 Migration

What does Kotlin Tooling Agp9 Migration do?

Migrates Kotlin Multiplatform (KMP) projects to Android Gradle Plugin 9.0+. Kotlin Tooling Agp9 Migration is an agent skill from JetBrains/skills, published by the product's own GitHub organization.0+.

When should I use Kotlin Tooling Agp9 Migration?

Kotlin Tooling Agp9 Migration fits situations like: build fails due to KMP+AGP incompatibility; the user mentions AGP 9.0; android multiplatform plugin; com.android.kotlin.multiplatform.library.

How do I install Kotlin Tooling Agp9 Migration in Claude Code?

Run `npx skills add JetBrains/skills --skill kotlin-tooling-agp9-migration -a claude-code`. Or copy the skill folder (kotlin-tooling-agp9-migration in JetBrains/skills) into .claude/skills/kotlin-tooling-agp9-migration in your project. Claude Code loads it when a task matches its description.

How do I install Kotlin Tooling Agp9 Migration in Codex?

Run `npx skills add JetBrains/skills --skill kotlin-tooling-agp9-migration -a codex`. Or copy the skill folder (kotlin-tooling-agp9-migration in JetBrains/skills) into .agents/skills/kotlin-tooling-agp9-migration in your project. Codex loads it when a task matches its description.

Can I use Kotlin Tooling Agp9 Migration in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add JetBrains/skills --skill kotlin-tooling-agp9-migration -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/kotlin-tooling-agp9-migration, .gemini/skills/kotlin-tooling-agp9-migration, .github/skills/kotlin-tooling-agp9-migration and .opencode/skills/kotlin-tooling-agp9-migration in your project.

What does Kotlin Tooling Agp9 Migration need to run?

Going by SKILL.md and its folder, Kotlin Tooling Agp9 Migration needs a shell for the scripts in its folder. Our summary lists: A Bash shell.

Does Kotlin Tooling Agp9 Migration access the network?

SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.

Is Kotlin Tooling Agp9 Migration safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Kotlin Tooling Agp9 Migration use?

Kotlin Tooling Agp9 Migration is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Kotlin Tooling Agp9 Migration use?

About 5.6k tokens (SKILL.md is roughly 22k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 19k tokens, read only when the agent opens those files.

What are the alternatives to Kotlin Tooling Agp9 Migration?

Skills that share tags, products or a category with Kotlin Tooling Agp9 Migration: Compose Multiplatform Patterns (monta-app/ocpp-emulator, 180 stars), Claude Android Ninja (Drjacky/claude-android-ninja, 124 stars), Expo Brownfield Integration (mweinbach/agent-coworker, 156 stars) and Jugg Android Dev Loop (niki914/zafiro, 241 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Kotlin Tooling Agp9 Migration?

JetBrains (a GitHub organization, an official publisher) maintains it in JetBrains/skills, which has 366 GitHub stars. The repository holds 76 skills in this directory. The repository was last updated on June 29, 2026.

Source: JetBrains/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.