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 joao-aires/agent-skills-public --skill infra-jvm-optimizationgit clone --depth 1 https://github.com/joao-aires/agent-skills-publicWrote 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/joao-aires/agent-skills-public/infra-jvm-optimization)<a href="https://agentmods.dev/skills/joao-aires/agent-skills-public/infra-jvm-optimization"><img src="https://agentmods.dev/badge/skills/joao-aires/agent-skills-public/infra-jvm-optimization/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/joao-aires/agent-skills-public/infra-jvm-optimization"><img src="https://agentmods.dev/badge/skills/joao-aires/agent-skills-public/infra-jvm-optimization.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.00067 | $0.00984 |
| Opus 5.5 | $0.00027 | $0.00394 |
| Sonnet 5.5 | $0.00013 | $0.00197 |
| Haiku 4.5 | $0.00007 | $0.00098 |
Grade A, and why
infra-jvm-optimization 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 today.
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 — 58 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Infrastructure and JVM optimization
Establish how the JVM, application concurrency and hosting resources behave as one system, and return the measured options and their evidence to the activity that composes this method. That activity owns the change and the stopping point. Establish where the workload spends time and memory, then form a hypothesis about the limiting resource. A heap setting can change collection behavior without bounding the process's total memory. A replica increase can move pressure to a shared database. Examine the outcome at the user and dependency level as well as the tuned component.
Choose a small experiment that can distinguish the hypothesis from other causes and compare it with the baseline under representative conditions. Optimize cost or throughput subject to user outcomes and stability. A smaller pod or lower heap chart alone is not proof of improvement.
Use JVM flags and ergonomics only for a Java/JVM workload. For Python, Node.js or another runtime, use capacity and demand-modeling expertise and that runtime's current guidance. Do not introduce Java or Kubernetes to use this skill.
Modes and evidence
- Interactive: explain the resource budget, bottleneck and experiment options; resolve workload objectives with the user.
- Setup/feature: configure and test runtime/infra together, including probes, graceful shutdown, pools and load-sensitive behavior.
- Recurring review: audit rendered settings and metrics against the previous baseline, identify inconsistencies, prepare measured bounded changes, and track experiments. Do not auto-promote unbenchmarked collector/resource changes to production.
Discover runtime/JDK version, architecture/libc, container launch flags, application/consumer/job roles, deployment overrides, autoscaler metric semantics, resource limits and normal/peak behavior. Inspect effective rendered configuration rather than only base YAML or comments. Consult the optimization guide for deeper implementation details.
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.
- today Changed · +3 lines · +27 tokens per session b7d264b8278d
- 11d ago Changed · -3 lines 672dccad0d1f
- 20d ago Changed · +5 lines b70be7d974ad
- 1mo ago Changed 31afa9091a67
- 1mo ago Changed · +6 lines 8f434da15bd0
- 1mo ago Changed ae0306b1fba8
- 1mo ago First seen · 47 lines · 40 tokens per session scan A 4b4c8df11459
infra-jvm-optimization is a skill published in the GitHub repository joao-aires/agent-skills-public (2 stars, last pushed yesterday), licensed MIT. It adds 67 tokens to every session and 984 once invoked, about $0.0003 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-10-15.
infra-jvm-optimization compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| infra-jvm-optimizationjoao-aires/agent-skills-public | Skill | 2 | yesterday | MIT | A | 67 | Claude Code, Codex |
| azure-upgrademicrosoft/skills | Skill | 3.3k | 2d ago | MIT | A | 91 | Claude Code |
| configuring-airflow-language-sdksastronomer/agents | Skill | 466 | 4d ago | Apache-2.0 | A | 155 | Claude Code |
| geoserver-cloudznlgis/opengis-skills | Skill | 88 | 4d ago | MIT | A | 88 | Claude Code, Codex |
| java-knowledge-patchNevaberry/nevaberry-plugins | Skill | 25 | 5d ago | MIT | A | 7 | Claude Code |
| aws-lambda-java-integrationgiuseppe-trisciuoglio/developer-kit | Skill | 374 | 2mo ago | MIT | A | 99 | Claude Code |
| graalvmMindrally/skills | Skill | 326 | 1mo ago | Apache-2.0 | A | 25 | Claude Code |