java-cache

Spring Boot guidance for adding and reviewing caches, which store commonly requested data so applications do not repeatedly fetch it.

In plain words
What is it for?
Use it when adding caching, configuring Redis or Caffeine, using @Cacheable, @CacheEvict, or @CachePut, or reviewing Spring Boot cache setup.
Why use it?
It helps reduce repeated database or API calls and provides guidance for configuring Redis or Caffeine and Spring's cache annotations.

Skill for Claude CodeCodex

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 skills/ducpm2303/claude-java-plugins/java-cache
Any agent
npx skills add ducpm2303/claude-java-plugins --skill java-cache
Clone the repo
git clone --depth 1 https://github.com/ducpm2303/claude-java-plugins

Made for: Claude Code, Codex.

Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,236 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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.00046 $0.01236
Opus 5 $0.00023 $0.00618
Sonnet 5 $0.00009 $0.00247
Haiku 4.5 $0.00005 $0.00124

Measured 2d ago against content hash 84e13dea81b2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

java-cache 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 2d 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.

plugins/java-spring/skills/java-cache/SKILL.md · 111 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 2d ago First seen · 111 lines · 46 tokens per session scan A 84e13dea81b2

Subscribe to this mod's changes

java-cache is a skill published in the GitHub repository ducpm2303/claude-java-plugins (16 stars, last pushed 4mo ago), with no licence file. It adds 46 tokens to every session and 1,236 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-08-30.

Related

Other skills, from other repositories

tucache-caching

Use this skill when writing or modifying Spring Boot application code that should use TuCache for method-result caching or cache invalidation with @TuCache and @TuCacheClear.

tri5m/tutu-cache · 43 tokens

obsidian-writer

Write well-formatted notes to the atmosphere-vault Obsidian knowledge base. Use this skill whenever creating or updating an ADR, runbook, plan, API doc, guide, session output, or any structured document that should land in the vault — even when the user doesn't say "Obsidian" explicitly. Delegates to…

Atmosphere/atmosphere · 93 tokens

obsidian-vault-setup

Use when setting up the shared atmosphere-vault Obsidian vault on a new machine or for a new team member. Guides through cloning, symlinking claudedocs, and verifying obsidian-cli.

Atmosphere/atmosphere · 48 tokens

llm-judge

AI quality judge that scores agent responses 0-10 across helpfulness, accuracy, completeness, and clarity. Use when evaluating multi-agent output or implementing LLM-as-judge quality gates.

Atmosphere/atmosphere · 43 tokens

rag-assistant

Knowledge base assistant that retrieves and cites documents from a curated index. Use when answering questions that must be grounded in specific source material with citations.

Atmosphere/atmosphere · 32 tokens

dentist-agent

Emergency dental assistant (Dr. Molar) for triage, first aid, and severity classification of broken/chipped/cracked teeth, delivered over web, Slack, or Telegram. Use for non-diagnostic dental guidance only.

Atmosphere/atmosphere · 49 tokens