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 skills add alexei-led/cc-thingz --skill writing-java-kotlingit clone --depth 1 https://github.com/alexei-led/cc-thingzWrote 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/alexei-led/cc-thingz/writing-java-kotlin)<a href="https://agentmods.dev/skills/alexei-led/cc-thingz/writing-java-kotlin"><img src="https://agentmods.dev/badge/skills/alexei-led/cc-thingz/writing-java-kotlin/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.
<a href="https://agentmods.dev/skills/alexei-led/cc-thingz/writing-java-kotlin"><img src="https://agentmods.dev/badge/skills/alexei-led/cc-thingz/writing-java-kotlin.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00126 | $0.00744 |
| Opus 5.5 | $0.00050 | $0.00298 |
| Sonnet 5.5 | $0.00025 | $0.00149 |
| Haiku 4.5 | $0.00013 | $0.00074 |
Grade A, and why
writing-java-kotlin 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 24d 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 — 35 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Java and Kotlin Development
Build baseline
- Read the wrapper properties,
settings.gradle*/build.gradle*/gradle.propertiesorpom.xml, and CI before relying on version-specific behavior. - Use
./gradlew/./mvnwwhen the repo has them; scope tests to the changed module (see testing.md). - The compile target is the declared Java toolchain and Kotlin
jvmToolchain, not the shell'sJAVA_HOME; without one, the running JDK compiles. - Toolchain, plugin, and dependency versions live in convention plugins, version catalogs, BOMs, or parent POMs, set once there. Raising the Java or Kotlin toolchain is a project-wide decision: ask, and change it in shared build config, not one module.
- A request to use a preview feature is not approval to enable it: ask first, name a non-preview fallback, and, once approved, add
--enable-previewto the build's compile and run/test tasks, not a local flag. Previews can be withdrawn between JDKs: string templates were withdrawn in JDK 23. - Wire coverage, mutation, or other heavy analysis as its own task or under
check; never maketestdepend on or be finalized by the report, which would still run it on every plaintest. Use a separate command or CI step, even when adding it is the task.
Defaults
- Kotlin: structured concurrency only — no
GlobalScope; pass acoroutineScopeor an injected scope through the call chain. Test coroutine code withkotlinx-coroutines-test'srunTest, notrunBlockingor real delays. Keep blocking calls off event-loop and coroutine dispatcher threads unless the framework allows it. - Kotlin: resolve nullable Java platform types at the boundary instead of asserting past them with
!!. - Java: say outright when virtual threads help (blocking I/O) versus don't (CPU-bound work); size CPU-bound work to a bounded pool near the processor count or a parallel stream. Never swallow
InterruptedException— restore the flag or propagate it. No static state for config, clocks, clients, executors, or scopes. - Don't leak JPA entities, ORM sessions, or generated API models through domain interfaces; map to a DTO while the transaction is open, loading what it needs (fetch join or entity graph) instead of keeping the session open via
spring.jpa.open-in-view.
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 24d ago Changed · -7 lines 4ea616531208
- 26d ago Changed · -34 lines ec1bfe80ff48
- 1mo ago First seen · 76 lines · 126 tokens per session scan A 40913e807313
writing-java-kotlin is a skill published in the GitHub repository alexei-led/cc-thingz (38 stars, last pushed yesterday), licensed MIT. It adds 126 tokens to every session and 744 once invoked, about $0.0005 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-30.
Other skills, from other repositories
agent-swift-reviewer
Expert Swift code reviewer specializing in protocol-oriented design, value semantics, ARC memory management, Swift Concurrency, and idiomatic patterns. Use for all Swift code changes. MUST BE USED for Swift projects.
swiftui-expert
This skill should be used when the user is building, reviewing, or debugging SwiftUI views and apps. Detects iOS and Swift version from the project. Covers creating views, state management with @Observable, NavigationStack routing, animations, accessibility, performance optimization, Liquid Glass adoption, design…
swiftlint
Configures and enforces SwiftLint in Swift projects using build tool plugins, run scripts, and CI. Covers .swiftlint.yml configuration, disabledrules, optinrules, onlyrules, analyzerrules, baselines, autocorrect, swiftlint:disable suppressions, reporter formats (sarif, json, checkstyle), strict and lenient modes…
swift-api-design-guidelines
Apply Swift API Design Guidelines to name, label, and document Swift APIs. Covers argument label rules (prepositional phrase rule, grammatical phrase rule, first-label omission), mutating/nonmutating pair naming (-ed/-ing participle pattern, form- prefix, sort/sorted, formUnion/union), side-effect naming (noun for…
effective-kotlin
Apply Effective Kotlin best practices (Marcin Moskała, 2nd Ed). Covers Safety (Items 1-10: mutability, scope, nulls, types, expectations, errors, resources, tests), Readability (Items 11-18: operators, receivers, properties, naming), Reusability (Items 19-25: DRY, generics, delegation, variance), Abstraction (Items…
effective-java
Generate and review Java code using patterns and best practices from Joshua Bloch's "Effective Java" (3rd Edition). Use this skill whenever the user asks about Java best practices, API design, object creation patterns, generics, enums, lambdas, streams, concurrency, serialization, method design, exception handling, or…