Koin Skills: dependency injection for Kotlin
Koin Skills
The koin plugin of four skills: Koin 4 setup, code, migration from Hilt and Dagger and error diagnosis through Kotzilla
- 72 ★ on the repository
- Last commit
- Apache-2.0
Extended access
Why this level
- The skills edit project source and Gradle build files, and a migration touches many modules at once
- The optional Kotzilla sends app behavior data to an external service after you sign in
Install
- Works in
In your terminal, with SkillFoxx CLI
npx skillfoxx add plugins/koin-skillsDetects the agents on your machine, shows the access level and pins the version.
Other ways to install
Access and checks
How we reviewExtended accessThe tool runs code or makes network calls and only reads external data.
- The skills edit project source and Gradle build files, and a migration touches many modules at once
- The optional Kotzilla sends app behavior data to an external service after you sign in
This is third-party code. Review the repository files before installing.
What it does
The koin plugin packs four skills for Kotlin, Android, Compose, Kotlin Multiplatform and Ktor projects. They target Koin 4.x with the compiler plugin, which checks the dependency graph at build time for both annotations and the DSL. The koin-setup skill adds Koin to a new or legacy project, including next to another container. The koin skill writes definitions, modules, entry points, scopes and tests and pushes back when it spots a typical dependency injection mistake. The di-migration skill moves a project from Hilt, Dagger, Toothpick, Kodein, Metro, Koin 3.x, the classic DSL or Koin KSP. It works in eight steps and progressively by default: a new Koin module is created first, definitions move into it and the old container is read through bridges. For Hilt that is koin-dagger-bridge. The koin-diagnose skill investigates Koin errors and app behavior: startup, ANRs and instances created twice. It finds static suspects itself and confirms them through the Kotzilla MCP server if you agreed to connect it.
Who it is for. Android and Kotlin developers adding Koin to a project or moving to it from Hilt, Dagger and other containers.
Good fit when
- A Hilt project keeps growing and the team wants to move to Koin module by module without breaking the build
- A new Kotlin Multiplatform project needs dependency injection set up from scratch
- The same repository is created twice and it is unclear in which scope that happens
- An app hangs at startup and the dependency graph is the suspect
- An old Koin 3.x project moves to 4.x with the compiler plugin
Not a fit when
- The project stays on Hilt and does not plan to switch containers, since the skills are built for Koin
- Kotlin is older than 2.3.20, which the compiler plugin does not support
- You want runtime behavior debugging without a Kotzilla account, where static analysis only names suspects
- You need general app architecture, while the skills cover only dependency injection
Example request
Migrate the profile module from Hilt to Koin step by step and keep the other modules on the old container through a bridge.Limitations
The skills target Koin 4.2.2 and newer and Kotlin 2.3.20 and newer. Agents other than Claude Code need the skills utility and Node.js 22. During a progressive migration two containers run at once, and the old one stays until the move ends. Kotzilla is optional: it needs a free kotzilla.io account and a sign-in you perform yourself. After one refusal the skills do not offer it again in that conversation. The migration goes module by module, and after each one the project has to be built and checked.
How to disable. The /plugin uninstall koin@koin-skills command removes the plugin. Manually copied skills go away with their folder in .claude/skills or ~/.claude/skills, and Kotzilla is disconnected with claude mcp remove kotzilla.
FAQ
How do I install Koin Skills in Claude Code?
Run /plugin marketplace add InsertKoinIO/koin-skills, then /plugin install koin@koin-skills. The skills appear as koin:koin-setup, koin:koin, koin:di-migration and koin:koin-diagnose.
Which containers can di-migration move from?
Hilt, Dagger 2, Toothpick, Kodein, Metro, Koin 3.x, the classic DSL and Koin KSP. The target is always Koin 4.x with the compiler plugin, and for Kodein and the Koin DSL it is the DSL variant.
What is Kotzilla and do I need it?
Kotzilla is a Koin diagnostics service with its own MCP server that connects on request. The skills work without it. The server address is https://mcp.kotzilla.io/mcp, sign-in uses OAuth and the account is free.
Does the set work in Cursor and Codex?
Yes, through the skills utility: npx skills add InsertKoinIO/koin-skills. It installs the skills for Cursor, Codex, Copilot, Windsurf, Gemini and other agents that read skills.
What does koin-diagnose do without Kotzilla?
The skill reads the code statically and names suspects, and it offers to connect Kotzilla once. For Koin errors the Kotzilla MCP server is enough, and the SDK adds data about runtime behavior.
Discussion
No questions or reviews yet.
Related
Plugins21 skills for Android and KMP in Claude Code, Codex and Copilot CLI: Compose, coroutines, Flow, networking, storage, Gradle
Skills for Kotlin, Jetpack Compose and Android: state and effects, performance, Flow, testing, benchmarks, Gradle and PR workflows
Kotlin Footguns
kotlin-footguns
Skills on the pitfalls of Kotlin, Compose Multiplatform and Android drawn from the experience of the author of the SimpMusic app. GPL-3.0 license
Thirteen skills and two rule files for Kuikly, Tencent's Kotlin UI framework: components, animation, networking, profiling
Official set of 30 skills from the Android team: Jetpack Compose, AGP 9 upgrade, R8, Perfetto profiling, Navigation 3, CameraX, Google Play policies
Awesome Android Agent Skills
awesome-android-agent-skills
Skills for modern Android development for Copilot, Claude, Gemini and Cursor: Kotlin, Jetpack Compose, architecture, Hilt, Room
Comparison with similar tools
Cards that share the main search query, and how they differ.
| Tool | Official | Repository stars | Main difference |
|---|---|---|---|
| Koin Skills: dependency injection for Kotlin (this card) | yes | 72 | |
| kotlin-agent-skills | no | 1,119 | a general Kotlin team set about build migrations and Java conversion, without dependency injection |
| Android skills | yes | 10,490 | official Android skills for Compose, AGP and Google Play that leave dependency containers alone |
README in short
The README presents the koin plugin, a table of four skills, three ways to install and a table of migration paths. Separate sections cover connecting Kotzilla, version requirements and the repository layout, where skills are generated by build.sh.