Kotlin/kotlin-agent-skills is a collection of packaged instructions, scripts, and resources that help coding agents handle projects written in Kotlin. It is for developers using Kotlin, with skills covering areas such as backend frameworks and build tooling. The catalogue entries are the individual Kotlin-focused skills distributed from the repository.
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.
npx skills add Kotlin/kotlin-agent-skills --skill kotlin-tooling-agp9-migrationgit clone --depth 1 https://github.com/Kotlin/kotlin-agent-skillsWrote 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.
[](https://agentmods.dev/skills/kotlin/kotlin-agent-skills/kotlin-tooling-agp9-migration)<a href="https://agentmods.dev/skills/kotlin/kotlin-agent-skills/kotlin-tooling-agp9-migration"><img src="https://agentmods.dev/badge/skills/kotlin/kotlin-agent-skills/kotlin-tooling-agp9-migration/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.
<a href="https://agentmods.dev/skills/kotlin/kotlin-agent-skills/kotlin-tooling-agp9-migration"><img src="https://agentmods.dev/badge/skills/kotlin/kotlin-agent-skills/kotlin-tooling-agp9-migration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk pass
- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00105 | $0.05112 |
| Opus 5 | $0.00053 | $0.02556 |
| Sonnet 5 | $0.00021 | $0.01022 |
| Haiku 4.5 | $0.00011 | $0.00511 |
Grade A, and why
kotlin-tooling-agp9-migration 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 13d 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.
How it starts
The opening of the file, as written. The whole thing — 495 lines — stays where its author put it; the contents beside it link to each section on GitHub.
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:
- Read
settings.gradle.kts(or.gradle) to find all modules - For each module, read its
build.gradle.ktsto identify which plugins are applied - 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 inbuild.gradle.ktsfiles (typically in the rootbuildscript {}orplugins {}block). Adapt all examples in this guide accordingly — version catalog examples usealias(libs.plugins.xxx)while direct usage usesid("plugin.id") version "x.y.z" - Read
gradle/wrapper/gradle-wrapper.propertiesfor the Gradle version - Check
gradle.propertiesfor any existing workarounds (android.enableLegacyVariantApi) - Check for
org.jetbrains.kotlin.androidplugin usage — AGP 9.0 has built-in Kotlin and this plugin must be removed - Check for
org.jetbrains.kotlin.kaptplugin usage — incompatible with built-in Kotlin, must migrate to KSP orcom.android.legacy-kapt - 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 plugins | Migration path |
|---|---|
kotlin.multiplatform + com.android.library |
Path A — Library plugin swap |
kotlin.multiplatform + com.android.application |
Path B — Mandatory Android split |
kotlin.multiplatform with multiple platform entry points in one module |
Path C — Full restructure (recommended) |
com.android.application or com.android.library (no KMP) |
See "Pure Android Tips" below |
What ships with it
9 files 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.
- assets/checklist.md 3.3 KB
- references/DSL-REFERENCE.md 16 KB
- references/KNOWN-ISSUES.md 18 KB
- references/MIGRATION-APP-SPLIT.md 14 KB
- references/MIGRATION-FULL-RESTRUCTURE.md 12 KB
- references/MIGRATION-LIBRARY.md 14 KB
- references/PLUGIN-COMPATIBILITY.md 5.3 KB
- references/VERSION-MATRIX.md 10 KB
- scripts/analyze-project.sh 8.1 KB runs code
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.
- 13d ago First seen · 495 lines · 105 tokens per session scan A eec4224102bd
kotlin-tooling-agp9-migration is a skill published in the GitHub repository Kotlin/kotlin-agent-skills (1,044 stars, last pushed yesterday), licensed Apache-2.0. It adds 105 tokens to every session and 5,112 once invoked, about $0.0005 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-30.
Other skills, from other repositories
dagger-hilt-expert
Expert guidance for Dagger and Hilt dependency injection in Android. Use when implementing DI, creating modules, configuring scopes, optimizing performance, testing with Hilt, setting up multi-module architecture, using assisted injection, or debugging DI issues. Triggers on "dagger", "hilt", "dependency injection"…
wear-compose-m3
Expert guidance for working with Wear OS Compose Material3. Use this skill when creating, updating, or migrating Wear OS projects. This includes the androidx.wear.compose.material3, androidx.wear.compose.foundation, and androidx.wear.compose.navigation3 libraries. Also working with core components such as AppScaffold…
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.
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.
kmp-lsp
Kotlin/Java/Swift LSP server for code navigation in Android and iOS codebases. Use when navigating Kotlin, Java, or Swift source files: finding class definitions, listing symbols, jumping to implementations, finding all usages, checking type signatures, or switching workspace between projects. Triggers for: "find this…
ios-swift-patterns
SwiftUI, UIKit, MVVM, Combine, async/await, Core Data, and App Store submission patterns.