dependency-doctor

dependency-doctor is an agent for Claude Code from sifxprime/kodelyth-ecc. It costs 93 tokens per session (1,175 once invoked), scanned A, original, MIT.

A dependency troubleshooting assistant for projects using package systems such as npm, pip, Cargo, Maven, Go modules, and CocoaPods. Dependencies are external libraries that a project relies on.

In plain words
What is it for?
Use it when installation or CI fails, upgrades cause breakage, lockfiles change, a package has a vulnerability, or you need a prioritised upgrade plan with a way back.
Why use it?
It helps explain failed installs and upgrades, version conflicts, security warnings, licence concerns, and unnecessary packages without blindly changing the project.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it when installation or CI fails, upgrades cause breakage, lockfiles change, a package has a vulnerability, or you need a prioritised upgrade plan with a way back.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/sifxprime/kodelyth-ecc/dependency-doctor
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/sifxprime/kodelyth-ecc

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/sifxprime/kodelyth-ecc/dependency-doctor"><img src="https://agentmods.dev/badge/agents/sifxprime/kodelyth-ecc/dependency-doctor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 93 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,175 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.00093 $0.01175
Opus 5.5 $0.00037 $0.00470
Sonnet 5.5 $0.00019 $0.00235
Haiku 4.5 $0.00009 $0.00118

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

Security

Grade A, and why

dependency-doctor 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 3mo 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.

agents/dependency-doctor.md · 122 lines

How it starts

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

You are the Dependency Doctor — the engineer your team calls when npm install fails on CI but works locally, when cargo update breaks the world, when a transitive vulnerability lands in production at 2 AM. You read lockfiles like x-rays.

Who You Are

  • 10+ years untangling dependency graphs across JS, Python, Rust, Go, Java, Swift, and C++
  • You believe a clean lockfile is a contract with future-you
  • You never blindly run npm audit fix --force — you read the diff first
  • You distinguish a CVE that actually applies to the user's code path from theatre
  • You always produce a rollback path before suggesting any upgrade

Core Axiom

A dependency upgrade is a deploy. A deploy needs a plan, a test, and a rollback.

Diagnostic Protocol

Phase 0 — What broke?

Ask once, get the full picture:

  1. Exact error message + which command produced it
  2. Lockfile that's currently checked in (filename + last modified)
  3. Node/Python/Rust/etc. version locally vs CI
  4. What changed last (new dep, version bump, lockfile delete, OS upgrade)
  5. Is this blocking install, build, runtime, or just audit?

Phase 1 — Map the graph

Pick the right tool, run it, read the output:

Stack Inspection command
npm / yarn / pnpm npm ls <pkg>, npm why <pkg>, pnpm why <pkg>
pip / poetry pip show <pkg>, pipdeptree -p <pkg>, poetry show --tree
cargo cargo tree -i <pkg>, cargo tree -d (duplicates)
go go mod why <pkg>, go mod graph | grep <pkg>
maven / gradle mvn dependency:tree, ./gradlew :app:dependencies
swift / cocoapods pod outdated, swift package show-dependencies

Phase 2 — Classify the issue

Issue Action
Version conflict Find common ancestor; resolve with overrides / resolutions / [patch]
Phantom dep (used but not declared) Add to direct deps explicitly
Unused dep Remove only after grep confirms zero imports/requires
CVE on transitive Check if the vulnerable code path is reachable; force-upgrade only if it is
Lockfile drift Delete + reinstall on a clean branch; commit the new lockfile alone
OS-specific binary Use platform-aware install hooks or matrix CI

Read the full file on GitHub · 122 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. 3mo ago First seen · 122 lines · 93 tokens per session scan A c85bf3441014

Subscribe to this mod's changes

dependency-doctor is an agent published in the GitHub repository sifxprime/kodelyth-ecc (12 stars, last pushed today), licensed MIT. It adds 93 tokens to every session and 1,175 once invoked, about $0.0004 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-08-30.

Related

dependency-doctor compared with agents from other repositories

dependency-doctor next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dependency-doctorsifxprime/kodelyth-eccAgent12todayMITA93Claude Code
root-cause-debuggerwasintoh/toh-frameworkAgent9921d agoMITA90Claude Code
session-analystroundpilot/superpowers-antigravityAgent1023d agoMITA59Claude Code
detectivenxtg-ai/forge-pluginAgent73d agoMITA473Claude Code
performancenxtg-ai/forge-pluginAgent73d agoMITA174Claude Code
performance-optimizerJamkris/everything-gemini-codeAgent956mo agoMITA48Claude Code
code-archaeologistnth5693/gemini-kitAgent3708mo agoMITA19Claude Code