dependency-mapper

dependency-mapper is an agent for Claude Code from greglas75/zuvo. It costs 36 tokens per session (1,240 once invoked), scanned A, original, MIT.

A read-only dependency mapper that traces which files import or call a refactoring target and which exported symbols they use. It shows where a change could affect the codebase.

In plain words
What is it for?
It is for mapping consumers of one or more files during refactoring, including multi-file changes.
Why use it?
It helps reveal breaking-change risks before moving or restructuring code.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the zuvo plugin — 56 skills, 47 agents, 5 hooks shipped together

Good fit It is for mapping consumers of one or more files during refactoring, including multi-file changes.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/greglas75/zuvo/dependency-mapper
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.

Clone the repo
git clone --depth 1 https://github.com/greglas75/zuvo

Made for: Claude Code.

Or install zuvo, the plugin that ships this one along with the rest of its 56 skills, 47 agents, 5 hooks.

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-mapper

README.md
[![agentmods](https://agentmods.dev/badge/agents/greglas75/zuvo/dependency-mapper.svg)](https://agentmods.dev/agents/greglas75/zuvo/dependency-mapper)
Your own site
<a href="https://agentmods.dev/agents/greglas75/zuvo/dependency-mapper"><img src="https://agentmods.dev/badge/agents/greglas75/zuvo/dependency-mapper.svg" alt="Measured on agentmods" height="20"></a>
Per session 36 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,240 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.00036 $0.01240
Opus 5 $0.00018 $0.00620
Sonnet 5 $0.00007 $0.00248
Haiku 4.5 $0.00004 $0.00124

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

Security

Grade A, and why

dependency-mapper 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 3d 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/refactor/agents/dependency-mapper.md · 132 lines

How it starts

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

Dependency Mapper Agent

Execution profile: read-only analysis | Token budget: 5000 for CodeSift calls

You are a read-only analysis agent dispatched by zuvo:refactor. Your job is to map every file that depends on the refactoring target so the orchestrator can plan safe changes.

Read and follow the agent preamble at ../../../shared/includes/agent-preamble.md. You do not modify files. Every finding needs a file path reference.

What You Receive

The orchestrator provides:

  1. Target file — the file being refactored (or multiple files for GOD_CLASS splits)
  2. CODESIFT_AVAILABLE — whether CodeSift MCP tools are accessible
  3. Repo identifier — for CodeSift calls (if available)

Multi-file note: For GOD_CLASS or multi-file refactors, run the analysis on each target file. The output consolidates all files into a single dependency map.

Tool Selection

The orchestrator provides CODESIFT_AVAILABLE and repo identifier. Do NOT call list_repos() — the orchestrator already did.

  • If CODESIFT_AVAILABLE: use CodeSift tools below with the provided repo identifier.
  • If not available: fall back to Read/Grep/Glob.

SCOPE definition: SCOPE = directory containing the target file + /**. For src/services/order.service.ts, SCOPE = src/services/**.

CodeSift Workflow

When CodeSift Is Available (token budget: 5000)

Batch queries into a single codebase_retrieval call instead of sequential calls:

codebase_retrieval(repo, queries=[
  {type: "outline", file_path: "target.ts"},
  {type: "references", symbol_name: "exportA"},
  {type: "references", symbol_name: "exportB"},
  {type: "call_chain", symbol_name: "criticalFn", direction: "callers"},
  {type: "context", file_path: "target.ts"}
], token_budget=5000)

Adjust the queries based on the target file's actual exports. For files with many exports, prioritize public API symbols and high-fan-out functions.

When CodeSift Is NOT Available

  1. Read the target file, list all export declarations
  2. Grep for import.*{target_module} and from.*{target_module} across the project
  3. For each importer, grep for usage of the specific exported symbol

Read the full file on GitHub · 132 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. 3d ago First seen · 132 lines · 36 tokens per session scan A cc4629056eb5

Subscribe to this mod's changes

dependency-mapper is an agent published in the GitHub repository greglas75/zuvo (6 stars, last pushed 2d ago), licensed MIT. It adds 36 tokens to every session and 1,240 once invoked, about $0.0002 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-09-03.

Related

Other agents, from other repositories

evolve-merge-to-main-gate

Merge-to-main promotion-readiness gate for the Evolve Loop (Evaluate archetype). The campaign executor invokes this at milestone/wave boundaries to verify a completed milestone's already-integrated work is ready to be promoted to main, emitting a PASS/WARN/FAIL verdict plus mergegate. signals. READ-ONLY — it never…

mickeyyaya/evolve-loop · 88 tokens

staff-reviewer

Internal reviewer: diff-first specification compliance, then code quality. Returns only supported, actionable findings.

reidemeister94/development-skills · 23 tokens

pr-standards

Git Commit & PR Standards for AI-Assisted Development.

PlanVault/ai-engineering-playbook · 15 tokens

release-manager

Cuts a brooks-lint release: sets the version in package.json, propagates it across the four plugin manifests and every version-bearing text file via npm run bump, writes the CHANGELOG entry, re-validates, then commits, pushes to main, tags, and publishes the GitHub release. Final pipeline stage of the brooks-harness…

hyhmrright/brooks-lint · 85 tokens

plan-synthesizer

Synthesizes cross-specialist input into a plan the team can commit to, recording decisions, rejected alternatives with reasons, the evidence behind each call, and the items still open. Reads the inputs from every specialist who contributed, reconciles their recommendations, and applies an evidence standard to each …

testdouble/han · 159 tokens

ring:prompt-reviewer

Expert Agent Quality Analyst evaluating AI agent executions against best practices, identifying prompt deficiencies, calculating quality scores, and generating precise improvement suggestions.

LerianStudio/ring · 32 tokens