Creator · Kotlin
Last updated · Sep 4, 2026
Use when converting Java source files to idiomatic Kotlin, when user mentions "java to kotlin", "j2k", "convert java", "migrate java to kotlin", or when working with .java files that need to become .kt files. Handles framework-aware conversion for Spring, Lombok, Hibernate, Jacks
Sandbox only
Install targets
Codex install prompt
Install the "kotlin-tooling-java-to-kotlin" agent skill from https://github.com/Kotlin/kotlin-agent-skills/tree/main/skills/kotlin-tooling-java-to-kotlin. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: Use when converting Java source files to idiomatic Kotlin, when user mentions "java to kotlin", "j2k", "convert java", "migrate java to kotlin", or when working with .java files that need to become .kt files. Handles framework-aware conversion for Spring, Lombok, Hibernate, Jackson, Micronaut, Quarkus, Dagger/Hilt, RxJava, JUnit, Guice, Retrofit, and Mockito. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"kotlin-kotlin-tooling-java-to-kotlin","task":"Install kotlin-tooling-java-to-kotlin","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Deep research, source comparison, literature review, RAG, knowledge search, and reports.
Scenario
Research agents
I need my agent to research a topic, compare sources, and produce a concise report.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add Kotlin/kotlin-agent-skills --skill kotlin-tooling-java-to-kotlin
Maintenance
fresh
14d since push
Risk
Needs review
Permission surface may require sandboxing
GitHub quality
1.0K
77/100 Quality · 76/100 Trust
Coverage tags
Review notes
Permission surface may require sandboxing · The skill executes git mv and may trigger compilation/tests, but SKILL.md does not explicitly warn against following instructions embedded in Java source comments or untrusted conversion inputs.
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
StrongSolid option that is likely worth shortlisting for production workflows.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
1.0K GitHub stars
Repo activity
1.0K stars, 41 forks
Maintenance
14d since push
License
Apache-2.0
Install
npx skills add Kotlin/kotlin-agent-skills --skill kotlin-tooling-java-to-kotlin
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add Kotlin/kotlin-agent-skills --skill kotlin-tooling-java-to-kotlinDo not use when
Alternative
1.9K Stars
npx skills add yanliudesign/mono-color-skill --skill mono-color
Alternative
61.0K Stars
npx skills add mvanhorn/last30days-skill -g
Alternative
38.4K Stars
npx skills add Imbad0202/academic-research-skills
Alternative
256.3K Stars
npx skills add mattpocock/skills --skill grill-me
Agent safety v2
Sparse or mixed signals. Useful for discovery, but not for autonomous installation.
Test manually in an isolated workspace and compare against safer alternatives.
high
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20kotlin-tooling-java-to-kotlin%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20kotlin-tooling-java-to-kotlin%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/kotlin-kotlin-tooling-java-to-kotlin/install
Agent should check
Copy prompt
Task: Use kotlin-tooling-java-to-kotlin in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20kotlin-tooling-java-to-kotlin%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/kotlin-kotlin-tooling-java-to-kotlin/install
Install command: npx skills add Kotlin/kotlin-agent-skills --skill kotlin-tooling-java-to-kotlin
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/kotlin-kotlin-tooling-java-to-kotlin/install
LLM text format
/api/skills/kotlin-kotlin-tooling-java-to-kotlin/install?format=text
Find alternatives
/api/skills/search?q=kotlin-tooling-java-to-kotlin&limit=3
Agent prompt
Use kotlin-tooling-java-to-kotlin for this task. Review https://www.openagentskill.com/api/skills/kotlin-kotlin-tooling-java-to-kotlin/install, then install with: npx skills add Kotlin/kotlin-agent-skills --skill kotlin-tooling-java-to-kotlinRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/kotlin-kotlin-tooling-java-to-kotlin
LLM text
/api/registry/manifest/kotlin-kotlin-tooling-java-to-kotlin?format=text
Install alias
/api/registry/install/kotlin-kotlin-tooling-java-to-kotlin
Recommend
/api/registry/recommend?task=Use%20kotlin-tooling-java-to-kotlin%20in%20an%20agent%20workflow&limit=3
Agent fit
Research agents
Use-case tags
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Use this as a leading candidate, then validate the README and install path in your own agent stack.
Role in stack
Primary pick
Primary fit
Research agents
Trust label
Production-ready
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
PASS1.0K GitHub stars
Stars/forks activity
INFO1.0K stars, 41 forks; issue activity unavailable in current metadata
Recent maintenance
PASS14d since push
License clarity
PASSApache-2.0
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Solid option that is likely worth shortlisting for production workflows.
Workflow fit
Investigate faster
I need my agent to research a topic, compare sources, and produce a concise report.
Operate web apps
I need my agent to control a browser, fill forms, and verify web app workflows.
Manage repositories
I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.
Workflow fit
Find, compare, and synthesize
A workflow for agents that gather sources, compare claims, summarize long material, and draft useful research briefs.
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Alternative shortlist
Similar skills that may fit this task.
Generate original one-ink or controlled two-ink editorial images from any theme, sentence, article idea, object, or reference photo. Always use this skill when the user asks for 单色海报、双色印刷、单色调视觉、蓝色/绿色孔版印刷、risograph、网点照片、复古或当代编辑排版、zine poster, monochrome editorial poster, duotone print, or asks to use the mono-color style. It uses an adaptive white, gray, or pale-beige substrate, no more than two printing inks, active negative space, terse human language, and strong serif/grotesk/mono typography without making retro styling the default or copying a source composition, wording, logo, or artwork. Produce both the final generation prompt and the generated raster image unless the user explicitly asks for prompt only.
Research the last 30 days across Reddit, X, YouTube, Hacker News, Polymarket, GitHub, and the web, then synthesize a grounded brief for an AI agent.
Academic Research Skills for Claude Code: research → write → review → revise → finalize
A relentless interview to sharpen a plan or design.
--- name: kotlin-tooling-java-to-kotlin description: > Use when converting Java source files to idiomatic Kotlin, when user mentions "java to kotlin", "j2k", "convert java", "migrate java to kotlin", or when working with .java files that need to become .kt files. Handles framework-aware conversion for Spring, Lombok, Hibernate, Jackson, Micronaut, Quarkus, Dagger/Hilt, RxJava, JUnit, Guice, Retrofit, and Mockito. license: Apache-2.0 metadata: author: JetBrains version: "1.0.0" ---
# Java to Kotlin Conversion
Convert Java source files to idiomatic Kotlin using a disciplined 4-step conversion methodology with 5 invariants checked at each step. Supports framework-aware conversion that handles annotation site targets, library idioms, and API preservation.
## Workflow
```dot digraph j2k_workflow { rankdir=TB; "User specifies files" -> "Step 0: Scan & Detect"; "Step 0: Scan & Detect" -> "Load framework guides"; "Load framework guides" -> "Step 1: Convert"; "Step 1: Convert" -> "Step 2: Write .kt"; "Step 2: Write .kt" -> "Step 3: Git rename"; "Step 3: Git rename" -> "Step 4: Verify"; "Step 4: Verify" -> "Next file?" [label="pass"]; "Step 4: Verify" -> "Fix issues" [label="fail"]; "Fix issues" -> "Step 1: Convert"; "Next file?" -> "Step 0: Scan & Detect" [label="batch: yes"]; "Next file?" -> "Done" [label="no more files"]; } ```
## Step 0: Scan & Detect Frameworks
Before converting, scan the Java file's import statements to detect which frameworks are in use. Load ONLY the matching framework reference files to keep context focused.
### Framework Detection Table
| Import prefix | Framework guide | |---|---| | `org.springframework.*` | [SPRING.md](references/frameworks/SPRING.md) | | `lombok.*` | [LOMBOK.md](references/frameworks/LOMBOK.md) | | `javax.persistence.*`, `jakarta.persistence.*`, `org.hibernate.*` | [HIBERNATE.md](references/frameworks/HIBERNATE.md) | | `com.fasterxml.jackson.*` | [JACKSON.md](references/frameworks/JACKSON.md) | | `io.micronaut.*` | [MICRONAUT.md](references/frameworks/MICRONAUT.md) | | `io.quarkus.*`, `javax.enterprise.*`, `jakarta.enterprise.*` | [QUARKUS.md](references/frameworks/QUARKUS.md) | | `dagger.*`, `dagger.hilt.*` | [DAGGER-HILT.md](references/frameworks/DAGGER-HILT.md) | | `io.reactivex.*`, `rx.*` | [RXJAVA.md](references/frameworks/RXJAVA.md) | | `org.junit.*`, `org.testng.*` | [JUNIT.md](references/frameworks/JUNIT.md) | | `com.google.inject.*` | [GUICE.md](references/frameworks/GUICE.md) | | `retrofit2.*`, `okhttp3.*` | [RETROFIT.md](references/frameworks/RETROFIT.md) | | `org.mockito.*` | [MOCKITO.md](references/frameworks/MOCKITO.md) |
If `javax.inject.*` is detected, check for Dagger/Hilt vs Guice by looking for other imports from those frameworks. If ambiguous, load both guides.
## Step 1: Convert
Apply the conversion methodology from [CONVERSION-METHODOLOGY.md](references/CONVERSION-METHODOLOGY.md).
This is a 4-step chain-of-thought process: 1. **Faithful 1:1 translation** — exact semantics preserved 2. **Nullability & mutability audit** — val/var, nullable types 3. **Collection type conversion** — Java mutable → Kotlin types 4. **Idiomatic transformations** — properties, string templates, lambdas
Five invariants are checked after each step. If any invariant is violated, revert to the previous step and redo.
Apply any loaded framework-specific guidance during step 4 (idiomatic transformations).
## Step 2: Write Output
Write the converted Kotlin code to a `.kt` file with the same name as the original Java file, in the same directory.
## Step 3: Preserve Git History
To preserve `git blame` history, use a two-phase approach:
```bash # Phase 1: Rename (creates rename tracking) git mv src/main/java/com/example/Foo.java src/main/kotlin/com/example/Foo.kt git commit -m "Rename Foo.java to Foo.kt"
# Phase 2: Replace content (tracked as modification, not new file) # Write the converted Kotlin content to Foo.kt git commit -m "Convert Foo from Java to Kotlin" ```
If the project keeps Java and Kotlin in the same source root (e.g., `src/main/java/`), rename in place:
```bash git mv src/main/java/com/example/Foo.java src/main/java/com/example/Foo.kt ```
If the project does not use Git, simply write the `.kt` file and delete the `.java` file.
## Step 4: Verify
After conversion, verify using [checklist.md](assets/checklist.md): - Attempt to compile the converted file - Run existing tests - Check annotation site targets - Confirm no behavioral changes
## Batch Conversion
When converting multiple files (a directory or package):
1. **List all `.java` files** in the target scope 2. **Sort by dependency order** — convert leaf dependencies first (files that don't import other files in the conversion set), then work up to files that depend on them 3. **Convert one file at a time** — apply the full workflow (steps 0-4) for each 4. **Track progress** — report which files are done, which remain 5. **Handle cross-references** — after converting a file, update imports in other Java files if needed (e.g., if a class moved packages)
For large batches, consider converting in packages (bottom-up from leaf packages).
## Common Pitfalls
See [KNOWN-ISSUES.md](references/KNOWN-ISSUES.md) for: - Kotlin keyword conflicts (`when`, `in`, `is`, `object`) - SAM conversion ambiguity - Platform types from Java interop - `@JvmStatic` / `@JvmField` / `@JvmOverloads` usage - Checked exceptions and `@Throws` - Wildcard generics → Kotlin variance
Source provenance
Decision snapshot
1,032 GitHub stars
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for kotlin-tooling-java-to-kotlin, ready for a manual X post.
kotlin-tooling-java-to-kotlin: Use when converting Java source files to idiomatic Kotlin, when user mentions "java to kotlin... 1.0K stars https://www.openagentskill.com/skills/kotlin-kotlin-tooling-java-to-kotlin?ref=x
Listing + install path for kotlin-tooling-java-to-kotlin: https://www.openagentskill.com/skills/kotlin-kotlin-tooling-java-to-kotlin?ref=x Install: npx skills add Kotlin/kotlin-agent-skills --skill kotlin-tooling-java-to-kotlin
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to Kotlin but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/kotlin-kotlin-tooling-java-to-kotlin?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/kotlin-kotlin-tooling-java-to-kotlin?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/kotlin-kotlin-tooling-java-to-kotlin/audit)
[](https://www.openagentskill.com/skills/kotlin-kotlin-tooling-java-to-kotlin?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)Kotlin
@kotlin
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
mono-color
Generate original one-ink or controlled two-ink editorial images from any theme, sentence, article idea, object, or reference photo. Always use this skill when the user asks for 单色海报、双色印刷、单色调视觉、蓝色/绿色孔版印刷、risograph、网点照片、复古或当代编辑排版、zine poster, monochrome editorial poster, duotone print, or asks to use the mono-color style. It uses an adaptive white, gray, or pale-beige substrate, no more than two printing inks, active negative space, terse human language, and strong serif/grotesk/mono typography without making retro styling the default or copying a source composition, wording, logo, or artwork. Produce both the final generation prompt and the generated raster image unless the user explicitly asks for prompt only.
1.9K StarsLast30days Skill
Research the last 30 days across Reddit, X, YouTube, Hacker News, Polymarket, GitHub, and the web, then synthesize a grounded brief for an AI agent.
61.0K StarsAcademic Research Skills
Academic Research Skills for Claude Code: research → write → review → revise → finalize
38.4K Starsgrill-me
A relentless interview to sharpen a plan or design.
256.3K StarsPermission surface
shell or command execution, filesystem or document access
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness