tools: Skill for Claude Code

.claude/skills/maven-conventions/SKILL.md

maven-conventions is a skill for Claude Code from adamw7/tools. It costs 75 tokens per session (1,785 once invoked), scanned A, original, MIT.

A set of project rules for managing Maven build files in a multi-module Java project, where one root project contains several related modules.

In plain words
What is it for?
Use it when editing pom.xml files, adding dependencies or plugins, changing versions, choosing Maven commands, or investigating a failed build.
Why use it?
It prevents dependency and plugin versions from being duplicated or placed in the wrong project file, and helps avoid build failures caused by incorrect profiles or generated files.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

This is adamw7/tools's own configuration. It tells Claude Code how to work on tools itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything tools configures →

Reuse

Borrowing it

Nothing to install: this file belongs to adamw7/tools. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/adamw7/tools/main/.claude/skills/maven-conventions/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/adamw7/tools

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 maven-conventions

README.md
[![agentmods](https://agentmods.dev/badge/skills/adamw7/tools/maven-conventions.svg)](https://agentmods.dev/skills/adamw7/tools/maven-conventions)
Your own site
<a href="https://agentmods.dev/skills/adamw7/tools/maven-conventions"><img src="https://agentmods.dev/badge/skills/adamw7/tools/maven-conventions.svg" alt="Measured on agentmods" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,785 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.1 $0.00075 $0.01785
Opus 5 $0.00037 $0.00892
Sonnet 5 $0.00015 $0.00357
Haiku 4.5 $0.00007 $0.00178

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

Security

Grade A, and why

maven-conventions 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.

.claude/skills/maven-conventions/SKILL.md · 126 lines

How it starts

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

Maven Conventions Skill

Keep pom.xml edits and build commands consistent with how the tools multi-module reactor is wired. Getting versions in the wrong place, or missing a profile, is the most common source of avoidable build friction here.

Hard rules

Versions live in exactly one place

  • Dependency versions and scopes: only in the root pom.xml under <dependencyManagement>. A module may say one thing about a managed dependency — a narrower scope, where two modules genuinely want different ones (enforcer-api is managed provided and narrowed to test by adopt; jsoup is managed unscoped and narrowed to test by claude-code-enforcer).
  • Plugin versions: only in the root pom.xml under <pluginManagement>.
  • Module poms reference dependencies and plugins WITHOUT versions. Never add a <version> to a module pom — add or change it in the root instead. The exceptions are reactor artifacts, which use ${project.version}.
  • Artifacts that must move together share one property, not a version each: protobuf.version (runtime and protoc), grpc.version, derby.version, log4j2.version, maven.api.version. derby.version and log4j2.version are Spring Boot's own property names, so overriding them also moves the siblings the spring-boot-dependencies BOM manages (derbyshared, the other log4j2 artifacts) instead of leaving them on Boot's older version.
  • The Spring Boot parent manages plugins too. It binds a generate execution on protobuf-maven-plugin and adds protoc-gen-grpc-java to it for its gRPC starter; the root pom unbinds that execution (<phase>none</phase>) and clears the generator list (<plugins combine.self="override"/>), because the modules here declare the protobuf executions they want. Leave both in place — without them protogen-maven-plugin fails at generate-sources looking for a src/main/proto it does not have.

Ask before adding a dependency

  • Use the existing Maven dependencies. Always ask the user before adding a new one. If approved, declare it (with version) in root <dependencyManagement>, then reference it version-free in the module.

Read the full file on GitHub · 126 lines

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 · 126 lines · 75 tokens per session scan A 6c28e2bc1520

Subscribe to this mod's changes

maven-conventions is a skill published in the GitHub repository adamw7/tools (11 stars, last pushed today), licensed MIT. It adds 75 tokens to every session and 1,785 once invoked, about $0.0004 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

tika-eval-compare

Compare extracts from two Tika builds over a corpus to detect regressions in content, encoding, exceptions, and embedded-document handling. Use for "compare before/after extracts", "eval this change against the corpus".

apache/tika · 50 tokens

azure-security-keyvault-secrets-java

Azure Key Vault Secrets Java SDK for secret management. Use when storing, retrieving, or managing passwords, API keys, connection strings, or other sensitive configuration data.

microsoft/skills · 40 tokens

azure-communication-chat-java

Build real-time chat applications with Azure Communication Services Chat Java SDK. Use when implementing chat threads, messaging, participants, read receipts, typing notifications, or real-time chat features.

microsoft/skills · 41 tokens

union-type-wrappers

Add typed getters and setters over BinaryData properties that represent TypeSpec union types in generated Java models. Use when generated classes expose BinaryData for union-typed fields and you need ergonomic, type-safe accessors instead.

Azure/azure-sdk-for-java · 49 tokens

azure-ai-agents-persistent-java

Azure AI Agents Persistent SDK for Java. Low-level SDK for creating and managing AI agents with threads, messages, runs, and tools. Triggers: "PersistentAgentsClient", "persistent agents java", "agent threads java", "agent runs java", "streaming agents java".

microsoft/skills · 63 tokens

run-tests

Run project tests using Maven (mvn). Use when the user asks to run tests.

Azure/azure-sdk-for-java · 21 tokens