java-upgrade

java-upgrade is a skill for Claude Code from aws-samples/sample-ramp-aidlc-mod-starter-packs. It costs 197 tokens per session (2,397 once invoked), scanned A, original, MIT-0.

A guide for moving a Java service to a newer long-term-support Java release, updating related frameworks, and packaging it in containers for AWS ECS or EKS.

In plain words
What is it for?
Use it to upgrade Java versions, move Spring Boot 2 to 3, change javax references to jakarta, and containerise the service for ECS or EKS.
Why use it?
It helps handle compatibility work when Java, Spring Boot, or the older javax APIs need to be upgraded together. It also covers tools for finding outdated or unsupported code.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

About the project

AI-DLC for Modernization Starter Packs is a collection of reusable project templates for applying an AI-driven development lifecycle to application modernization work. Each pack gives teams structured instructions, skills, and agent-tool configurations for use with several coding agents. The catalogue entries are components and tool registrations included in these packs.

aws-samples/sample-ramp-aidlc-mod-starter-packs · 6 stars · on GitHub

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/aws-samples/sample-ramp-aidlc-mod-starter-packs/java-upgrade
Any agent
npx skills add aws-samples/sample-ramp-aidlc-mod-starter-packs --skill java-upgrade
Clone the repo
git clone --depth 1 https://github.com/aws-samples/sample-ramp-aidlc-mod-starter-packs

Made for: Claude Code.

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 java-upgrade

README.md
[![agentmods](https://agentmods.dev/badge/skills/aws-samples/sample-ramp-aidlc-mod-starter-packs/java-upgrade.svg)](https://agentmods.dev/skills/aws-samples/sample-ramp-aidlc-mod-starter-packs/java-upgrade)
Your own site
<a href="https://agentmods.dev/skills/aws-samples/sample-ramp-aidlc-mod-starter-packs/java-upgrade"><img src="https://agentmods.dev/badge/skills/aws-samples/sample-ramp-aidlc-mod-starter-packs/java-upgrade.svg" alt="Measured on agentmods" height="20"></a>
Per session 197 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,397 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.1 $0.00197 $0.02397
Opus 5 $0.00098 $0.01198
Sonnet 5 $0.00039 $0.00479
Haiku 4.5 $0.00020 $0.00240

Measured 6d ago against content hash e623a697c7d6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

java-upgrade 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 6d 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.

framework-upgrade-containerise/scaffolded-packs/claude-code/.claude/skills/java-upgrade/SKILL.md · 103 lines

The source is not reproduced here

Licensed MIT-0

The repository is licensed MIT-0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

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. 6d ago First seen · 103 lines · 197 tokens per session scan A e623a697c7d6

Subscribe to this mod's changes

java-upgrade is a skill published in the GitHub repository aws-samples/sample-ramp-aidlc-mod-starter-packs (6 stars, last pushed 6d ago), licensed MIT-0. It adds 197 tokens to every session and 2,397 once invoked, about $0.0010 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-31.

Related

Other skills, from other repositories

azure-upgrade

Assess and upgrade Azure workloads between plans, tiers, or SKUs, or modernize Azure SDK dependencies in source code. WHEN: upgrade Consumption to Flex Consumption, upgrade Azure Functions plan, change hosting plan, function app SKU, migrate App Service to Container Apps, modernize legacy Azure Java SDKs…

microsoft/skills · 91 tokens

configuring-airflow-language-sdks

Configures Airflow to run language SDK tasks (Java, Go, and future native SDKs) — register a coordinator, map a queue to it, ensure the runtime/artifact on workers, and tune coordinator options. Use when the user wants Airflow to route a queue to a native-language coordinator, asks about the [sdk]…

astronomer/agents · 155 tokens

graalvm

Expert guidance for GraalVM native image development with Java frameworks, build optimization, and high-performance application deployment.

Mindrally/skills · 25 tokens

geoserver-cloud

Use when deploying GeoServer on Kubernetes as cloud-native microservices with auto-scaling, service discovery, and centralized configuration. GeoServer Cloud: break monolithic GeoServer into independently scalable WMS/WFS/WCS services.

znlgis/opengis-skills · 49 tokens

notarized-javafx-macos

Build, sign, notarize, staple, validate, and troubleshoot macOS DMG releases for Java and JavaFX applications packaged with jlink/jpackage. Use when creating Developer ID signed Java desktop apps, configuring GitHub Actions release workflows, handling Apple notarization, or debugging Gatekeeper, hardened runtime, JVM…

brunoborges/fx2048 · 88 tokens

quarkus-kubernetes-native

Deploy container-first Quarkus applications on Kubernetes with fast startup, low memory, native images, and health probes. Use when Quarkus is chosen specifically for cloud/Kubernetes efficiency over Spring Boot.

vaquarkhan/Fullstack-development-agent-skills · 47 tokens