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-gradle-to-kotlin-toolchain-projectgit 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-gradle-to-kotlin-toolchain-project)<a href="https://agentmods.dev/skills/kotlin/kotlin-agent-skills/kotlin-tooling-gradle-to-kotlin-toolchain-project"><img src="https://agentmods.dev/badge/skills/kotlin/kotlin-agent-skills/kotlin-tooling-gradle-to-kotlin-toolchain-project/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-gradle-to-kotlin-toolchain-project"><img src="https://agentmods.dev/badge/skills/kotlin/kotlin-agent-skills/kotlin-tooling-gradle-to-kotlin-toolchain-project.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00083 | $0.05963 |
| Opus 5 | $0.00042 | $0.02982 |
| Sonnet 5 | $0.00017 | $0.01193 |
| Haiku 4.5 | $0.00008 | $0.00596 |
Grade A, and why
kotlin-tooling-gradle-to-kotlin-toolchain-project 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 today.
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 — 423 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Gradle → Kotlin Toolchain Project Migration
Two jobs at once: a mechanical translation of dependencies and configuration, plus a replacement for every Gradle plugin the Toolchain has no native answer for. Templates to adapt are in references/examples.md, drawn from one real migration.
Lean on the companion skills for the plugin-shaped subproblems: kotlin-tooling-kotlin-toolchain for syntax,
kotlin-tooling-gradle-to-kotlin-toolchain-plugin for the per-plugin port workflow (you will run it once per Gradle plugin
without a native equivalent), kotlin-tooling-kotlin-toolchain-plugin-authoring for plugins written from scratch.
Principles
- Preserve source code. If the migration forces edits to business logic, a local plugin can probably
fill the gap instead. Code reading
release.propertiesoff the classpath should keep working — publish that exact file, don't rewrite the consumer. - Every third-party Gradle plugin is drop, native, or reimplement — never "keep the Gradle plugin".
Your own convention plugins are different:
buildSrc/build-logicprecompiled scripts are shared configuration, so they become module templates, not local plugins — see NobuildSrc/ convention plugins. - Search GitHub before authoring a local plugin. Someone has probably already written it; vendoring a working implementation beats a from-scratch port every time. Where to look and what to search for: Phase 2 "Scope". Author only after the search comes up empty. Read what you vendor end to end before wiring it in — it runs at build time with full filesystem and network access.
- All dependencies should reside in version catalog.
gradle/libs.versions.tomlsurvives as the built-in$libs.*catalog. Every coordinate in every module/plugin YAML must end up as a$libs.*reference.[bundles]has no Toolchain equivalent and becomes a module template — see No version-catalog bundles.
What ships with it
1 file 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.
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.
- today First seen · 423 lines · 83 tokens per session scan A 46e0412c3938
kotlin-tooling-gradle-to-kotlin-toolchain-project is a skill published in the GitHub repository Kotlin/kotlin-agent-skills (1,044 stars, last pushed yesterday), licensed Apache-2.0. It adds 83 tokens to every session and 5,963 once invoked, about $0.0004 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-09-12.
Other skills, from other repositories
ci-cd-expert
Enterprise CI/CD, optimization, security, & delivery expert. Covers GHA, GitLab CI, Jenkins, monorepos (Turbo, Nx, Bazel), containers (BuildKit, Kaniko), GitOps (Argo), delivery (Spinnaker, Kayenta, Fastlane, Flyway), OIDC, and Android. Use for: pipelines, caching, GitOps, monorepos, OIDC, DB migrations, mobile…
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"…
kotlin-mcp-server-expert
Expert guidance for building production-grade MCP (Model Context Protocol) servers in Kotlin using the official Kotlin Multiplatform SDK. Use this skill whenever the user is building, designing, debugging, or improving an MCP server in Kotlin — including tool registration, resource templates, prompt handling…
testing-expert
Ultimate Kotlin testing skill. Use this whenever writing, reviewing, or debugging ANY Kotlin test — unit, integration, property-based, or coroutine. Covers TDD (RED/GREEN/REFACTOR), Kotest + MockK + Kover, anti-pattern detection, and four-pillar quality framework. Triggers on: write a test, add coverage, why is this…
koog-expert
Expert guide for JetBrains Koog (Kotlin AI agents). Use whenever the user mentions Koog, AIAgent, ToolRegistry, strategy graphs, koog-ktor, history compression, MCP tools, structured LLM output, or building agents in a Ktor backend, Spring Boot service, Android/iOS/desktop KMP app, JS, or WasmJS. Also use for…
kotlin-coroutine-expert
Expert guidance on Kotlin Coroutines — structured concurrency, dispatcher selection, race condition prevention (Mutex/Channel/StateFlow), error propagation, Flow patterns, testing with runTest/TestDispatcher, and production optimization. Use this skill whenever the user writes coroutine code, asks about async Kotlin…