dependency-conflict-resolver

dependency-conflict-resolver is a skill for Claude Code from latestaiagents/agent-skills. It costs 43 tokens per session (1,792 once invoked), scanned C, original, MIT.

A guide for finding and fixing conflicts between software packages and their required versions. Packages are reusable pieces of code installed by tools such as npm, Yarn, or pnpm.

In plain words
What is it for?
Use it to inspect dependency trees, investigate why packages are installed, resolve peer-dependency warnings, and address lock-file conflicts.
Why use it?
It helps when installation fails, packages require incompatible versions, duplicate packages appear, or modules cannot be found.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the developer-toolkit plugin — 19 skills shipped together

Good fit Use it to inspect dependency trees, investigate why packages are installed, resolve peer-dependency warnings, and address lock-file conflicts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/latestaiagents/agent-skills/dependency-conflict-resolver
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.

Any agent
npx skills add latestaiagents/agent-skills --skill dependency-conflict-resolver
Clone the repo
git clone --depth 1 https://github.com/latestaiagents/agent-skills

Made for: Claude Code.

Or install developer-toolkit, the plugin that ships this one along with the rest of its 19 skills.

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-conflict-resolver

README.md
[![agentmods](https://agentmods.dev/badge/skills/latestaiagents/agent-skills/dependency-conflict-resolver/github.svg)](https://agentmods.dev/skills/latestaiagents/agent-skills/dependency-conflict-resolver)
Your own site
<a href="https://agentmods.dev/skills/latestaiagents/agent-skills/dependency-conflict-resolver"><img src="https://agentmods.dev/badge/skills/latestaiagents/agent-skills/dependency-conflict-resolver/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-conflict-resolver

Your own site · 80×15
<a href="https://agentmods.dev/skills/latestaiagents/agent-skills/dependency-conflict-resolver"><img src="https://agentmods.dev/badge/skills/latestaiagents/agent-skills/dependency-conflict-resolver.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,792 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00043 $0.01792
Opus 5 $0.00022 $0.00896
Sonnet 5 $0.00009 $0.00358
Haiku 4.5 $0.00004 $0.00179

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

Security

Grade C, and why

dependency-conflict-resolver scanned grade C with 1 finding 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 9d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf node_modules package-lock.json
plugins/developer-toolkit/skills/debug/dependency-conflict-resolver/SKILL.md · 383 lines

How it starts

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

Dependency Conflict Resolver

Untangle and resolve package dependency conflicts.

When to Use

  • Package installation fails
  • Peer dependency warnings
  • "Module not found" errors
  • Duplicate package warnings
  • Version mismatch errors
  • Lock file conflicts

Common Error Types

1. Peer Dependency Conflicts

npm WARN ERESOLVE unable to resolve dependency tree
npm WARN peer react@"^17.0.0" from [email protected]
npm WARN   peer react@"^18.0.0" from [email protected]

Cause: Two packages require different versions of the same peer dependency.

2. Version Conflicts

npm ERR! Could not resolve dependency:
npm ERR! peer typescript@">=4.0 <5.0" from [email protected]
npm ERR! node_modules/some-package
npm ERR!   some-package@"^1.0.0" from the root project

Cause: Package requires a version range you're not using.

3. Duplicate Packages

warning "package-a" has unmet peer dependency "lodash@^4.0.0".
warning "package-b" has incorrect peer dependency "lodash@^3.0.0".

Cause: Multiple versions of the same package installed.

Diagnostic Commands

NPM

# See dependency tree
npm ls

# Find specific package
npm ls react

# Find why package is installed
npm why lodash

# Check for outdated packages
npm outdated

# Audit for issues
npm audit

Yarn

# See dependency tree
yarn list

# Find specific package
yarn why react

# Check for duplicates
yarn dedupe --check

# Interactive upgrade
yarn upgrade-interactive

PNPM

# See dependency tree
pnpm ls

# Find specific package
pnpm why react

# List all versions of a package
pnpm ls --depth Infinity | grep lodash

Resolution Strategies

Strategy 1: Update to Compatible Versions

# Find what versions are needed
npm ls react --all

# Update packages that need newer version
npm update package-a package-b

# Or install specific compatible version
npm install [email protected]

Strategy 2: Override/Resolution

NPM (package.json):

{
  "overrides": {
    "react": "18.2.0",
    "package-a": {
      "lodash": "4.17.21"
    }
  }
}

Read the full file on GitHub · 383 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. 9d ago First seen · 383 lines · 43 tokens per session scan C d85096f498a3

Subscribe to this mod's changes

dependency-conflict-resolver is a skill published in the GitHub repository latestaiagents/agent-skills (5 stars, last pushed 4mo ago), licensed MIT. It adds 43 tokens to every session and 1,792 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.