browse-java-javadocs

browse-java-javadocs is a skill for Codex from loong95/javadoc-mcp. It costs 101 tokens per session (1,367 once invoked), scanned A, original, Apache-2.0.

A skill for reading the official Java documentation for libraries published through Maven. JavaDoc is the reference that describes Java classes, methods, parameters, return values, and errors.

In plain words
What is it for?
It helps find packages and classes, check method signatures and overloads, inspect deprecations, and confirm documented behavior for a chosen library version.
Why use it?
It helps answer dependency questions from the library's actual documentation instead of relying on memory or guesses.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Codex.

Good fit It helps find packages and classes, check method signatures and overloads, inspect deprecations, and confirm documented behavior for a chosen library version.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/loong95/javadoc-mcp/browse-java-javadocs
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.

Any agent
npx skills add loong95/javadoc-mcp --skill browse-java-javadocs
Clone the repo
git clone --depth 1 https://github.com/loong95/javadoc-mcp

Made for: Codex.

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 browse-java-javadocs

README.md
[![agentmods](https://agentmods.dev/badge/skills/loong95/javadoc-mcp/browse-java-javadocs/github.svg)](https://agentmods.dev/skills/loong95/javadoc-mcp/browse-java-javadocs)
Your own site
<a href="https://agentmods.dev/skills/loong95/javadoc-mcp/browse-java-javadocs"><img src="https://agentmods.dev/badge/skills/loong95/javadoc-mcp/browse-java-javadocs/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for browse-java-javadocs

Your own site · 80×15
<a href="https://agentmods.dev/skills/loong95/javadoc-mcp/browse-java-javadocs"><img src="https://agentmods.dev/badge/skills/loong95/javadoc-mcp/browse-java-javadocs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,367 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00101 $0.01367
Opus 5 $0.00051 $0.00683
Sonnet 5 $0.00020 $0.00273
Haiku 4.5 $0.00010 $0.00137

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

Security

Grade A, and why

browse-java-javadocs 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 10d 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.

skills/browse-java-javadocs/SKILL.md · 107 lines

How it starts

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

Browse Java Javadocs

Overview

Use javadoc-cli to read published JavaDoc from Maven artifacts without relying on memory. Prefer this skill when the question is about an external dependency API and the answer depends on exact signatures, overloads, deprecations, return values, thrown exceptions, or package/class discovery.

If javadoc-cli is not already on PATH, invoke it through npm with npx -y -p javadoc-mcp javadoc-cli ....

Workflow

  1. Identify groupId, artifactId, and version before running commands. If the user omits the version, ask for it or clearly state the version you assume.
  2. Start broad with javadoc-cli search when the user only knows a keyword, class fragment, or member name.
  3. Use javadoc-cli list-packages when the library surface is unclear and you need package discovery.
  4. Use javadoc-cli list-classes after you know the package and need the available types.
  5. Use javadoc-cli get-class to inspect the class signature, inheritance, interfaces, description, and member summaries.
  6. Use javadoc-cli get-member for method or field detail after you know the class and member name.
  7. Summarize the result in plain language, separating documented facts from your own inference.

Tool Selection

javadoc-cli search

Use first when the target is fuzzy.

  • Good for: “find retry-related packages”, “where is StringUtils”, “which member is named timeout”, “find org.foo.Bar.baz”.
  • category is optional; omit it to search types, members, and packages together.
  • Search matches indexed names, not JavaDoc prose. It does not search description text.
  • Use category="type" to narrow to indexed types such as classes, interfaces, enums, annotations, exceptions, and records.
  • Type results include the fully qualified class name, and type queries can match either the simple name or the fully qualified class name.
  • Use category="member" when the user asks about a method name but not the declaring type.
  • Member results include the declaring class, and member queries can match a simple member name or a fully qualified reference such as org.example.Foo.bar or org.example.Foo#bar.
  • Use category="package" when exploring an unfamiliar library layout.

Read the full file on GitHub · 107 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. 10d ago First seen · 107 lines · 101 tokens per session scan A 61999d2846d2

Subscribe to this mod's changes

browse-java-javadocs is a skill published in the GitHub repository loong95/javadoc-mcp (4 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 101 tokens to every session and 1,367 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-31.

Related

Other skills, from other repositories

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-ai-anomalydetector-java

Build anomaly detection applications with Azure AI Anomaly Detector SDK for Java. Use when implementing univariate/multivariate anomaly detection, time-series analysis, or AI-powered monitoring.

microsoft/skills · 43 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

azure-communication-common-java

Azure Communication Services common utilities for Java. Use when working with CommunicationTokenCredential, user identifiers, token refresh, or shared authentication across ACS services.

microsoft/skills · 35 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