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.
npx agentmods add skills/salitaba/maven-decoder-mcp/maven-code-searchnpx skills add salitaba/maven-decoder-mcp --skill maven-code-searchgit clone --depth 1 https://github.com/salitaba/maven-decoder-mcpWrote 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/salitaba/maven-decoder-mcp/maven-code-search)<a href="https://agentmods.dev/skills/salitaba/maven-decoder-mcp/maven-code-search"><img src="https://agentmods.dev/badge/skills/salitaba/maven-decoder-mcp/maven-code-search.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 | $0.00095 | $0.01126 |
| Opus 5 | $0.00048 | $0.00563 |
| Sonnet 5 | $0.00019 | $0.00225 |
| Haiku 4.5 | $0.00010 | $0.00113 |
Grade A, and why
maven-code-search 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 5d 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 — 85 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Maven Code Search
Overview
Use the maven-decoder MCP server before guessing about third-party Java dependencies. It can search the user's installed Maven repository, inspect jars, prefer source jars when available, and decompile bytecode when source is missing.
This MCP only sees artifacts already present in the local Maven cache. If the needed artifact is missing, ask the user to build the project or run a dependency resolution command such as mvn dependency:go-offline, then retry the MCP search.
Quick Workflow
- Identify the target coordinates when possible:
group_id,artifact_id, andversion. Readpom.xml,build.gradle, lockfiles, or existing imports if the user did not provide them. - Use MCP search tools to confirm what is installed before inspecting code.
- Prefer narrow queries: a class name, package pattern, artifact coordinates, or method pattern.
- Use pagination for broad searches and ask for the next page only when the current page is not enough.
- Report findings with exact coordinates, class names, method names, and whether the result came from sources or decompiled bytecode.
Tool Selection
Use list_artifacts to discover installed artifacts or filter by partial group_id, artifact_id, or version.
Use get_version_info when the user asks which versions of an artifact are installed.
Use search_classes when the user knows a class name, simple type name, wildcard, or package but not the artifact that contains it.
Use extract_class_info when the user needs constructors, fields, annotations, or method signatures for classes in a known artifact. If sources are missing, this tool still returns bytecode-backed fields and methods through the MCP, so do not shell out to javap for the same information.
Use extract_source_code when the user needs implementation details. Set prefer_sources to true unless there is a specific reason to force decompilation.
Use extract_jar_resource when the user needs files embedded in the jar, such as .proto files, service descriptors, or Maven metadata. Use analyze_jar first when you need to discover resource paths. Do not shell out to jar tf just to list or read jar entries.
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.
- 5d ago First seen · 85 lines · 95 tokens per session scan A 6f79d78fab46
maven-code-search is a skill published in the GitHub repository salitaba/maven-decoder-mcp (20 stars, last pushed 3mo ago), licensed MIT. It adds 95 tokens to every session and 1,126 once invoked, about $0.0005 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
library-insight
Use when the user asks to inspect a Java, Kotlin, or Kotlin Multiplatform (KMP) library API, verify if a method or class exists in the installed dependency version, compare or migrate between library versions, audit deprecated APIs, or check Gradle dependency graphs. Triggers: check library API, search class/method…
java-optionals-eval-capture
Use in Symphony for Trello when a Java change or review presents a reusable Optional or absence/fallback strategy-selection lesson, including on an adjacent owning API such as ScopedValue even when no java.util.Optional appears. Capture the before/prompt/after code and create or update a self-contained eval issue in…
java-streams-eval-capture
Use in Symphony for Trello when a Java change or review presents a reusable lesson about choosing or preserving a stream, collector, direct result-producing collection transformation, or character-predicate traversal, including identity or delimited string reductions, even when the preferred final code contains no…
jar-analysis
Explore, search, read, and decompile Java JAR, WAR, EAR, AAR, and Spring Boot fat-jar files via the dejared MCP server. Use this skill whenever the user references a .jar file path, asks what a third-party Java library does, wants to read a config embedded in a JAR (application.yml, spring.factories, MANIFEST.MF)…
java-specifications
Structural verification for Java and Kotlin — SpotBugs/Error Prone, Detekt. Load when planning, implementing, or reviewing Java/Kotlin code (.java, .kt; build.gradle, pom.xml).
implement
Use in the Implement phase whenever writing or editing production Java code, or fixing a bug, in a Spring/Spring Boot project. Enforces test-first (red-green-refactor), executes the approved plan step by step, and honors the project's path-scoped tech-stack rules and the task's enforcement set. Preloaded into…