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 ArabelaTso/Skills-4-SE --skill java-api-consistency-validatorgit clone --depth 1 https://github.com/ArabelaTso/Skills-4-SEWrote 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/arabelatso/skills-4-se/java-api-consistency-validator)<a href="https://agentmods.dev/skills/arabelatso/skills-4-se/java-api-consistency-validator"><img src="https://agentmods.dev/badge/skills/arabelatso/skills-4-se/java-api-consistency-validator.svg" alt="Measured on agentmods" height="20"></a>- NVIDIA SkillSpector pass
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.00095 | $0.00560 |
| Opus 5 | $0.00048 | $0.00280 |
| Sonnet 5 | $0.00019 | $0.00112 |
| Haiku 4.5 | $0.00010 | $0.00056 |
Grade A, and why
java-api-consistency-validator 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 — 77 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Java API Consistency Validator
Overview
This skill validates API consistency between two versions of Java libraries by comparing signatures, behavior, and exceptions. It identifies breaking changes, incompatible modifications, and provides detailed reports to guide safe API migration or upgrade.
Quick Start
# Compare two versions of a Java library
python scripts/validate.py /path/to/old_version /path/to/new_version
# Specify output file
python scripts/validate.py old_lib/ new_lib/ --output report.json
What Gets Validated
- Method Signatures - Parameters, return types, modifiers
- Class Definitions - Methods, inheritance, interfaces
- Interface Changes - Method additions, removals
- Parameter Changes - Added, removed, or modified parameters
- Return Type Changes - Modified return types
- Exception Declarations - throws clauses
- Removed APIs - Deleted classes, interfaces, or methods
Validation Report
The tool generates a JSON report with:
- Breaking Changes: API removals, incompatible modifications
- Warnings: Type changes, signature modifications
- Info: New additions, non-breaking changes
- Summary: Total issues by severity
Example report:
{
"summary": {
"breaking_changes": 3,
"warnings": 5,
"info": 2
},
"breaking_changes": [
{
"type": "method_removed",
"class": "UserService",
"method": "getUser",
"severity": "breaking",
"message": "Method 'UserService.getUser' was removed"
}
]
}
Usage
python scripts/validate.py <old_version_path> <new_version_path> [--output <report.json>]
The validator exits with code 1 if breaking changes are found, 0 otherwise.
Tips
- Run validation before upgrading dependencies
- Review breaking changes carefully
- Check warnings for potential issues
- Use in CI/CD pipelines to catch API changes
- Compare against semantic versioning expectations
- Validate before releasing new library versions
What ships with it
1 file 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.
- 4d ago First seen · 77 lines · 95 tokens per session scan A ad1356fe549d
java-api-consistency-validator is a skill published in the GitHub repository ArabelaTso/Skills-4-SE (250 stars, last pushed 17d ago), licensed Apache-2.0. It adds 95 tokens to every session and 560 once invoked, about $0.0005 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-09-03.
Other skills, from other repositories
121-java-object-oriented-design
Use when reviewing, improving, or refactoring Java object-oriented design, including applying SOLID, DRY, or YAGNI; improving classes and interfaces; correcting encapsulation, inheritance, or polymorphism; resolving God Class, Feature Envy, or Data Clumps; and improving object creation, methods, or exception…
053-design-simple-rules
Use when Java design, refactoring, or implementation tradeoffs should be evaluated with Kent Beck's simple design rules, including passes the tests, reveals intention, has no duplication, and has the fewest elements. This should trigger for requests such as Apply simple design rules; Review this design with Beck's…
faces-review
Review Jakarta Faces code for common mistakes, anti-patterns, and rule violations.
alibaba-java-coding-guidelines-skill
A set of rules for reviewing, generating, and refactoring Java code against Alibaba Java Coding Guidelines, a published style and quality guide. It also covers related Spring, MyBatis, Maven, SQL, database, logging, error-handling, and security code.
java-clean-general
Enforces general code quality in Java 21+ — DRY, no magic numbers, immutability by default, sealed hierarchies and pattern matching over instanceof chains, encapsulation over getters and setters, and streams used where they clarify. Use when reviewing or refactoring Java for quality, and when the code shows…
ts-clean-general
Use when writing, fixing, editing, or reviewing TypeScript code quality. Enforces Clean Code's core principles—DRY, single responsibility, clear intent, no magic numbers, proper abstractions. Also trigger on: duplicated logic across files or branches (G5), magic numbers or hardcoded strings (G25), long if/else chains…