Skip to main content
subagent CX Codex

kotlin-specialist · voltagent/awesome-codex-subagents — Codex subagent: what it does, how to install

kotlin-specialist — a subagent for Kotlin tasks across JVM services and Android. Fixes coroutines, type contracts, and runtime edge cases with minimal edits.

MIT ★ 6,505 updated 2026-10-05

Install into Codex · Manually: put the files in place All methods and platforms ↓
.codex/agents/kotlin-specialist.toml
Open on GitHub

What kotlin-specialist does

This subagent handles Kotlin issues where concurrency, serialization contracts, or strict typing need attention. Instead of executing generic checklists, it traces the execution boundary from entry points to shared dependencies, identifies the root cause, and applies targeted corrections that leave surrounding code intact.

Its review checks structured concurrency lifecycles, data-class nullability against actual runtime behavior, and Java interop points. Every output details the exact touched paths, observed risks, tradeoffs, and explicit assumptions requiring environment-level testing.

Configured to run on gpt-5.6-sol, the agent deliberately rejects heavy abstractions or wide refactorings for localized bugs unless the parent agent explicitly commands them.

What it helps with

  • Fix predictable job cancellation issues under coroutine failures
  • Design explicit success and failure states using sealed hierarchies
  • Align runtime nullability contracts across Java interop layers
  • Validate immutability and threading assumptions in shared state

Example prompts for the agent

  • Analyze why coroutine jobs leak when background sync fails
  • Refactor our API response parsing to sealed result types
  • Verify null-safety contracts on data crossing the Java service boundary

How to install kotlin-specialist

Manually: put the files in place

.codex/agents/kotlin-specialist.toml

Codex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/

Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean

Questions about kotlin-specialist

How to install kotlin-specialist in Codex?

Place the subagent definition into .codex/agents/kotlin-specialist.toml inside your workspace.

What does kotlin-specialist do?

It diagnoses Kotlin defects in Android and JVM code, isolates concurrency bugs, and proposes minimal safe patches with residual risk notes.

Which model powers kotlin-specialist?

The agent frontmatter specifies gpt-5.6-sol as its underlying model.

Source text

kotlin-specialist.toml · MIT
# kotlin-specialist

Use when a task needs Kotlin expertise for JVM applications, Android code, coroutines, or modern strongly typed service logic.

Own Kotlin tasks as production behavior and contract work, not checklist execution.

Prioritize smallest safe changes that preserve established architecture, and make explicit where compatibility or environment assumptions still need verification.

Working mode:
1. Map the exact execution boundary (entry point, state/data path, and external dependencies).
2. Identify root cause or design gap in that boundary before proposing changes.
3. Implement or recommend the smallest coherent fix that preserves existing behavior outside scope.
4. Validate the changed path, one failure mode, and one integration boundary.

Focus on:
- null-safety and data-class contract correctness
- coroutine structured concurrency and cancellation behavior
- sealed/result modeling for explicit success/failure states
- JVM/Android boundary considerations in touched path
- extension-function and DSL usage clarity for maintainability
- immutability and thread-safety assumptions in shared state
- interop boundaries with Java libraries where applicable

Quality checks:
- verify coroutine jobs complete/cancel predictably under failure conditions
- confirm nullability contracts align with real runtime possibilities
- check exception-to-result mapping consistency in changed flows
- ensure serialization/API contract changes are backward-compatible or noted
- call out threading assumptions requiring integration-level validation

Return:
- exact module/path and execution boundary you analyzed or changed
- concrete issue observed (or likely risk) and why it happens
- smallest safe fix/recommendation and tradeoff rationale
- what you validated directly and what still needs environment-level validation
- residual risk, compatibility notes, and targeted follow-up actions

Do not introduce large abstraction layers or broad architectural rewrites for a local defect unless explicitly requested by the parent agent.

© VoltAgent · MIT · VoltAgent/awesome-codex-subagents

Similar subagents

All subagents for Programming languages →

kotlin-specialist by other authors comes first.

kotlin-specialist VoltAgent Community kotlin-specialist — a subagent for Kotlin 1.9+ development across Android, Ktor, and multiplatform projects. It enforces coroutine patterns, clean functional code, and Detekt analysis. CX Codex 501installs kotlin-expert personamanagmentlayer The kotlin-expert skill guides Kotlin work across Android, coroutines, JVM, and Kotlin Multiplatform. Use it when an agent needs help with Kotlin syntax, architecture, or asynchronous code. CX Codex +1 203installs appwrite-kotlin appwrite Gives your agent ready examples for the Appwrite Kotlin SDK: auth, database queries, file uploads, realtime and server-side admin calls. CX Codex +1 916installs kotlin-tooling-kotlin-toolchain github:@singleton11 kotlin-tooling-kotlin-toolchain is a Claude Code skill that activates when building, running, testing, or configuring Kotlin/Java projects with Kotlin Toolchain. CX Codex +1 753installs kotlin-coroutines-flows affaan-m The kotlin-coroutines-flows skill covers Kotlin Coroutines and Flow patterns for Android and KMP. Use it when handling cancellation, concurrent work, reactive state, or tests. CX Codex +1 6,700installs android-kotlin alinaqi android-kotlin is a Claude Code skill for Android development with Kotlin, Coroutines, Jetpack Compose, Hilt, and MockK. It activates while the agent works with Kotlin source and Gradle files. CX Codex +1 3,400installs kotlin-concurrency-and-flow chrisbanes kotlin-concurrency-and-flow — a skill for writing and reviewing Kotlin coroutine code: scope ownership, cancellation, StateFlow, SharedFlow and Channel. CX Codex +1 1,500installs

From the same set176

The whole set →
php-pro php-pro — a subagent for PHP code: analyzes application logic, handles framework integration, debugs runtime errors, and evolves server code safely. Use it when you need deep PHP expertise, not just syntax. CX Codex ★ 6,505repo stars node-specialist node-specialist is a Codex subagent for Node.js backend work, checking event-loop safety, streams, async boundaries, and graceful shutdown. CX Codex ★ 6,505repo stars nextjs-developer nextjs-developer investigates Next.js routing, rendering, and data-flow issues, then recommends a focused change. Use it when server/client boundaries or deployment behavior matter. CX Codex ★ 6,505repo stars laravel-specialist laravel-specialist — a subagent for routing, Eloquent, queues, validation, and Laravel architecture. Maps execution boundaries, identifies root cause, proposes minimal safe changes, and verifies transaction atomicity. CX Codex ★ 6,505repo stars javascript-pro javascript-pro — a Codex subagent for JavaScript runtime work in browsers and Node.js. It traces failures, proposes focused fixes, and checks the changed execution path. CX Codex ★ 6,505repo stars java-architect java-architect — a subagent for tasks that require Java application architecture work: large codebase structure, JVM behavior, framework boundaries. Maps execution paths, identifies root causes, and proposes minimal safe changes. CX Codex ★ 6,505repo stars golang-pro golang-pro is a Codex subagent focused on Go concurrency, channel correctness, and backend performance, making small, safe fixes without rewriting the architecture. CX Codex ★ 6,505repo stars flutter-expert flutter-expert — a Flutter-focused subagent for widget behavior, state, rendering, and cross-platform mobile work. Use it when a localized change needs architectural care. CX Codex ★ 6,505repo stars

Project sponsors

Companies that keep this analytics open