dependency-doctor

dependency-doctor is an agent for coding agents 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

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/sifxprime/kodelyth-ecc/dependency-doctor
Clone the repo
git clone --depth 1 https://github.com/sifxprime/kodelyth-ecc

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.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.svg" alt="Measured on agentmods" 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. 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.00093 $0.01175
Opus 5 $0.00046 $0.00588
Sonnet 5 $0.00019 $0.00235
Haiku 4.5 $0.00009 $0.00118

Measured 4d ago against content hash c85bf3441014, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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. 4d 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 (11 stars, last pushed 2d ago), licensed MIT. It adds 93 tokens to every session and 1,175 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-30.

Related

Other agents, from other repositories

codemap

Defines agent personalities (Orchestrator, Explorer, Librarian, etc.) and manages their configuration lifecycle. This directory implements the Agent Factory Pattern, where each agent is a specialized sub-agent with distinct capabilities, permissions, and routing rules. The Orchestrator agent (src/agents/index.ts)…

alvinunreal/oh-my-opencode-slim · 0 tokens

auditor

Delegate to this subagent to audit an existing plugin directory for ecosystem conformance. Input is the plugin directory path. Checks: plugin.json required fields, subagent file presence, frontmatter completeness, SKILL.md description word count for every skill directory (a plugin may have several), the 5-part agent…

orin-dx/agent-plugins · 287 tokens

frontend-architect

Staff Frontend Architect. Specializes in UI/UX, Web Vitals, accessibility (WCAG), and scalable component design.

rafaelghif/antigravity-agents · 30 tokens

skill-tuning-reader

Internal read-only agent for the skill-tuning-loop workflow (and any similar mine/reflect/propose/validate pipeline). Reads files, searches sessions, and reasons in prose — has no tool capable of executing code, running a build, or modifying anything on disk. Not for direct human invocation; referenced only via a…

patrickserrano/lacquer · 77 tokens

code-reviewer

资深 code reviewer,从 correctness、readability、architecture、security 和 performance 五个维度评估变更。用于合并前的 thorough code review。.

vinvcn/addyosmani-agent-skills-zh · 37 tokens

head-of-product

Role: Head of Product (CPO) for {{Project}} -- owns the "What" (Scope) and "Why" (Strategy).

michele-prandina/ClaudE2E · 0 tokens