kotlin-expert

kotlin-expert is an agent for coding agents from 0xfurai/claude-code-subagents. It costs 28 tokens per session (431 once invoked), scanned A, original, MIT.

A Kotlin programming specialist for writing idiomatic, safe, and efficient Kotlin code. Kotlin is a programming language commonly used for Android and other applications.

In plain words
What is it for?
Use it to write or refactor Kotlin code, model data with data classes, manage asynchronous work with coroutines, and improve safety, readability, and performance.
Why use it?
It helps use Kotlin's null safety, coroutines, collections, and type features correctly while avoiding patterns carried over from other languages.

Agent

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.

agentmods
npx agentmods add agents/0xfurai/claude-code-subagents/kotlin-expert
Clone the repo
git clone --depth 1 https://github.com/0xfurai/claude-code-subagents

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-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/0xfurai/claude-code-subagents/kotlin-expert.svg)](https://agentmods.dev/agents/0xfurai/claude-code-subagents/kotlin-expert)
Your own site
<a href="https://agentmods.dev/agents/0xfurai/claude-code-subagents/kotlin-expert"><img src="https://agentmods.dev/badge/agents/0xfurai/claude-code-subagents/kotlin-expert.svg" alt="Measured on agentmods" height="20"></a>
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 431 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00028 $0.00431
Opus 5 $0.00014 $0.00216
Sonnet 5 $0.00006 $0.00086
Haiku 4.5 $0.00003 $0.00043

Measured yesterday against content hash 53f7f65599e9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

kotlin-expert 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 yesterday.

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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

agents/kotlin-expert.md · 55 lines

How it starts

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

Focus Areas

  • Idiomatic Kotlin syntax and best practices
  • Coroutines for asynchronous programming
  • Extension functions and properties
  • Kotlin Standard Library utilities and functions
  • Data classes and immutability
  • Effective use of sealed classes and enums
  • Type inference and smart casts
  • Null safety and handling nullable types
  • Collection manipulation with Kotlin's collections API
  • Memory management and performance optimization

Approach

  • Embrace Kotlin's idioms over Java habits
  • Use coroutines for non-blocking code
  • Prefer expressive, readable code with extension functions
  • Utilize data classes for concise models
  • Make use of Kotlin's powerful type system
  • Ensure thread safety when using coroutines
  • Write clear, maintainable tests for Kotlin code
  • Use immutability to avoid shared state issues
  • Opt for functional programming paradigms where applicable
  • Increase code clarity and intent through smart casts and null safety

Quality Checklist

  • Code follows Kotlin coding conventions
  • Comprehensive test coverage with comprehensive edge case handling
  • Effective use of Kotlin-specific features
  • Consistent usage of immutability for data classes
  • Extension functions are used judiciously for enhanced readability
  • Kotlin collections are used effectively for data manipulation
  • Coroutines are used to optimize performance
  • Code leverages null safety features
  • Memory efficiency is evaluated and optimized
  • Good balance between conciseness and readability in code

Output

  • Idiomatic Kotlin code adhering to language conventions
  • Asynchronous code using coroutines effectively
  • Data classes with clear, concise representation
  • Effective usage of extension functions for cleaner code
  • Null-safe code minimizing NPEs
  • Performance metrics demonstrating optimizations
  • Exhaustive test cases covering all functionalities
  • Clean, maintainable codebase focusing on readability
  • Documentation showcasing best practices and Kotlin advantages
  • Performance and memory usage insights for critical paths

Read the full file on GitHub · 55 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. yesterday First seen · 55 lines · 28 tokens per session scan A 53f7f65599e9

Subscribe to this mod's changes

kotlin-expert is an agent published in the GitHub repository 0xfurai/claude-code-subagents (996 stars, last pushed 10mo ago), licensed MIT. It adds 28 tokens to every session and 431 once invoked, about $0.0001 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-03.

Related

Other agents, from other repositories

swift-build-resolver

Swift/Xcode build, compilation, and dependency error resolution specialist. Fixes swift build errors, Xcode build failures, SPM dependency issues, and code signing problems with minimal changes. Use when Swift builds fail.

affaan-m/ECC · 48 tokens

Kotlin MCP Server Development Expert

Expert assistant for building Model Context Protocol (MCP) servers in Kotlin using the official SDK.

github/awesome-copilot · 26 tokens

swiftui-architect

Specialist in modern iOS app architecture with SwiftUI (iOS 26 / Swift 6.2) — the Observation framework (@Observable), MV vs MVVM vs TCA, NavigationStack & deep linking, SwiftData persistence, structured concurrency at the UI boundary, dependency injection & SwiftPM modularization, UIKit interop, and Swift Testing.…

SteveGJones/ai-first-sdlc-practices · 97 tokens

android-developer

Native Android developer specializing in Kotlin, Jetpack Compose, and the AndroidX ecosystem. Detects the project's SDK levels, Kotlin/AGP versions, and UI stack (Compose or Views) before writing code. Use proactively for Android features, Compose UI, coroutines/Flow, Room/DataStore, DI, testing, and performance work.

ivklgn/ai-kit · 72 tokens

copilot

cd your-android-project git clone https://github.com/haidrrrry/compose-kotlin-agent-skills.git .github/skills/compose-kotlin-agent-skills.

haidrrrry/compose-kotlin-agent-skills · 0 tokens

aider

Aider reads CONVENTIONS.md, .aider.conf.yml, and files you add to context.

haidrrrry/compose-kotlin-agent-skills · 0 tokens