# Dependency Upgrade Plan

> Transform outdated dependency lists into risk-batched upgrade plans with exact versions and rollback commands.

Dependency Upgrade Plan is a paid AI agent skill on Agensi by Bandonker Labs., in Code Quality & Review. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $6.99 (one-time purchase)
- Creator: [Bandonker Labs.](https://www.agensi.io/creators/bandonkerlabs)
- Category: [Code Quality & Review](https://www.agensi.io/skills/code-quality-review)
- Version: 1.0
- Last updated: 2026-10-15
- Security: scan passed (2026-10-15); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/dependency-upgrade-plan
- Tags: code-review, npm, pip, go-modules, cargo, devops

## About this skill

Stale dependencies and "update everything" mandates create unmanageable risk and untraceable regressions. This skill transforms a wall of outdated packages into a structured, risk-batched execution plan that a release train can follow without guesswork.

### What it does
- **Inventory manifests** by normalizing `package.json`, `requirements.txt`, `go.mod`, and `Cargo.toml` into a unified table of pinned vs. locked versions.
- **Identify drift** by flagging packages declared in manifests but missing from lockfiles or locked outside their declared ranges.
- **Batch by risk** to isolate patches, group minors by functional area, and separate every major version into its own individual PR/branch.
- **Automate plan scaffolding** by joining ecosystem-specific outdated captures (like `npm outdated --json`) with local inventory to quote exact version pairs.
- **Validate handover readiness** through a verification gate that ensures every batch includes specific commands for testing and rollback.

### How it works
1. Run the inventory command to generate a normalized table of every direct and indirect dependency, identifying duplicates and deprecated packages.
2. Capture current ecosystem facts using your package manager's native outdated command to a JSON file.
3. Generate the plan skeleton which joins the inventory with the capture, sorting updates into the four mandatory risk tiers.
4. Fill in the verification and rollback fields for each batch based on the repository's specific test suite.
5. Execute the verify command to ensure no major bumps are hidden in patch batches and that no placeholders remain before committing the plan to the repo.

### Frameworks & tools
The skill includes a Python helper script `depplan.py` and supports JavaScript (npm), Python (pip), Go (modules), and Rust (cargo). It integrates with native CLI tools like `npm outdated`, `pip list`, `go list`, and `cargo-outdated`.

### Why this beats prompting it yourself
Generic prompts often "hallucinate" version numbers or suggest "update all" strategies that lead to dependency hell. This skill enforces a strict data-join between your lockfile and the ecosystem's actual registry data, ensuring every version quoted is real and every major bump is isolated.

### Use cases
- Triage a massive backlog of outdated packages into a multi-day execution roadmap.
- Isolate a breaking major framework upgrade from routine security patches.
- Resolve lockfile churn where different developer machines are resolving different versions.
- Document the "why" behind specific version pins for future audits and team handovers.

### Known limitations
Requires ecosystem-specific tools like `cargo-outdated` to be installed for JSON capture. It does not perform the actual `npm install` or `pip install` commands; it only generates the plan.

## 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 Plan 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 update command like 'npm update'?

This skill transforms a disorganized list of outdated packages into a risk-stratified roadmap, separating simple patches from breaking major updates to prevent regression and "dependency hell."

### Which programming languages and AI agents are compatible with this skill?

The skill supports JavaScript (npm), Python (pip), Go (modules), and Rust (cargo), and it can be used by any AI agent capable of executing local Python scripts and CLI commands.

### Does the skill automatically modify my package.json or lockfiles?

No, the skill generates a structured execution plan with specific rollback commands; it does not modify your manifest files, ensuring you maintain full control over the final implementation.

### What exactly is included in the purchase of this skill?

You will receive the core logic for inventory normalization, the 'depplan.py' helper script, and pre-configured templates for generating the four-tier risk-batched plans.

### Are there any specific system requirements or external tools needed to run this?

The skill requires the native package manager for your language (e.g., npm or pip) and specific JSON-export tools like 'cargo-outdated' for Rust to ensure accurate data capture.

---

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.
