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 OpenLAIR/OpenSkill --skill evo-maven-patch-generationgit clone --depth 1 https://github.com/OpenLAIR/OpenSkillWrote 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/openlair/openskill/evo-maven-patch-generation)<a href="https://agentmods.dev/skills/openlair/openskill/evo-maven-patch-generation"><img src="https://agentmods.dev/badge/skills/openlair/openskill/evo-maven-patch-generation/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/openlair/openskill/evo-maven-patch-generation"><img src="https://agentmods.dev/badge/skills/openlair/openskill/evo-maven-patch-generation.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.00037 | $0.00445 |
| Opus 5 | $0.00018 | $0.00222 |
| Sonnet 5 | $0.00007 | $0.00089 |
| Haiku 4.5 | $0.00004 | $0.00044 |
Grade A, and why
evo-maven-patch-generation 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 yesterday.
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.
What it actually says
evo-maven-patch-generation
Generates and applies unified diff patches for Java Maven build fixes.
Key Functions
generate_unified_diff(original_text, modified_text, file_path)- Basic unified diffmake_strict_patch(original_text, modified_text, file_path)- Strict diff with EOF newline handlingwrite_patch_file(patch_content, patch_path)- Write patch to diskapply_patch_via_git(patch_path, project_dir)- Apply via git applyapply_patch_via_patch_command(patch_path, project_dir, strip)- Apply via patch commandapply_patch(patch_path, project_dir)- Try git apply, fallback to patchmodify_file_content(file_path, old_text, new_text)- Simple text replacementmodify_java_source(file_path, modifications)- Apply multiple replacements to Java filemodify_pom_xml(pom_path, property_changes)- Modify POM propertiescreate_travis_fix_patch(travis_path, old_text, new_text, patch_path)- Fix .travis.yml
Usage
import sys
sys.path.insert(0, '/app/environment/skills/evo-maven-patch-generation/scripts')
from utils import (
make_strict_patch, write_patch_file, apply_patch,
modify_file_content, create_travis_fix_patch
)
# Fix .travis.yml typo
create_travis_fix_patch('.travis.yml', 'build.pom.xml', 'build-pom.xml', 'patch_1.diff')
# Apply patch
apply_patch('patch_1.diff', '/path/to/project')
Important Notes
- Always use
make_strict_patchfor git-compatible patches (handles EOF newlines) - Patch files use standard unified diff format compatible with
git applyandpatch - File paths in diffs use
a/andb/prefixes
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.
- yesterday First seen · 45 lines · 37 tokens per session scan A 01859c395671
evo-maven-patch-generation is a skill published in the GitHub repository OpenLAIR/OpenSkill (90 stars, last pushed yesterday), licensed Apache-2.0. It adds 37 tokens to every session and 445 once invoked, about $0.0002 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-11.
Other skills, from other repositories
nullaway
Guide for resolving NullAway static analysis errors. Best practices for: Passing ObservableSupplier/Supplier Dereferencing potentially @Nullable values Adding @NullMarked to Java code.
wxjava-troubleshooter
A troubleshooting guide for WxJava, a Java library used to connect applications to WeChat services. It organizes problems involving setup, access tokens, signatures, payment certificates, callbacks, data conversion, network requests, and multiple accounts.
performance-smell-detection
Detect potential code-level performance smells in Java - streams, collections, boxing, regex, object creation. Provides awareness, not absolutes - always measure before optimizing. For JPA/database performance, use jpa-patterns instead.
126-java-exception-handling
Use when you need to apply Java exception handling best practices — including using specific exception types, managing resources with try-with-resources, securing exception messages, preserving error context via exception chaining, validating inputs early with fail-fast principles, handling thread interruption…
jstall
This skill should be used when the user asks about "JVM performance", "Java thread dump", "Java deadlock", "JVM diagnosis", "what is my Java application doing", "slow Java", "Java profiling", "flamegraph", "Java CPU usage", "thread contention", "JVM inspection", "jstall", or any question about analyzing, debugging, or…
pmd
Set up, run, and triage PMD static analysis on a Maven/Java project — the ruleset, the plugin wiring, parsing the report by rule and priority, copy-paste detection, and how to suppress a finding at the right level. Use when the user says "run PMD", "PMD is failing", "fix the PMD violations", "add static analysis"…