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.
npx agentmods add skills/aoreshkov/kotlin-lib-mcp/setupnpx skills add aoreshkov/kotlin-lib-mcp --skill setupgit clone --depth 1 https://github.com/aoreshkov/kotlin-lib-mcpWrote 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.
[](https://agentmods.dev/skills/aoreshkov/kotlin-lib-mcp/setup)<a href="https://agentmods.dev/skills/aoreshkov/kotlin-lib-mcp/setup"><img src="https://agentmods.dev/badge/skills/aoreshkov/kotlin-lib-mcp/setup.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00049 | $0.00846 |
| Opus 5 | $0.00024 | $0.00423 |
| Sonnet 5 | $0.00010 | $0.00169 |
| Haiku 4.5 | $0.00005 | $0.00085 |
Grade A, and why
setup 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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 61 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Set up kotlin-lib
The plugin ships one MCP server, started for you when the plugin is enabled:
{ "command": "docker",
"args": ["run", "-i", "--rm", "-v", "kotlin-lib-mcp-cache:/home/mcp/.cache",
"ghcr.io/aoreshkov/kotlin-lib-mcp:0.5"] }
Requirement: Docker must be installed and running. Nothing else — no JDK, no Gradle, no
credentials, no account. The named volume kotlin-lib-mcp-cache keeps downloaded sources and the
parsed index across runs; without it every session re-downloads and re-analyzes, since the
container is --rm.
Verify
- Check the tools are present — the toolset should include
fetch_library,list_packages,list_declarations,get_api_signature,get_kdoc,get_source,search_source,get_dependencies,list_versions,get_latest_version. - Smoke-test with a small library:
fetch_libraryonorg.jetbrains:annotations:26.0.2, thenlist_packageson the same coordinate. Both succeeding means the pipeline works end to end. - Report the result plainly. Do not proceed to a large library if the smoke test failed.
When it fails
| Symptom | Cause | Fix |
|---|---|---|
Server never starts; /plugin Errors shows the docker command |
Docker not installed or daemon not running | Start Docker Desktop / the daemon, then /reload-plugins |
manifest unknown / pull error |
Registry unreachable, or an air-gapped machine | docker pull ghcr.io/aoreshkov/kotlin-lib-mcp:0.5 by hand and read the error |
Tools present, every fetch_library fails |
No network route to Maven Central from the container, or a corporate proxy | Test with docker run --rm ghcr.io/aoreshkov/kotlin-lib-mcp:0.5 --help; pass a mirror with --repo <url> |
| First fetch is very slow | Expected — download plus full source analysis | It is cached afterwards, keyed by group/artifact/version |
| Fetch works, later calls say the library is not fetched | The cache volume is missing from the args | Confirm -v kotlin-lib-mcp-cache:/home/mcp/.cache is in the command |
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.
- 4d ago First seen · 61 lines · 49 tokens per session scan A 82d0bf6c5ce4
setup is a skill published in the GitHub repository aoreshkov/kotlin-lib-mcp (8 stars, last pushed 7d ago), licensed Apache-2.0. It adds 49 tokens to every session and 846 once invoked, about $0.0002 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-31.
Other skills, from other repositories
compose-animations
Use when writing or reviewing Jetpack Compose motion: visibility enter/exit, animating one property toward a target, color or size transitions, multiple properties from one state, switching composable content, or choosing between AnimatedVisibility, animateAsState, rememberTransition, AnimatedContent, and Crossfade.
compose-focus-navigation
Use when writing or reviewing Jetpack Compose UI for TV, keyboard, desktop, accessibility focus, D-pad navigation, FocusRequester, focusProperties, key events, or initial focus behavior.
kotlin-control-flow
Use when writing or reviewing Kotlin branching and control flow: when expressions, guard conditions, sealed type exhaustiveness, smart casts, nullable branching, early returns, or replacing complex if/else chains.
using-chrisbanes-skills
Use when debugging, benchmarking, or profiling leads into Kotlin or Jetpack Compose source before the cause is known, or when one task spans multiple Kotlin or Compose concerns, especially plain Kotlin Flow or navigation delivery plus sealed branching.
kotlin-api-design
Use when designing or reviewing Kotlin function ownership, member or extension functions, factories, single-field domain types, value classes, data classes, Kotlin Multiplatform expect/actual declarations, or platform service boundaries.
kotlin-concurrency-and-flow
Use when writing or reviewing Kotlin coroutine scope ownership, raw Thread or Executor work, init launches, non-suspending launch APIs, runBlocking, cancellation, StateFlow, SharedFlow, Channel, stateIn, SharingStarted, state updates, or one-shot events.