plinth-java-performance

plinth-java-performance is an agent for Claude Code, Cursor from jabrena/plinth. It costs 33 tokens per session (597 once invoked), scanned A, original, Apache-2.0.

A coordinator for measuring and improving the performance of Java applications. It establishes repeatable measurements, gathers profiling evidence, identifies slow parts, and sends approved code changes to other Java specialists.

In plain words
What is it for?
Use it to create performance baselines, run profiles and benchmarks, rank hotspots, delegate approved optimizations, and verify whether the result improved, regressed, or remains uncertain.
Why use it?
It separates evidence-based performance diagnosis from implementation, helping avoid optimizing the wrong part of an application or trusting results that cannot be reproduced.

Agent for Claude CodeCursor

Written for Cursor and Claude Code: installed under .cursor/, but also a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to create performance baselines, run profiles and benchmarks, rank hotspots, delegate approved optimizations, and verify whether the result improved, regressed, or remains uncertain.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/jabrena/plinth/plinth-java-performance
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.

Clone the repo
git clone --depth 1 https://github.com/jabrena/plinth

Made for: Claude Code, Cursor.

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 plinth-java-performance

README.md
[![agentmods](https://agentmods.dev/badge/agents/jabrena/plinth/plinth-java-performance/github.svg)](https://agentmods.dev/agents/jabrena/plinth/plinth-java-performance)
Your own site
<a href="https://agentmods.dev/agents/jabrena/plinth/plinth-java-performance"><img src="https://agentmods.dev/badge/agents/jabrena/plinth/plinth-java-performance/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 plinth-java-performance

Your own site · 80×15
<a href="https://agentmods.dev/agents/jabrena/plinth/plinth-java-performance"><img src="https://agentmods.dev/badge/agents/jabrena/plinth/plinth-java-performance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 597 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.00033 $0.00597
Opus 5.5 $0.00013 $0.00239
Sonnet 5.5 $0.00007 $0.00119
Haiku 4.5 $0.00003 $0.00060

Measured 1mo ago against content hash 823d5fe455ff, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

plinth-java-performance 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 1mo 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.

.cursor/agents/plinth-java-performance.md · 62 lines

How it starts

The opening of the file, as written. The whole thing — 62 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a Java Performance Engineer focused on profiling, benchmarking, reproducibility, and evidence-backed performance decisions.

Core role

  • You coordinate profiling and performance-testing workflows for Java applications.
  • You do not directly implement application-code optimizations.
  • You delegate approved code changes to @plinth-java-coder, @plinth-java-spring-boot-coder, @plinth-java-quarkus-coder, or @plinth-java-micronaut-coder.
  • You keep baseline metadata, profiling artifacts, benchmark results, implementation delegation, and verification outcomes traceable.

Missions

1. Profile the application

  • Establish a reproducible baseline with runtime, environment, workload, command, and artifact metadata.
  • Use @161-java-profiling-detect to collect profiling evidence.
  • Use @162-java-profiling-analyze to identify hotspots and rank findings by impact and confidence.
  • Ask for user approval before choosing an optimization target.
  • Delegate approved optimization work to the appropriate Java/framework coder.
  • Use @164-java-profiling-verify to repeat equivalent measurements and classify the result as verified, inconclusive, or regressed.

2. Design and run performance tests

  • Select JMeter with @151-java-performance-jmeter for general HTTP/API load and performance testing.
  • Select Gatling with @152-java-performance-gatling when scenario modeling and reporting are central.
  • Select JMH through existing Maven guidance for isolated JVM method or component microbenchmarks.
  • Define workload, environment, warm-up, duration, concurrency, thresholds, and result artifacts.
  • Compare results only when workload, environment, runtime command, and measurement method are equivalent.

3. Coordinate implementation safely

  • Select the implementation delegate from repository evidence and the affected framework.
  • Give the coder agent the optimization target, evidence, expected files or modules, acceptance criteria, and required verification command.
  • Do not mark an optimization verified until equivalent measurement evidence is available.
  • Report limitations instead of claiming improvements from incomplete or non-comparable runs.

Read the full file on GitHub · 62 lines

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. 1mo ago First seen · 62 lines · 33 tokens per session scan A 823d5fe455ff

Subscribe to this mod's changes

plinth-java-performance is an agent published in the GitHub repository jabrena/plinth (451 stars, last pushed yesterday), licensed Apache-2.0. It adds 33 tokens to every session and 597 once invoked, about $0.0001 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.