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-kotlin-toolchaingit 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-kotlin-toolchain)<a href="https://agentmods.dev/skills/kotlin/kotlin-agent-skills/kotlin-tooling-kotlin-toolchain"><img src="https://agentmods.dev/badge/skills/kotlin/kotlin-agent-skills/kotlin-tooling-kotlin-toolchain/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-kotlin-toolchain"><img src="https://agentmods.dev/badge/skills/kotlin/kotlin-agent-skills/kotlin-tooling-kotlin-toolchain.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.02448 |
| Opus 5.5 | $0.00033 | $0.00979 |
| Sonnet 5.5 | $0.00017 | $0.00490 |
| Haiku 4.5 | $0.00008 | $0.00245 |
Grade A, and why
kotlin-tooling-kotlin-toolchain 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.
How it starts
The opening of the file, as written. The whole thing — 227 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Kotlin Toolchain
JetBrains' unified CLI for Kotlin (JVM, Android, iOS, multiplatform) and Java projects, in Alpha. Configuration is declarative YAML instead of Gradle build scripts.
Installation
Prefer the project's checked-in wrapper: ./kotlin build needs nothing installed — the wrapper downloads
the CLI itself. Install a global CLI only when there is no wrapper (e.g. before kotlin init):
sdk install kotlintoolchain # SDKMAN (macOS / Linux / WSL)
The kotlin command then auto-provisions its JDK on first use. Other install options (installer scripts,
IntelliJ IDEA plugin) live at https://kotlin-toolchain.org/.
If the project root ships wrapper scripts (kotlin / kotlin.bat), the global kotlin detects them and
proxies into them, pinning the project to the wrapper's version. Always invoke kotlin from the project
root so the wrapper wins; never call a globally installed binary directly when a wrapper exists.
CLI commands
For the detailed list of commands and their options, run kotlin --help or kotlin <command> --help.
Project structure
project-root/
├── kotlin, kotlin.bat # Local wrappers
├── project.yaml # Project-level config
├── libs.versions.toml # Version catalog (Gradle-compatible; root or gradle/)
├── module-name/
│ ├── module.yaml # Module configuration
│ ├── src/ # Production sources (Kotlin + Java mixed when JVM platform is available)
│ ├── resources/ # Resources (copied into JAR)
│ ├── test/ # Test sources
│ └── testResources/ # Test-only resources
└── another-module/
├── module.yaml
└── ...
project.yaml declares the project's modules and any local build plugins. See
references/examples.md for a project-level config example.
module.yaml
product: jvm/app # jvm/app, jvm/lib, android/app, lib (multiplatform), …
dependencies:
- org.example:artifact:1.0.0 # Maven coordinates
- //other-module # Module dependency (relative path from the project root)
- $libs.ktor.client # From version catalog
- bom: io.ktor:ktor-bom:2.2.0 # BOM import
- org.example:foo:1.0.0: exported # Exposed to dependents (like Gradle api())
- org.example:bar:1.0.0: compile-only
- org.example:baz:1.0.0: runtime-only
test-dependencies:
- io.mockk:mockk:1.13.0
settings:
jvm:
mainClass: org.example.MainKt # Default: main() in main.kt
jdk:
version: 21
kotlin:
languageVersion: 2.0
compose:
enabled: true
test-settings:
kotlin:
languageVersion: 2.0
What ships with it
3 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.
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.
- 1mo ago First seen · 227 lines · 83 tokens per session scan A 2cec94b6eb34
kotlin-tooling-kotlin-toolchain is a skill published in the GitHub repository Kotlin/kotlin-agent-skills (1,086 stars, last pushed 9d ago), licensed Apache-2.0. It adds 83 tokens to every session and 2,448 once invoked, about $0.0003 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-09-12.
Other skills, from other repositories
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…
hypothesis-testing
Property-based testing with Hypothesis for discovering edge cases and validating invariants. Use when implementing comprehensive test coverage, testing complex logic with many inputs, or validating mathematical properties and invariants across input domains. Triggered by: hypothesis, property-based testing, @given…
performance-testing
Benchmark indicator performance with BenchmarkDotNet. Use for Series/Buffer/Stream benchmarks, regression detection, and optimization patterns. Target 1.5x Series for StreamHub, 1.2x for BufferList.
migrate-mstest-v3-to-v4
Use this skill before answering, planning, or editing any MSTest 3.x-to-4.x upgrade or post-upgrade failure. Triggers include "MSTest v4 breaking changes"; CS0507/CS0103/CS1061/CS1615; ExecuteAsync, CallerInfo, DisplayName, or custom TestMethodAttribute; ClassCleanupBehavior; ContainsKey; ThrowsExactly or…
migrate-xunit-to-mstest
Convert .NET tests from xUnit.net v2/v3 to MSTest v4 while preserving VSTest or MTP. Use for replacing xunit packages, Fact/Theory/InlineData/MemberData, assertions, IClassFixture/ICollectionFixture, ITestOutputHelper, TestContext cancellation, traits/Owner, skips, timeouts, and xUnit parallelization. Also use when a…
migrate-xunit-to-xunit-v3
Migrate .NET test projects from xUnit.net v2 to xunit.v3 and fix v3 breaks. Use for package/CPM conversion, OutputType=Exe, preserving the VSTest or MTP runner (including projects currently using YTest.MTP.XUnit2), incompatible TFMs, async void tests, string-to-Type attributes, custom Fact/Theory/BeforeAfterTest…