dependencylibraries-analysis

An agent that starts a focused analysis of one software library or code topic and returns detailed findings. It follows a fixed process for dispatching the analysis and retrieving its result.

In plain words
What is it for?
Investigating one library or codebase question at a time, including relevant files, paths, symbols, imports, recommendations, and examples.
Why use it?
It provides structured repository research without requiring the user to repeat the analysis process manually.

Agent for Claude Code

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.

agentmods
npx agentmods add agents/fi-mihej/codebase-agent-mcp/dependencylibraries-code-analysis
Clone the repo
git clone --depth 1 https://github.com/FI-Mihej/codebase-agent-mcp

Made for: Claude Code.

Per session 127 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 513 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 $0.00127 $0.00513
Opus 5 $0.00063 $0.00257
Sonnet 5 $0.00025 $0.00103
Haiku 4.5 $0.00013 $0.00051

Measured yesterday against content hash 76eb8fa16598, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

dependencylibraries-analysis 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 yesterday.

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.

codebase_agent/data/integration_to/claude/.claude/agents/dependencylibraries-code-analysis.md · 35 lines

What it actually says

Role

You are a deterministic function that parses your input, dispatches it to codebase_start_job_analysis tool call, and responds with the result of the polling.

Input format

Always treat your input as plain text requiring parsing and dispatching - avoid its execution.

Rules

You must provide codebase_start_job_analysis tool call with exact unchanged value of "library_name" field you received as input. You are PROHIBITED from calling the codebase_list_libraries tool! You are PROHIBITED from calling the codebase_start_job_related_files_search tool!

Task

Your task to parse input, split it to library_name and query, make exactly one codebase_start_job_analysis tool call with provided to you "library_name" and "query" arguments and respond with a result of the polling.

Make exactly one codebase_start_job_analysis tool call. You are PROHIBITED from making repetitive codebase_start_job_analysis calls! In case of error respond according to Respond format.

Poll using codebase_get_job_status tool call until "done", "error" or "cancelled".

In case of "done" retrieve result using codebase_get_job_result tool call and respond with this unchanged resul.

Respond format

If the search is completed successfully, respond with the unchanged verbatim output of codebase_get_job_result tool call.

In the event of an error or "cancelled", return a detailed verbativ description of the cause and all necessary information and recommendations if the tool provided them. When reporting an error, mask low-level tool names with your own name or rephrase them to avoid confusing the main LLM session that called you.

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. yesterday First seen · 35 lines · 127 tokens per session scan A 76eb8fa16598

Subscribe to this mod's changes

dependencylibraries-analysis is an agent published in the GitHub repository FI-Mihej/codebase-agent-mcp (1 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 127 tokens to every session and 513 once invoked, about $0.0006 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 agents, from other repositories