kmp-versions

kmp-versions is a skill for Claude Code, Codex from iammohdzaki/kmp-skills. It costs 65 tokens per session (2,956 once invoked), scanned A, original, MIT.

A version-checking guide for Kotlin Multiplatform projects, which share code across platforms such as Android and iOS. It checks Kotlin, Compose Multiplatform, Android Gradle Plugin, Gradle, and library versions against current compatibility information.

In plain words
What is it for?
Use it when creating or updating a Kotlin Multiplatform project, especially when preparing a version catalog or choosing compatible Kotlin, Gradle, Android, Compose, and library releases.
Why use it?
These tools must use compatible versions, and remembered version numbers can be outdated or conflict with one another.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when creating or updating a Kotlin Multiplatform project, especially when preparing a version catalog or choosing compatible Kotlin, Gradle, Android, Compose, and library releases.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/iammohdzaki/kmp-skills/kmp-versions
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 iammohdzaki/kmp-skills --skill kmp-versions
Clone the repo
git clone --depth 1 https://github.com/iammohdzaki/kmp-skills

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 kmp-versions

README.md
[![agentmods](https://agentmods.dev/badge/skills/iammohdzaki/kmp-skills/kmp-versions/github.svg)](https://agentmods.dev/skills/iammohdzaki/kmp-skills/kmp-versions)
Your own site
<a href="https://agentmods.dev/skills/iammohdzaki/kmp-skills/kmp-versions"><img src="https://agentmods.dev/badge/skills/iammohdzaki/kmp-skills/kmp-versions/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 kmp-versions

Your own site · 80×15
<a href="https://agentmods.dev/skills/iammohdzaki/kmp-skills/kmp-versions"><img src="https://agentmods.dev/badge/skills/iammohdzaki/kmp-skills/kmp-versions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,956 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.00065 $0.02956
Opus 5 $0.00032 $0.01478
Sonnet 5 $0.00013 $0.00591
Haiku 4.5 $0.00006 $0.00296

Measured 11d ago against content hash 90b4c570e470, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

kmp-versions 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 11d 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.

skills/create-project/kmp-versions/SKILL.md · 275 lines

How it starts

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

KMP Version Compatibility Skill

CRITICAL — AI VERSIONING WARNING

AI models have a training data cutoff and will hallucinate stale or incompatible version numbers for KMP projects if asked from memory. This skill exists to override that behavior.

You MUST follow the protocol below every time versions are needed for a KMP project. Never generate a libs.versions.toml from memory alone.


Protocol: How to Resolve Versions

When setting up or updating a KMP project, always fetch live version data using this exact sequence. Do not skip steps.

Step 1 — Fetch the official KGP compatibility matrix

Read this page to get the current Kotlin / Gradle / AGP compatibility table:

https://kotlinlang.org/docs/multiplatform/multiplatform-compatibility-guide.html

Extract the latest stable Kotlin version and its maximum supported AGP and Gradle versions.

Step 2 — Confirm Compose Multiplatform version

Read the CMP releases page to find the latest stable CMP version compatible with the Kotlin version from Step 1:

https://www.jetbrains.com/help/kotlin-multiplatform-dev/whats-new-compose.html

Or check the plugin portal for the latest published version:

https://plugins.gradle.org/plugin/org.jetbrains.compose

Step 3 — Confirm AGP version

Check the Android Gradle Plugin release notes for the latest stable version:

https://developer.android.com/build/releases/gradle-plugin

Cross-check that the chosen AGP version falls within the KGP compatibility range from Step 1.

Step 4 — Confirm Gradle wrapper version

Use the Gradle releases page to find the latest stable Gradle version within the KGP range:

https://gradle.org/releases/

Step 5 — Confirm library versions

Check Maven Central or the official library repos for the latest stable versions:

Library Check URL
kotlinx-coroutines https://github.com/Kotlin/kotlinx.coroutines/releases
kotlinx-serialization https://github.com/Kotlin/kotlinx.serialization/releases
androidx.lifecycle https://developer.android.com/jetpack/androidx/releases/lifecycle
androidx.navigation https://developer.android.com/jetpack/androidx/releases/navigation
Koin https://github.com/InsertKoinIO/koin/releases
Coil 3 https://github.com/coil-kt/coil/releases

Read the full file on GitHub · 275 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. 11d ago First seen · 275 lines · 65 tokens per session scan A 90b4c570e470

Subscribe to this mod's changes

kmp-versions is a skill published in the GitHub repository iammohdzaki/kmp-skills (4 stars, last pushed 1mo ago), licensed MIT. It adds 65 tokens to every session and 2,956 once invoked, about $0.0003 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

flutter-implement-json-serialization

Create model classes with fromJson and toJson methods using dart:convert. Use when manually mapping JSON keys to class properties for simple data structures.

aiskillstore/marketplace · 41 tokens

neo-swift-ui

Use this skill when building, debugging, refactoring, or reviewing SwiftUI apps or views for iOS 16+ and related Apple platforms. Trigger for NavigationStack, Observation/state flow, view composition, previews, performance, accessibility, and SwiftUI architecture.

Benknightdark/neo-skills · 57 tokens

neo-swift

Use this skill when writing, reviewing, debugging, or modernizing Swift code for iOS, macOS, server-side Swift, or shared packages. Trigger for Swift 5+ language features, structured concurrency, memory safety, protocols/generics, SwiftUI integration, and performance-sensitive code.

Benknightdark/neo-skills · 63 tokens

swift-networking

Builds a protocol-based async/await networking layer with URLSession, testable abstractions, error handling, and mock support for Swift projects. Use when user says "add networking", "create an API layer", "fetch data from API", "build a network service", "add URLSession", "implement HTTP requests", "create a REST…

jeremieb/swift-unit-test-instructions · 82 tokens

swift-project-setup

Bootstraps a new Swift/SwiftUI/UIKit project with MVVM architecture, standard folder structure, testing targets, and CLAUDE.md configuration. Use when user says "create a new project", "setup a new app", "start a new iOS project", "scaffold a Swift project", "initialize an Xcode project", or "new SwiftUI app".

jeremieb/swift-unit-test-instructions · 80 tokens

kotlin-specialist

Provides idiomatic Kotlin implementation patterns including coroutine concurrency, Flow stream handling, multiplatform architecture, Compose UI construction, Ktor server setup, and type-safe DSL design. Use when building Kotlin applications requiring coroutines, multiplatform development, or Android with Compose.…

Jeffallan/claude-skills · 86 tokens