kotlin-tooling-kotlin-toolchain

kotlin-tooling-kotlin-toolchain is a skill for Claude Code, Codex from Kotlin/kotlin-agent-skills. It costs 83 tokens per session (2,448 once invoked), scanned A, original, Apache-2.0.

A command-line build tool for Kotlin and Java projects, including JVM, Android, iOS, and multiplatform projects. It uses YAML project files and can build, run, test, package, lint, and configure projects.

In plain words
What is it for?
Use it to create or maintain Kotlin projects, run tests and builds, package applications, configure modules, and perform linting.
Why use it?
It provides one documented workflow for projects using the Kotlin Toolchain, including projects with a checked-in wrapper that selects the intended tool version.

Skill for Claude CodeCodex

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

Good fit Use it to create or maintain Kotlin projects, run tests and builds, package applications, configure modules, and perform linting.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kotlin/kotlin-agent-skills/kotlin-tooling-kotlin-toolchain
About the project

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.

Kotlin/kotlin-agent-skills · 1,151 stars · on GitHub · kotlinlang.org

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 Kotlin/kotlin-agent-skills --skill kotlin-tooling-kotlin-toolchain
Clone the repo
git clone --depth 1 https://github.com/Kotlin/kotlin-agent-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 kotlin-tooling-kotlin-toolchain

README.md
[![agentmods](https://agentmods.dev/badge/skills/kotlin/kotlin-agent-skills/kotlin-tooling-kotlin-toolchain/github.svg)](https://agentmods.dev/skills/kotlin/kotlin-agent-skills/kotlin-tooling-kotlin-toolchain)
Your own site
<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.

agentmods 80×15 button for kotlin-tooling-kotlin-toolchain

Your own site · 80×15
<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>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,448 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. Third-party audits
  • Socket pass 11 Sept 2026
  • Snyk pass 11 Sept 2026
How audits are shown
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.00083 $0.02448
Opus 5.5 $0.00033 $0.00979
Sonnet 5.5 $0.00017 $0.00490
Haiku 4.5 $0.00008 $0.00245

Measured 2mo ago against content hash 2cec94b6eb34, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 2mo 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/kotlin-tooling-kotlin-toolchain/SKILL.md · 227 lines

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

Read the full file on GitHub · 227 lines

Files

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.

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. 2mo ago First seen · 227 lines · 83 tokens per session scan A 2cec94b6eb34

Subscribe to this mod's changes

kotlin-tooling-kotlin-toolchain is a skill published in the GitHub repository Kotlin/kotlin-agent-skills (1,151 stars, last pushed today), 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.

Related

kotlin-tooling-kotlin-toolchain compared with skills from other repositories

kotlin-tooling-kotlin-toolchain next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
kotlin-tooling-kotlin-toolchainKotlin/kotlin-agent-skillsSkill1.2ktodayApache-2.0A83Claude Code, Codex
dagger-hilt-expertJosephSanjaya/skillsSkill51mo agoMITA145Claude Code, Codex
kotlin-mcp-server-expertJosephSanjaya/skillsSkill51mo agoMITA169Claude Code, Codex
testing-expertJosephSanjaya/skillsSkill51mo agoMITA115Claude Code, Codex
koog-expertJosephSanjaya/skillsSkill51mo agoMITA122Claude Code, Codex
kotlin-coroutine-expertJosephSanjaya/skillsSkill51mo agoMITA89Claude Code, Codex
kotlin-k2-expertJosephSanjaya/skillsSkill51mo agoMITA193Claude Code, Codex