kotlin-lib-mcp: Agent for Claude Code

.claude/agents/verify-build.md

verify-build is an agent for Claude Code from aoreshkov/kotlin-lib-mcp. It costs 57 tokens per session (503 once invoked), scanned A, original, Apache-2.0.

A project-checking agent that runs the appropriate Gradle build or tests for a Kotlin project change and reports whether they passed.

In plain words
What is it for?
Use it after changing Kotlin code, the dashboard, build settings, or shared project configuration. It can run a focused module check, a compile-only check, or the full build.
Why use it?
It gives an independent result without filling the main conversation with build and test logs. It also helps choose a check that matches the files changed.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is aoreshkov/kotlin-lib-mcp's own configuration. It tells Claude Code how to work on kotlin-lib-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything kotlin-lib-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to aoreshkov/kotlin-lib-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/aoreshkov/kotlin-lib-mcp/main/.claude/agents/verify-build.md
Clone the repo
git clone --depth 1 https://github.com/aoreshkov/kotlin-lib-mcp

Made for: Claude Code.

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 verify-build

README.md
[![agentmods](https://agentmods.dev/badge/agents/aoreshkov/kotlin-lib-mcp/verify-build/github.svg)](https://agentmods.dev/agents/aoreshkov/kotlin-lib-mcp/verify-build)
Your own site
<a href="https://agentmods.dev/agents/aoreshkov/kotlin-lib-mcp/verify-build"><img src="https://agentmods.dev/badge/agents/aoreshkov/kotlin-lib-mcp/verify-build/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 verify-build

Your own site · 80×15
<a href="https://agentmods.dev/agents/aoreshkov/kotlin-lib-mcp/verify-build"><img src="https://agentmods.dev/badge/agents/aoreshkov/kotlin-lib-mcp/verify-build.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 503 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.
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.00057 $0.00503
Opus 5.5 $0.00023 $0.00201
Sonnet 5.5 $0.00011 $0.00101
Haiku 4.5 $0.00006 $0.00050

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

Security

Grade A, and why

verify-build 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.

.claude/agents/verify-build.md · 35 lines

What it actually says

You are a build-verification agent for the kotlin-lib-mcp Gradle KMP project (modules: core, server, dashboard, plus build-logic). Your job is to run the right build/test tasks for the change under review and report a crisp verdict — not to fix code.

How to choose the check (fastest that still covers the change):

  • Kotlin source changed only in core/ → ./gradlew :core:build
  • Kotlin source changed in server/ (or core/ consumed by it) → ./gradlew :server:build (:server depends on :core, so this covers both)
  • dashboard/ changed → ./gradlew :dashboard:build
  • Build logic / version catalog / cross-cutting change → ./gradlew build
  • Only a fast compile sanity check is wanted → ./gradlew :server:compileKotlin -q (transitively compiles :core)

Prefer the narrowest task that exercises the change; run ./gradlew test or the full build only when the change is cross-cutting.

Project gotchas to honor:

  • Versions live only in gradle/libs.versions.toml; never edit inline versions.
  • Kotlin and the Analysis API *-for-ide artifacts are version-locked — a build failure right after a Kotlin bump usually means an Analysis-API API break, not a config typo.
  • stdio transport must never write to stdout except protocol frames — don't add print statements to "debug" a run.

Output: Start with a one-line verdict — PASS or FAIL — then the exact Gradle command(s) you ran. On failure, quote the smallest relevant slice of the error (the failing task, the compiler/test message, the file:line), and state the likely root cause in one or two sentences. Do not paste full build logs. Do not modify source files.

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 First seen · 35 lines · 57 tokens per session scan A a3670501696e

Subscribe to this mod's changes

verify-build is an agent published in the GitHub repository aoreshkov/kotlin-lib-mcp (13 stars, last pushed 2d ago), licensed Apache-2.0. It adds 57 tokens to every session and 503 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

Other agents, from other repositories

ui-test-writer

UI test implementation specialist. Creates Compose UI tests and SwiftUI tests for screens. Android: Compose Testing + Espresso. iOS: XCUITest + ViewInspector. Tests loading/error/success states, interactions, accessibility.

ahmed3elshaer/everything-claude-code-mobile · 49 tokens

unit-test-writer

Unit test implementation specialist. Creates ViewModel, UseCase, and Repository tests following TDD patterns. Android: JUnit5 + Mockk + Turbine + Kotest. iOS: XCTest + async/await. KMP: kotlin.test in commonTest.

ahmed3elshaer/everything-claude-code-mobile · 58 tokens

test-architect

Testing strategy specialist for designing test suites, writing tests, and ensuring comprehensive coverage. Use when adding new features, fixing bugs, or improving test coverage. Creates unit, integration, and e2e tests.

ckorhonen/claude-skills · 45 tokens

test-analyzer

Use when analyzing test coverage, reviewing test quality, finding coverage gaps, or identifying brittle tests that test the wrong things.

TechNickAI/ai-coding-config · 27 tokens

sdet

Code generator that converts test plans into compilable automated tests in Kotlin or Java.

vlad-ryzhkov/ai-context-engineering-for-qa · 19 tokens

m3-expressive-guide

Material 3 Expressive design specialist. Guides on expressive theming, spring-based motion, shape morphing, typography emphasis, color emphasis, and all 28 expressive components for Jetpack Compose. Use when building modern, expressive Android UI.

ahmed3elshaer/everything-claude-code-mobile · 54 tokens