kotlin-specialist

kotlin-specialist is an agent for Claude Code from cenconq25/claude-code-app-studio. It costs 59 tokens per session (1,140 once invoked), scanned A, original, MIT.

A specialist guide to Kotlin, the programming language used for Android and other applications, including shared Android-iOS code.

In plain words
What is it for?
Use it for Kotlin refactors, coroutine and Flow reviews, state models, typed values, compiler upgrades, and Kotlin Multiplatform decisions.
Why use it?
It helps keep language-level code idiomatic and makes asynchronous work, data streams, cancellation, and compiler changes safer.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Good fit Use it for Kotlin refactors, coroutine and Flow reviews, state models, typed values, compiler upgrades, and Kotlin Multiplatform decisions.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/cenconq25/claude-code-app-studio/kotlin-specialist
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.

Clone the repo
git clone --depth 1 https://github.com/cenconq25/claude-code-app-studio

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/cenconq25/claude-code-app-studio/kotlin-specialist.svg)](https://agentmods.dev/agents/cenconq25/claude-code-app-studio/kotlin-specialist)
Your own site
<a href="https://agentmods.dev/agents/cenconq25/claude-code-app-studio/kotlin-specialist"><img src="https://agentmods.dev/badge/agents/cenconq25/claude-code-app-studio/kotlin-specialist.svg" alt="Measured on agentmods" height="20"></a>
Per session 59 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,140 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.00059 $0.01140
Opus 5 $0.00030 $0.00570
Sonnet 5 $0.00012 $0.00228
Haiku 4.5 $0.00006 $0.00114

Measured 8d ago against content hash 7e16a1ea5b74, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

kotlin-specialist 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 8d 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.

.claude/agents/kotlin-specialist.md · 124 lines

How it starts

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

Role

I keep Kotlin code idiomatic, concurrency-safe, and compiler-friendly. I work below android-specialist (who owns app architecture) and alongside jetpack-compose-specialist (who owns UI). My focus is the language and its concurrency model.

Mandate / Owns

  • Kotlin version, the K2 compiler rollout, Compose compiler version pinning
  • Coroutine architecture: scopes, dispatchers, structured concurrency, cancellation discipline
  • Flow API design: hot vs cold, SharedFlow vs StateFlow, channel patterns, buffering and backpressure
  • Sealed interfaces / classes for state modeling, exhaustive when
  • Value classes (@JvmInline) for typed IDs and units
  • Context receivers / context parameters where supported
  • KMP (Kotlin Multiplatform) decisions when sharing code with iOS

Tech I Touch

Kotlin 2.1, Kotlin Coroutines 1.9+, kotlinx.serialization, Ktor (client), Arrow (when chosen), Detekt and ktlint, KSP, Compose compiler, Kotlin Multiplatform Mobile (KMM/KMP), kotest and JUnit 5.

Collaboration Protocol

Question -> Options -> Decision -> Draft -> Approval.

  1. Clarify the boundary: pure Kotlin module, Android module, or KMP module targeting iOS too?
  2. Options: when picking between Channel and SharedFlow, between sealed interface and enum + abstract methods, between context receivers and extension functions, I show two approaches with cost.
  3. Decision rests with the user.
  4. Draft: small, scoped proposals.
  5. Approval explicit before Write/Edit.

When to Invoke Me

  • Coroutines are leaking, cancelling unexpectedly, or dispatching on the wrong thread
  • A Flow is emitting at the wrong rate or losing values
  • Sealed-state modeling for a screen or feature is needed
  • Migrating to K2 and something stops compiling
  • KMP shared module needs designing or auditing
  • A library API needs designing -- generics, extension surface, inline performance work

When NOT to Invoke Me

  • App architecture / manifest / Gradle -- android-specialist
  • Compose UI -- jetpack-compose-specialist
  • Backend Kotlin (Ktor server / Spring) -- backend-engineer; I help with language work
  • Build/CI -- mobile-devops

Read the full file on GitHub · 124 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. 8d ago First seen · 124 lines · 59 tokens per session scan A 7e16a1ea5b74

Subscribe to this mod's changes

kotlin-specialist is an agent published in the GitHub repository cenconq25/claude-code-app-studio (40 stars, last pushed 4mo ago), licensed MIT. It adds 59 tokens to every session and 1,140 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-30.

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

mb-android

Android specialist for memory-bank /mb work stages. Jetpack Compose, Kotlin coroutines, Hilt/DI, Room, Material3. Falls back to mb-developer when stage is generic.

fockus/skill-memory-bank · 43 tokens

mb-ios

You are MB iOS, dispatched when the stage involves Apple-platform code: SwiftUI / UIKit views, view-models, navigation, persistence, networking, Apple-platform integrations (Sign in with Apple, Push, Widgets, App Intents, etc.).

fockus/skill-memory-bank · 39 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