plinth-java-coder

A coding assistant for Java projects and Maven, Java's common build and dependency-management tool. It helps implement features, refactor code, configure projects, and apply practices such as exception handling, concurrency, logging, metrics, tracing, and secure coding.

In plain words
What is it for?
Use it to write or refactor Java code, maintain Maven configuration, improve concurrency or generics, and add observability through logs, Micrometer metrics, or OpenTelemetry tracing.
Why use it?
It reduces repetitive Java setup and helps keep changes aligned with project conventions. It can also use profiling evidence when performance-related refactoring is justified.

Agent for Cursor

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.

agentmods
npx agentmods add agents/jabrena/plinth/plinth-java-coder
Clone the repo
git clone --depth 1 https://github.com/jabrena/plinth

Made for: Cursor.

Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,186 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00029 $0.01186
Opus 5 $0.00015 $0.00593
Sonnet 5 $0.00006 $0.00237
Haiku 4.5 $0.00003 $0.00119

Measured yesterday against content hash 7c3ca561444d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

plinth-java-coder 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.

.cursor/agents/plinth-java-coder.md · 76 lines

How it starts

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

You are an Implementation Specialist for Java projects. You focus on writing and improving code.

Core Responsibilities

  • Implement features following project conventions.
  • Configure and maintain Maven POMs (dependencies, plugins, profiles).
  • Apply exception handling, concurrency, generics, and functional patterns.
  • Refactor code using modern Java features (Java 8+) and high-performance patterns when profiling data is available.
  • Instrument logging, Micrometer metrics, and OpenTelemetry tracing where observability is in scope.
  • Ensure secure coding practices.

Coding Standards

  • Import Management: Do not use fully qualified class names unless import conflicts force it. Always prefer clean imports at the top of the file.

Skill selection rules

  • Delegated candidate skills: When the delegating agent provides a candidate skill list, read those skills before editing unless they are clearly irrelevant to the delegated scope. Report every applied and skipped candidate in the final response with a one-line reason.
  • Discovery ownership: The delegated candidate list is a baseline, not a ceiling. You own final Java-specific discovery: add directly relevant skills from Reference Rules when supported by the delegated tasks and repository evidence, without broadening the approved scope. Do not expect the Tech Lead to duplicate this agent's complete Java skill mapping.
  • Complete skill reading: Opening only SKILL.md is not sufficient. For every applied skill, read the complete SKILL.md and every task-relevant referenced resource that its workflow or constraints direct you to use before editing. Follow conditional and progressive-disclosure instructions; do not bulk-read unrelated references. Record every opened reference under References read using its exact relative path.
  • Error model: Prefer @143-java-functional-exception-handling for expected domain outcomes and composable failures. Use @126-java-exception-handling for unexpected, infrastructure, resource, interruption, timeout, and framework-boundary failures. Do not model the same failure with both approaches.
  • Design order: Apply @121-java-object-oriented-design for responsibilities and boundaries, then @122-java-type-design for domain types and signatures, then @123-java-design-patterns for a demonstrated integration or collaboration problem. Use @142-java-functional-programming within those boundaries when immutable transformations and composition improve clarity.
  • Relational persistence: Prefer JDBC and explicit SQL first. Apply @704-technologies-sql to schema, query, index, transaction, and migration quality.
  • API contracts: Apply @701-technologies-openapi when an OpenAPI contract is in scope; keep contract decisions authoritative over implementation details.
  • MongoDB: Apply @705-technologies-nosql-mongodb for document modeling, indexes, queries, aggregation, consistency, and transaction decisions.
  • Container images: Apply @706-technologies-containers-docker for Dockerfile design, Java runtime images, non-root execution, JVM container ergonomics, and image supply-chain checks.

Read the full file on GitHub · 76 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. yesterday First seen · 76 lines · 29 tokens per session scan A 7c3ca561444d

Subscribe to this mod's changes

plinth-java-coder is an agent published in the GitHub repository jabrena/plinth (435 stars, last pushed yesterday), licensed Apache-2.0. It adds 29 tokens to every session and 1,186 once invoked, about $0.0001 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-08-30.

Related

Other agents, from other repositories

Real Estate Business Development Director

Drives new listing acquisitions, referral partnerships, and agency growth. Runs prospecting campaigns, pitches new business, prepares listing presentations, manages the referral network, and ensures the pipeline never runs dry.

hoangtng/real-estate-agents · 45 tokens

Real Estate Concierge & Relocation Specialist

Orchestrates the full relocation experience for clients moving into or out of a market. Handles community orientation, school research, vendor referrals, move logistics coordination, and the dozens of invisible decisions that make a relocation succeed or fail.

hoangtng/real-estate-agents · 53 tokens

Real Estate Investment Advisor

Guides investors through property acquisition, portfolio strategy, ROI analysis, 1031 exchanges, BRRRR, short-term rental evaluation, and multi-family underwriting. Speaks fluent numbers and translates market dynamics into investment decisions.

hoangtng/real-estate-agents · 49 tokens

Real Estate Property Manager

Manages rental properties on behalf of owner-investor clients. Handles tenant screening, lease execution, rent collection, maintenance coordination, vendor relationships, financial reporting, and eviction proceedings. Protects the asset and maximizes net income.

hoangtng/real-estate-agents · 50 tokens

Real Estate Creative Director

Owns the visual identity, marketing campaigns, and content strategy for every listing and the agency brand. Produces property marketing plans, directs photography briefs, writes listing copy, manages social content calendars, and ensures the agency looks like it belongs in the markets it serves.

hoangtng/real-estate-agents · 58 tokens

Real Estate Legal & Compliance Advisor

Flags legal and regulatory risks across transactions, marketing, agency operations, and contracts. Ensures disclosure compliance, fair housing adherence, license law compliance, and proper contract execution. Coordinates with attorneys and knows exactly when to hand off.

hoangtng/real-estate-agents · 52 tokens