- Home
- Skills
- Code Quality & Review
- Dependency Upgrade Planner: npm and pip
Works with the AI Agents you already use
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.
$12
Dependency Upgrade Planner: npm and pip
Example session with this skill installed
We're 13 packages behind on our storefront. Here's npm outdated --json --long, our audit export, and a list of core packages with import counts. Plan the upgrades so we don't break production.
- Read your context and instructions
- Compiled the dependency upgrade planner
Upgrade plan - sample-npm-outdated.json (npm, 13 outdated packages)
Jumps: 2 patch, 5 minor, 6 major (2 of them 0.x)
Security-driven: 2 (http-fetcher, md-render)
Waves: 10
Wave 1 - Security fixes, patch and minor [risk medium]
- http-fetcher 2.3.1 -> 2.3.4 patch, runtime, risk 2 medium
why: SECURITY high NWL-ADV-2026-0117, fixed in 2.3.4; 9 dependents +1; runtime +1
note: smallest fix; latest is 2.6.0
Wave 2 - Security major: md-render 1.9.0 -> 2.0.0 [risk high] (read migration notes first)
Wave 3 - Dev patch and minor: @northwind/eslint-config 1.4.0, bundle-tool 5.0.9,
type-checker 5.6.3, test-runner 29.7.0 (in-range step before the major)
Wave 4 - Runtime patch and minor: uuid-gen 9.0.1, http-fetcher 2.6.0 (follow-up), date-kit 3.5.2
Wave 5 - Core framework minor: state-store 4.5.0 [risk high]
Wave 6 - Major: css-lint 16.0.0 (dev)
Wave 7 - Major: test-runner 29.7.0 -> 30.1.0 (dev, 140 dependents)
Wave 8 - Major: image-sizer 0.0.7 -> 0.0.9 (0.0.x counts as major)
Wave 9 - Major: query-string-lite 0.8.2 -> 0.9.0 (0.x minor counts as major)
Wave 10 - Major: webframe 4.2.1 -> 5.1.0, risk 8 high (major, core, 64 dependents, runtime)
Every wave: Commands (npm install / npm install --save-dev with exact versions),
Gate (tests, build, staging smoke or soak), Rollback (revert manifest + lockfile commit).
Notes
- tar-extract: flagged (moderate NWL-ADV-2026-0098) but not in the outdated list; likely
transitive. Find the parent with `npm ls tar-extract` and upgrade the parent, or pin with overrides
Summary: ship waves 1-2 this sprint. Waves 3-4 are routine. The real risk is wave 10,
webframe 4 -> 5 with 64 import sites: start reading its migration guide now.
Connects securely to your tools. The creator never sees your data.
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+. Does not automate code refactoring for breaking changes. Requires manual export of JSON/CSV data from package managers and audit tools.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 3 days ago
- Software
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
Permissions
What's inside
Frequently Asked Questions
New in Code Quality & Review
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Code Quality & Review.