dependency-manager

dependency-manager is a skill for Claude Code from asgarovf/locusai. It costs 35 tokens per session (1,048 once invoked), scanned B, original, MIT.

Project dependency management for packages that code relies on, such as npm or Python libraries. It covers checking, updating, adding, removing, and auditing those packages.

In plain words
What is it for?
Updating packages, checking for vulnerabilities, resolving version conflicts, choosing new packages, finding unused dependencies, and changing package managers.
Why use it?
It reduces the risk of outdated packages, known security problems, incompatible versions, and unused code libraries.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Updating packages, checking for vulnerabilities, resolving version conflicts, choosing new packages, finding unused dependencies, and changing package managers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/asgarovf/locusai/dependency-manager
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 asgarovf/locusai --skill dependency-manager
Clone the repo
git clone --depth 1 https://github.com/asgarovf/locusai

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/asgarovf/locusai/dependency-manager"><img src="https://agentmods.dev/badge/skills/asgarovf/locusai/dependency-manager.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,048 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 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.00035 $0.01048
Opus 5.5 $0.00014 $0.00419
Sonnet 5.5 $0.00007 $0.00210
Haiku 4.5 $0.00003 $0.00105

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

Security

Grade B, and why

dependency-manager scanned grade B 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 1mo 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 deletemediumDestructive 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

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

skills/dependency-manager/SKILL.md · 193 lines

How it starts

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

Dependency Manager

When to use this skill

  • Updating outdated dependencies
  • Fixing security vulnerability alerts (Dependabot, npm audit)
  • Resolving dependency conflicts or version mismatches
  • Adding new packages (choosing the right ones)
  • Cleaning up unused dependencies
  • Migrating between package managers

Step 1: Assess current state

Node.js / npm / yarn

# Check for outdated packages
npm outdated
yarn outdated

# Security audit
npm audit
yarn audit

# List installed packages
npm ls --depth=0
npm ls <package-name>  # Check specific package tree

# Find unused dependencies
npx depcheck

Python / pip

# Check outdated
pip list --outdated

# Security audit
pip-audit
safety check

# Show dependency tree
pipdeptree

Step 2: Update strategy

Semantic versioning guide

MAJOR.MINOR.PATCH
^2.1.0  → allows 2.x.x (minor + patch updates)
~2.1.0  → allows 2.1.x (patch updates only)
2.1.0   → exact version (no updates)

Safe update order

  1. Patch updates first — bug fixes, lowest risk:

    npm update  # Updates within semver range
    
  2. Minor updates — new features, backward compatible:

    npx npm-check-updates --target minor -u
    npm install
    npm test
    
  3. Major updates — one at a time, may have breaking changes:

    npm install <package>@latest
    # Read CHANGELOG/migration guide
    # Run tests
    # Fix breaking changes
    # Commit
    

Step 3: Handle vulnerabilities

# View audit details
npm audit

# Auto-fix where possible
npm audit fix

# Force fix (may include breaking changes — review carefully)
npm audit fix --force

# If a vulnerability is in a transitive dependency:
# 1. Check if parent package has a newer version
npm ls <vulnerable-package>
# 2. Override the transitive version
# In package.json:
{
  "overrides": {
    "vulnerable-package": "^2.0.1"
  }
}

Step 4: Resolve conflicts

Peer dependency conflicts

# See the conflict
npm install --dry-run

# Option 1: Use --legacy-peer-deps (temporary)
npm install --legacy-peer-deps

# Option 2: Fix by aligning versions
# Read both packages' peerDependencies and find compatible range

Read the full file on GitHub · 193 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. 1mo ago First seen · 193 lines · 35 tokens per session scan B 264080549aeb

Subscribe to this mod's changes

dependency-manager is a skill published in the GitHub repository asgarovf/locusai (23 stars, last pushed 7mo ago), licensed MIT. It adds 35 tokens to every session and 1,048 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

dependency-audit

A security review of project dependencies managed by npm, Yarn, or pnpm. It can inspect a local project directory or a remote Git repository for known dependency risks.

BARMPlus/locklens · 56 tokens

dep-audit

Audit and update project dependencies: find outdated packages, check for vulnerabilities, auto-update safely with lockfile regeneration.

JansenAnalytics/claudex · 26 tokens

upgrade-packages-js

Safely upgrade JavaScript packages with breaking change detection, migration guidance, and automated code migrations (npm/pnpm/yarn). Cross-platform with git safety branch enforcement.

georgekhananaev/claude-skills-vault · 38 tokens

tauri-django-react

Agents should invoke this skill for Tauri + Django + React desktop apps, especially backend lifecycle, CORS/auth, frontend integration, mandatory light/dark theming, German/English i18n, build packaging, dual desktop/web deployment, Rust commands, and platform-specific gotchas.

Firstp1ck/pi-coding-agent-forge · 63 tokens

rewrite-in-rust

Assess, plan, execute, and verify migrations of existing software to Rust. Use for requests to rewrite, port, migrate, or oxidize a codebase, library, module, application, or subsystem in Rust, including RIIR requests. Adapts to the source language and repository; supports incremental replacement, a separate complete…

Firstp1ck/pi-coding-agent-forge · 152 tokens

project-readme

Use when creating, updating, reviewing, restructuring, or harmonizing a repository's project README from verified local evidence for user-oriented or developer/library-oriented readers, with separately approved TECHNICAL.md and DEVELOPMENT.md companions when needed.

Firstp1ck/pi-coding-agent-forge · 49 tokens