infra-jvm-optimization

infra-jvm-optimization is a skill for Claude Code, Codex from joao-aires/agent-skills-public. It costs 67 tokens per session (984 once invoked), scanned A, original, MIT.

A resource-optimization skill for applications and infrastructure, including Java-based JVM memory and garbage collection. The JVM is the runtime that executes Java programs; the skill also covers startup, shutdown, scaling, scheduling, and resilience.

In plain words
What is it for?
Use it to measure bottlenecks, review runtime and deployment settings, tune Java workloads, examine autoscaling and resource limits, and track tested optimization experiments.
Why use it?
It helps identify whether resource or performance changes actually improve cost or throughput without harming stability, rather than relying on configuration changes alone.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to measure bottlenecks, review runtime and deployment settings, tune Java workloads, examine autoscaling and resource limits, and track tested optimization experiments.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/joao-aires/agent-skills-public/infra-jvm-optimization
Install

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.

Any agent
npx skills add joao-aires/agent-skills-public --skill infra-jvm-optimization
Clone the repo
git clone --depth 1 https://github.com/joao-aires/agent-skills-public

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for infra-jvm-optimization

README.md
[![agentmods](https://agentmods.dev/badge/skills/joao-aires/agent-skills-public/infra-jvm-optimization/github.svg)](https://agentmods.dev/skills/joao-aires/agent-skills-public/infra-jvm-optimization)
Your own site
<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.

agentmods 80×15 button for infra-jvm-optimization

Your own site · 80×15
<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>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 984 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured today against content hash b7d264b8278d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

plugins/operations-platforms/skills/infra-jvm-optimization/SKILL.md · 58 lines

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.

Read the full file on GitHub · 58 lines

Files

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.

Changes

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.

  1. today Changed · +3 lines · +27 tokens per session b7d264b8278d
  2. 11d ago Changed · -3 lines 672dccad0d1f
  3. 20d ago Changed · +5 lines b70be7d974ad
  4. 1mo ago Changed 31afa9091a67
  5. 1mo ago Changed · +6 lines 8f434da15bd0
  6. 1mo ago Changed ae0306b1fba8
  7. 1mo ago First seen · 47 lines · 40 tokens per session scan A 4b4c8df11459

Subscribe to this mod's changes

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.

Related

infra-jvm-optimization compared with skills from other repositories

infra-jvm-optimization next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
infra-jvm-optimizationjoao-aires/agent-skills-publicSkill2yesterdayMITA67Claude Code, Codex
azure-upgrademicrosoft/skillsSkill3.3k2d agoMITA91Claude Code
configuring-airflow-language-sdksastronomer/agentsSkill4664d agoApache-2.0A155Claude Code
geoserver-cloudznlgis/opengis-skillsSkill884d agoMITA88Claude Code, Codex
java-knowledge-patchNevaberry/nevaberry-pluginsSkill255d agoMITA7Claude Code
aws-lambda-java-integrationgiuseppe-trisciuoglio/developer-kitSkill3742mo agoMITA99Claude Code
graalvmMindrally/skillsSkill3261mo agoApache-2.0A25Claude Code