# Dependency Upgrade Planner: npm and pip

> Turn npm outdated or pip list --outdated output into a staged upgrade plan: security fixes first, risk-scored waves, every major alone, with commands, a test gate, and a rollback per wave.

Dependency Upgrade Planner: npm and pip is a paid AI agent skill on Agensi by Signal Over Noise, in Code Quality & Review. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $12 (one-time purchase)
- Creator: [Signal Over Noise](https://www.agensi.io/creators/jammin411)
- Category: [Code Quality & Review](https://www.agensi.io/skills/code-quality-review)
- Version: 1.0.0
- Last updated: 2026-12-01
- Security: scan passed (2026-12-01); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/dependency-upgrade-planner-npm-and-pip
- Tags: code-review, npm, pip, dependencies, security, devops

## About this skill

Falling behind on dependencies is easy. Catching up safely is not: one PR that bumps 30 packages breaks, and nobody can tell which package did it.

This skill gives your agent a planning method and a tested script. It reads `npm outdated` or `pip list --outdated` JSON (it detects which), an optional audit CSV, and an optional context file that marks core frameworks and how many places import each package. It prints a wave plan where each wave is one commit, one CI run, and one revert.

What you get:

- Semver classification that catches the traps: 0.x minors and 0.0.x patches count as major, calendar versions are flagged.
- Security first, with the smallest fix: target the advisory's fixed version, not latest, and move the rest of the jump to a later wave. Transitive advisories are called out with the command to find the parent.
- A visible risk score (major +3, core +2, many dependents +2, runtime +1) with reasons printed next to every package.
- Waves in a fixed order: security, dev patch/minor, runtime patch/minor, core minors alone, then each major alone, core framework last. In-range step before each npm major.
- Per wave: exact install commands, a test gate, a rollback, and for majors a required changelog read across every intermediate release.
- Lockfile discipline rules and a full worked example for both npm and pip.

What it does not do: it does not perform the code migration a major needs, query registries, or judge licenses. Fictional sample data only; no network calls.

## Requires

- Python 3.10+ (standard library only)

Output of npm outdated --json --long or pip list --outdated --format=json. Optional: a security audit exported to CSV

## Known limitations

Requires Python 3.10+. Does not automate code refactoring for breaking changes. Requires manual export of JSON/CSV data from package managers and audit tools.

## 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 Planner: npm and pip 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 help manage a large backlog of outdated packages?

This skill converts raw outdated dependency lists from npm or pip into a staged, risk-scored execution plan. It organizes updates into waves to ensure that if a build fails, you can immediately identify which specific package caused the issue.

### What data do I need to provide for the skill to generate a plan?

You need to provide the JSON output from running npm outdated or pip list --outdated. Optional CSV files containing security audit data and project context, such as import counts and core framework designations, can be included to refine the risk scoring.

### What is the final output format and what does it include?

The skill produces a structured Markdown plan that groups upgrades into waves with specific risk levels. Each wave includes exact CLI commands for installation, criteria for passing the gate, and clear rollback instructions.

### How does the skill handle version jumps for packages that are not yet at version 1.0.0?

It treats 0.x and 0.0.x version jumps as major breaking changes because semver makes no stability promises for these releases. This prevents the common mistake of assuming a sub-1.0 minor update is safe to batch with other patches.

### What are the known limitations of this planning process?

This skill focuses on planning and risk assessment; it does not perform license compliance reviews or write the code changes required for breaking API migrations. Additionally, the planning script requires a Python 3.10 or newer environment to run.

### How should I direct my AI agent to use this skill?

You can ask your agent to use the provided Python script to process your outdated package JSON and any optional audit or context CSVs. Instruct the agent to follow the wave-based logic to prioritize security fixes and isolate high-risk major upgrades.

---

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.
