/agent-skills:maven-toolsfrom agent-skills
Checks JVM dependencies via Maven Tools MCP: latest versions, safe upgrades, CVEs, licenses, and release history for pom.xml and Gradle builds.
Ships in agent-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use this skill to ground JVM dependency decisions in live Maven Central data.
This is an execution skill. Use Maven Tools MCP first for dependency facts, then do the reasoning in-model. Assume Maven Tools MCP is already configured; only discuss setup if the tools are unavailable.
Activate when the user asks about:
pom.xml, build.gradle, or build.gradle.ktsUse Maven Tools MCP for version, security, license, freshness, and release-pattern facts from Maven Central.
groupId:artifactId or groupId:artifactId:version as needed.Choose the narrowest tool that matches the request:
| Intent | Tool | Default Parameters |
|---|---|---|
| latest version lookup | get_latest_version | stabilityFilter: PREFER_STABLE |
| check exact version | check_version_exists | none |
| bulk candidate check (no current versions) | check_multiple_dependencies | stabilityFilter: PREFER_STABLE |
| upgrade analysis (single coordinate, with current version) | compare_dependency_versions | includeSecurityScan: true, stabilityFilter: STABLE_ONLY |
whole-POM upgrade plan (raw pom.xml) | recommend_pom_upgrades | mode: MINOR_PATCH |
resolve effective POM versions (raw pom.xml) | analyze_pom_dependencies | none |
| age/freshness | analyze_dependency_age | use project-appropriate threshold |
| maintenance signal / release history | analyze_release_patterns | monthsToAnalyze: 24 |
| full project audit | analyze_project_health | includeSecurityScan: true, includeLicenseScan: true, stabilityFilter: PREFER_STABLE |
Default to analyze_project_health when the user says "check my dependencies" or pastes a project dependency set.
When the user provides raw pom.xml content, prefer the POM-aware tools: analyze_pom_dependencies resolves and classifies effective versions (EXPLICIT / MANAGED / EXPLICIT_OVERRIDE) and surfaces multi-BOM conflicts; recommend_pom_upgrades returns an actionable upgrade plan. Both walk the parent chain, apply <dependencyManagement>, and resolve <scope>import</scope> BOMs; pass sideloadedPoms for monorepo siblings or unreleased parents.
Use check_multiple_dependencies for candidate sets without current versions. Use compare_dependency_versions for single-coordinate upgrade decisions. Use analyze_project_health for broad audits, not every single dependency question.
When the user hands you a raw pom.xml and wants to know what to upgrade ("what can I safely bump?", scheduled maintenance, dependency-bot replacement), lead with recommend_pom_upgrades:
mode: MINOR_PATCH (default) keeps major upgrades out of the safe pathdeterministicActions[] directly — these are mechanical <version> edits:
explicit_bump — declared dependenciesbom_bump — user-controllable BOMsmanaged_decl_bump — direct, non-import <dependencyManagement> entries the input POM owns, including platform/master POMs with no normal <dependencies> usage (3.2.0+)plugin_dep_bump — direct dependencies under build/plugins and build/pluginManagement, such as com.puppycrawl.tools:checkstyle inside maven-checkstyle-plugin (3.2.0+)editTarget, propertyName, declaredIn) telling you whether to edit a literal <version> or the backing property; plugin_dep_bump also names the owner plugin and build path, so apply the edit inside that plugin block rather than at the top levelneedsAttention[] (majors, multi-BOM conflicts, explicit overrides) to human or LLM review; each entry carries the Maven Central latest for contextOne call returns everything mechanical plus the review queue — no per-coordinate fan-out for whole-POM flows. Reach for analyze_pom_dependencies first when the user wants the raw resolution ("what does my POM actually resolve to?") without recommendations.
For a specific dependency ("should I upgrade X from 2.7 to 3.2?"), prefer compare_dependency_versions with:
includeSecurityScan: truestabilityFilter: STABLE_ONLYThen interpret the result conservatively:
When compare_dependency_versions returns same_major_stable_fallback:
If the user asks whether a dependency is safe:
compare_dependency_versions when remediation guidance mattersanalyze_release_patterns when maintenance risk mattersWhen the answer needs migration guides, API details, or library usage patterns, add documentation context before giving a strong recommendation.
Use this order:
WebSearch and WebFetch for official docs, release notes, and migration guidesUse this especially for:
Assume the user already has Maven Tools MCP configured.
arvindand/maven-tools-mcp:latest is the default when raw Context7 tools should be exposed through the same serverarvindand/maven-tools-mcp:latest-noc7 is the clean option when documentation is handled separatelyOnly discuss installation when the tools are unavailable.
| Issue | Action |
|---|---|
| MCP tools unavailable | Tell the user Maven Tools MCP is not configured and point them to https://github.com/arvindand/maven-tools-mcp. Mention :latest when they want raw Context7 in the same server, or :latest-noc7 when docs are handled separately. |
| Dependency not found | Verify groupId:artifactId format and check whether the artifact is on Maven Central. |
| Raw Context7 tools unavailable | Use standalone Context7 tools if available; otherwise fall back to WebSearch and WebFetch. |
| No documentation path is available | Say dependency facts are available but deeper migration or API docs are not available in the current environment. |
| Security scan is incomplete or slow | Use available version/maintenance facts, mark security status as incomplete or unknown, and do not describe a candidate as vulnerability-free. |
| Version type is unclear | Treat it as unstable and prefer a known stable release. |
License: MIT Requires: Maven Tools MCP server Pairs with: context7 skill or standalone Context7 tools for documentation-heavy follow-up
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
maven, gradle, dependency-upgrades, cve-scanning, license-risk
6 skills in this plugin
/context7Documentation lookup via Context7 REST API. Use when the user needs current library APIs, framework patterns, migration guidance, or official code examples for React, Next.js, Prisma, Express, Vue, Angular, Svelte, or other npm/PyPI packages. Use when the user says 'how do I use X library', 'what's the API for Y', or asks for official documentation. Use even when you think you know the answer — training data may not reflect recent releases./github-navigatorGitHub operations via gh CLI. CRITICAL: Use instead of WebFetch for any `github.com` URL or GitHub repo path like `owner/repo`. Use when the user asks to inspect repositories, files, issues, pull requests, releases, Actions runs, or repository structure. Use when the user says 'show README', 'list issues', 'check PR', 'clone repo', or 'analyze this repo'. Use even when the user just pastes a github.com URL without an explicit verb./release-reviewnpx claudepluginhub arvindand/agent-skills --plugin agent-skillsOther plugins' skills for the same job