aktual: Agent for Claude Code

.claude/agents/dependency-browser.md

dependency-browser is an agent for Claude Code from jonapoul/aktual. It costs 83 tokens per session (1,118 once invoked), scanned A, original, Apache-2.0.

A tool for extracting a Maven dependency, a Java library distributed through a package repository, so its classes or source code can be browsed locally.

In plain words
What is it for?
Resolving dependency versions and unpacking compiled JAR files or source JAR files into the project build directory.
Why use it?
It makes a library's API and internals easier to inspect when documentation is not enough.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is jonapoul/aktual's own configuration. It tells Claude Code how to work on aktual 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 aktual configures →

Reuse

Borrowing it

Nothing to install: this file belongs to jonapoul/aktual. 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/jonapoul/aktual/main/.claude/agents/dependency-browser.md
Clone the repo
git clone --depth 1 https://github.com/jonapoul/aktual

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 dependency-browser

README.md
[![agentmods](https://agentmods.dev/badge/agents/jonapoul/aktual/dependency-browser/github.svg)](https://agentmods.dev/agents/jonapoul/aktual/dependency-browser)
Your own site
<a href="https://agentmods.dev/agents/jonapoul/aktual/dependency-browser"><img src="https://agentmods.dev/badge/agents/jonapoul/aktual/dependency-browser/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 dependency-browser

Your own site · 80×15
<a href="https://agentmods.dev/agents/jonapoul/aktual/dependency-browser"><img src="https://agentmods.dev/badge/agents/jonapoul/aktual/dependency-browser.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,118 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.00083 $0.01118
Opus 5.5 $0.00033 $0.00447
Sonnet 5.5 $0.00017 $0.00224
Haiku 4.5 $0.00008 $0.00112

Measured 1mo ago against content hash 715d4d508451, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dependency-browser 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 1mo 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/agents/dependency-browser.md · 135 lines

How it starts

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

Dependency Browser

Resolve a Maven dependency from the local Gradle cache and extract it into build/dependency-browser/<group>/<artifact>/<version>/ so the caller can browse its contents without leaving the project directory.

Input

Expect coordinates in one of these forms:

  • group:artifact:version - extract the main JAR (classes + resources)
  • group:artifact:version:sources - extract the sources JAR instead
  • group:artifact - look up the version from gradle/libs.versions.toml first
  • group:artifact:sources - look up the version, then extract the sources JAR

Step 0 - Resolve version if omitted

If the version field is missing or the classifier is sources in the third position, look it up from gradle/libs.versions.toml before proceeding.

Search the toml for the group+artifact pair in the [libraries] section:

grep -n '<group>\|<artifact>' gradle/libs.versions.toml

The entry will look like:

some-alias = { module = "group:artifact", version = "1.2.3" }
# or with a version ref:
some-alias = { module = "group:artifact", version.ref = "some-version" }

If it uses version.ref, look up the ref in the [versions] section:

grep 'some-version' gradle/libs.versions.toml

Use the resolved version string. If not found in the toml, report clearly and stop.

Extraction target

Always extract into the project's build directory:

build/dependency-browser/<group>/<artifact>/<version>/

or for sources:

build/dependency-browser/<group>/<artifact>/<version>-sources/

Steps

1 - Check if already extracted

ls build/dependency-browser/<group>/<artifact>/<version>[-sources]/ 2>/dev/null

If files are listed, report the extraction dir and stop - do not re-extract.

2 - Locate the JAR in the Gradle cache

The local Gradle cache lives at ~/.gradle/caches/modules-2/files-2.1/. Search it:

# Main JAR
find ~/.gradle/caches/modules-2/files-2.1/<group>/<artifact>/<version> \
     -name "<artifact>-<version>.jar" ! -name "*sources*" ! -name "*javadoc*" \
     2>/dev/null

# Sources JAR
find ~/.gradle/caches/modules-2/files-2.1/<group>/<artifact>/<version> \
     -name "<artifact>-<version>-sources.jar" \
     2>/dev/null

Read the full file on GitHub · 135 lines

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. 1mo ago Changed 715d4d508451
  2. 2mo ago First seen · 135 lines · 83 tokens per session scan A c46df0becded

Subscribe to this mod's changes

dependency-browser is an agent published in the GitHub repository jonapoul/aktual (43 stars, last pushed yesterday), licensed Apache-2.0. It adds 83 tokens to every session and 1,118 once invoked, about $0.0003 per session on Opus 5.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-09-01.

Related

dependency-browser compared with agents from other repositories

dependency-browser next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dependency-browserjonapoul/aktualAgent43yesterdayApache-2.0A83Claude Code
kotlin-expertandisab/swe-marketplaceAgent21yesterdayMITA28Claude Code
java-revieweropen-metadata/OpenMetadataAgent16kyesterdayApache-2.0A40Claude Code
plinth-architectjabrena/plinthAgent460yesterdayApache-2.0A38Claude Code, Cursor
langchain4j-ai-development-expertgiuseppe-trisciuoglio/developer-kitAgent3671mo agoMITA65Claude Code
java-security-expertgiuseppe-trisciuoglio/developer-kitAgent3671mo agoMITA85Claude Code
code-reviewerhmcts/agentic-plugins-marketplaceAgent411d agoMITA176Claude Code