setup

setup is a skill for Claude Code from aoreshkov/kotlin-lib-mcp. It costs 56 tokens per session (1,574 once invoked), scanned A, original, Apache-2.0.

A setup guide for starting or repairing the Kotlin library MCP server, a service that lets coding tools query published Kotlin and Java library sources. It uses Docker, which runs the server in an isolated container.

In plain words
What is it for?
Use it after installing the plugin, when its tools are missing, when the server fails to start, or when Docker is unavailable or misconfigured.
Why use it?
It explains the required Docker setup, persistent cache, available tools, and a small smoke test so you can tell whether the server works before investigating larger failures.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_DATA} variable. Also seen: reads .claude/ paths; mentions Claude Code.

Part of the kotlin-lib plugin — 4 skills, 1 MCP server shipped together

Good fit Use it after installing the plugin, when its tools are missing, when the server fails to start, or when Docker is unavailable or misconfigured.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aoreshkov/kotlin-lib-mcp/setup
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.

Any agent
npx skills add aoreshkov/kotlin-lib-mcp --skill setup
Clone the repo
git clone --depth 1 https://github.com/aoreshkov/kotlin-lib-mcp

Made for: Claude Code.

Or install kotlin-lib, the plugin that ships this one along with the rest of its 4 skills, 1 MCP server.

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 setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/aoreshkov/kotlin-lib-mcp/setup/github.svg)](https://agentmods.dev/skills/aoreshkov/kotlin-lib-mcp/setup)
Your own site
<a href="https://agentmods.dev/skills/aoreshkov/kotlin-lib-mcp/setup"><img src="https://agentmods.dev/badge/skills/aoreshkov/kotlin-lib-mcp/setup/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for setup

Your own site · 80×15
<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="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,574 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 35
    Docker image references without a specific tag (:latest is implicit) or digest (@sha256:...) can be silently replaced by a malicious image.
    Fix: Pin the image: image:tag or image@sha256:abc123
  • low Tool Misuse · line 35
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
How audits are shown
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.00056 $0.01574
Opus 5.5 $0.00022 $0.00630
Sonnet 5.5 $0.00011 $0.00315
Haiku 4.5 $0.00006 $0.00157

Measured 1mo ago against content hash 476e2be71762, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 1mo 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.

plugin/skills/setup/SKILL.md · 81 lines

How it starts

The opening of the file, as written. The whole thing — 81 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. It runs a small launcher on the user's JDK:

<java> -Xlog:disable -Xlog:all=warning:stderr --enable-native-access=ALL-UNNAMED <plugin>/launcher/KotlinLibMcpLauncher.java

The launcher downloads the server release named by the server_version option into the plugin's data directory once, verifies its SHA-256, and runs it in the same JVM. This installation is configured as:

  • Java executable (java option): ${user_config.java} — java means the one on the PATH Claude Code was started with; anything else is a full path to <JDK home>/bin/java.
  • Server version (server_version option): ${user_config.server_version}.
  • Data directory (downloaded servers): ${CLAUDE_PLUGIN_DATA}.

Requirement: a JDK 25 or later — not a JRE, because the launcher runs in single-file source mode, which compiles it. Nothing else: no Docker, no Gradle, no credentials, no account. Use the configured Java executable, quoted if its path has spaces, for every java / javac check below.

Verify

  1. Check the tools are present — the toolset should include fetch_library, list_packages, list_declarations, get_api_signature, get_kdoc, get_source, search_source, diff_versions, diff_api, get_dependencies, list_versions, get_latest_version.
  2. Smoke-test with a small library: fetch_library on org.jetbrains:annotations:26.0.2, then list_packages on the same coordinate. Both succeeding means the pipeline works end to end.
  3. Report the result plainly. Do not proceed to a large library if the smoke test failed.

When it fails

/mcp shows whether the server connected. The launcher writes its reason to stderr, which lands in the debug log: start Claude Code with claude --debug, then read ~/.claude/debug/<session-id>.txt. A plugin server that failed less than 15 minutes earlier is not started again on its own — after a fix, choose Reconnect on it in /mcp.

Read the full file on GitHub · 81 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. 1mo ago Changed · +3 lines 476e2be71762
  2. 1mo ago Changed · +17 lines · +7 tokens per session 45da737a8005
  3. 1mo ago Changed 1b310ec2b72a
  4. 1mo ago Changed 96ff3421fbe8
  5. 1mo ago Changed 150e19f858c8
  6. 2mo ago Changed 0a24d8ab63e0
  7. 3mo ago First seen · 61 lines · 49 tokens per session scan A 82d0bf6c5ce4

Subscribe to this mod's changes

setup is a skill published in the GitHub repository aoreshkov/kotlin-lib-mcp (16 stars, last pushed yesterday), licensed Apache-2.0. It adds 56 tokens to every session and 1,574 once invoked, about $0.0002 per session on Opus 5.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.

Related

setup compared with skills from other repositories

setup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
setupaoreshkov/kotlin-lib-mcpSkill16yesterdayApache-2.0A56Claude Code
compose-animationschrisbanes/skillsSkill1.2k2d agoApache-2.0A67Claude Code
compose-focus-navigationchrisbanes/skillsSkill1.2k2d agoApache-2.0A41Claude Code
release-kotlin-librarychrisbanes/skillsSkill1.2k2d agoApache-2.0A46Claude Code
using-chrisbanes-skillschrisbanes/skillsSkill1.2k2d agoApache-2.0A38Claude Code
kotlin-concurrency-and-flowchrisbanes/skillsSkill1.2k2d agoApache-2.0A60Claude Code
kotlin-api-designchrisbanes/skillsSkill1.2k2d agoApache-2.0A46Claude Code