# dependency upgrade

> Generates a risk-aware dependency upgrade plan by analyzing lockfile graphs and transitive blast radius.

dependency upgrade is a paid AI agent skill on Agensi by Johnny Gu, in Workflow Automation. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5 (one-time purchase)
- Creator: [Johnny Gu](https://www.agensi.io/creators/johnny-gu)
- Category: [Workflow Automation](https://www.agensi.io/skills/workflow-automation)
- Version: 1.0
- Last updated: 2026-08-11
- Security: scan passed (2026-08-11); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/dependency-upgrade
- Tags: workflow-automation, npm, python, dependencies, devops, maintenance

## About this skill

### The problem

Running a standard outdated check tells you what needs updating, but not how to do it safely. Blindly upgrading everything at once leads to broken builds, while manual triage wastes hours checking dependency graphs and changelogs.

### What it does

- Analyzes lockfiles to build a full transitive dependency graph and compute the blast radius for every package.
- Groups upgrades into three distinct batches based on SemVer risk levels: patch, minor, and major.
- Identifies duplicate transitive versions that cause bloated bundles and state-management bugs.
- Calculates which packages are most "entangled" to prioritize isolated testing for high-impact changes.

### Frameworks & tools

Supports Node.js (`package-lock.json` v1, v2, v3) and Python (`requirements.txt`). Built with Python 3.8+ using standard library only.

### Why this beats prompting it yourself

General LLMs cannot accurately parse large, complex JSON lockfiles to calculate transitive dependencies or identify graph cycles without hallucinating connections. This tool performs deterministic graph analysis to ensure your upgrade plan is based on the actual architecture of your project, not a guess.

### Use cases

- Planning a quarterly dependency maintenance sprint for a large monorepo.
- Identifying and collapsing duplicate library versions to reduce bundle size.
- Determining the safest order of operations for a major framework migration.
- Reviewing a security audit to see which CVE fixes carry the highest breaking risk.

### Known limitations

Python `requirements.txt` analysis lacks graph data, so blast radius calculations are unavailable for that format. The graph analysis requires a lockfile to function offline.

## Requires

- Python

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the dependency upgrade skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does this skill differ from running a standard 'npm outdated' command?

Unlike standard tools that just list versions, this skill analyzes your entire lockfile graph to determine which upgrades affect the most code (the "blast radius") and identifies duplicate transitive dependencies that bloat your project.

### Which package managers and languages are supported?

The skill currently supports Node.js projects with `package-lock.json` (v1, v2, and v3) and Python projects using `requirements.txt`. Note that full blast radius mapping is exclusive to Node.js lockfiles due to the detailed graph data they provide.

### Can I use this with any AI agent, and does it require an internet connection?

This skill works with any AI agent capable of file access and code execution; it performs deterministic graph analysis locally to prevent the LLM from hallucinating dependency connections.

### Does this skill automatically update my files, or just provide a plan?

The skill provides an isolated, risk-stratified upgrade plan, grouping changes by SemVer risk (Patch, Minor, Major) so you can test stable changes before tackling complex migrations.

### Can this tool help me reduce my application's bundle size?

By identifying and collapsing duplicate transitive versions that often hide in complex trees, the skill helps resolve state-management bugs and significantly reduces final bundle sizes.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
