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.
curl -O https://raw.githubusercontent.com/adamw7/tools/main/.claude/skills/maven-conventions/SKILL.mdgit clone --depth 1 https://github.com/adamw7/toolsWrote 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.
[](https://agentmods.dev/skills/adamw7/tools/maven-conventions)<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>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.
| Model | Per session | Once 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 |
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.
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.xmlunder<dependencyManagement>. A module may say one thing about a managed dependency — a narrower scope, where two modules genuinely want different ones (enforcer-apiis managedprovidedand narrowed totestbyadopt;jsoupis managed unscoped and narrowed totestbyclaude-code-enforcer). - Plugin versions: only in the root
pom.xmlunder<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 andprotoc),grpc.version,derby.version,log4j2.version,maven.api.version.derby.versionandlog4j2.versionare Spring Boot's own property names, so overriding them also moves the siblings thespring-boot-dependenciesBOM 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
generateexecution onprotobuf-maven-pluginand addsprotoc-gen-grpc-javato 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 themprotogen-maven-pluginfails atgenerate-sourceslooking for asrc/main/protoit 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.
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.
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.
- 6d ago First seen · 126 lines · 75 tokens per session scan A 6c28e2bc1520
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.
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".
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.
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.
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-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".
run-tests
Run project tests using Maven (mvn). Use when the user asks to run tests.