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 miles990/claude-software-skills --skill java-kotlingit clone --depth 1 https://github.com/miles990/claude-software-skillsWrote 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/miles990/claude-software-skills/java-kotlin)<a href="https://agentmods.dev/skills/miles990/claude-software-skills/java-kotlin"><img src="https://agentmods.dev/badge/skills/miles990/claude-software-skills/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/miles990/claude-software-skills/java-kotlin"><img src="https://agentmods.dev/badge/skills/miles990/claude-software-skills/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.00009 | $0.02870 |
| Opus 5.5 | $0.00004 | $0.01148 |
| Sonnet 5.5 | $0.00002 | $0.00574 |
| Haiku 4.5 | $0.00001 | $0.00287 |
Grade A, and why
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 3mo 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 — 507 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Java & Kotlin
Overview
Modern Java and Kotlin patterns for JVM development.
Java Modern Features
Records and Sealed Classes (Java 17+)
// Record - immutable data class
public record User(
String id,
String email,
String name,
Instant createdAt
) {
// Compact constructor for validation
public User {
Objects.requireNonNull(id);
Objects.requireNonNull(email);
if (!email.contains("@")) {
throw new IllegalArgumentException("Invalid email");
}
}
// Static factory method
public static User create(String email, String name) {
return new User(UUID.randomUUID().toString(), email, name, Instant.now());
}
}
// Sealed classes - restricted hierarchy
public sealed interface Shape
permits Circle, Rectangle, Triangle {
double area();
}
public record Circle(double radius) implements Shape {
@Override
public double area() {
return Math.PI * radius * radius;
}
}
public record Rectangle(double width, double height) implements Shape {
@Override
public double area() {
return width * height;
}
}
public final class Triangle implements Shape {
private final double base;
private final double height;
public Triangle(double base, double height) {
this.base = base;
this.height = height;
}
@Override
public double area() {
return 0.5 * base * height;
}
}
Pattern Matching
// Pattern matching for instanceof (Java 16+)
public String describe(Object obj) {
if (obj instanceof String s) {
return "String of length " + s.length();
} else if (obj instanceof Integer i) {
return "Integer: " + i;
} else if (obj instanceof List<?> list && !list.isEmpty()) {
return "Non-empty list with " + list.size() + " elements";
}
return "Unknown type";
}
// Pattern matching for switch (Java 21+)
public double calculateArea(Shape shape) {
return switch (shape) {
case Circle c -> Math.PI * c.radius() * c.radius();
case Rectangle r -> r.width() * r.height();
case Triangle t -> 0.5 * t.base() * t.height();
};
}
// Guard patterns
public String classify(Shape shape) {
return switch (shape) {
case Circle c when c.radius() > 10 -> "Large circle";
case Circle c -> "Small circle";
case Rectangle r when r.width() == r.height() -> "Square";
case Rectangle r -> "Rectangle";
default -> "Other shape";
};
}
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.
- 3mo ago First seen · 507 lines · 9 tokens per session scan A bcd37aed80a0
java-kotlin is a skill published in the GitHub repository miles990/claude-software-skills (28 stars, last pushed 10mo ago), licensed MIT. It adds 9 tokens to every session and 2,870 once invoked, about $0.0000 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.
java-kotlin compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| java-kotlinmiles990/claude-software-skills | Skill | 28 | 10mo ago | MIT | A | 9 | Claude Code, Codex |
| kmp-lspHessesian/kmp-lsp | Skill | 229 | 4d ago | MIT | A | 114 | Claude Code, Codex |
| kotlin-expertpersonamanagmentlayer/pcl | Skill | 47 | 1mo ago | Apache-2.0 | A | 55 | Claude Code |
| compose-animationschrisbanes/skills | Skill | 1.2k | today | Apache-2.0 | A | 67 | Claude Code |
| compose-focus-navigationchrisbanes/skills | Skill | 1.2k | today | Apache-2.0 | A | 41 | Claude Code |
| compose-multiplatformericrisco/rsc-harness | Skill | 709 | 3d ago | MIT | A | 80 | Claude Code, Codex |
| kotlin-androidericrisco/rsc-harness | Skill | 709 | 3d ago | MIT | A | 78 | Claude Code, Codex |