# Dependency Doctor: Safe Upgrade Plan

> Lists your outdated and vulnerable dependencies with your project's own tools, rates the risk of each upgrade, and proposes a safe order: security fixes first, majors one at a time with tests.

Dependency Doctor: Safe Upgrade Plan is a free AI agent skill on Agensi by Upendra singh chauhan, in Testing & Debugging. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Upendra singh chauhan](https://www.agensi.io/creators/upendra-singh-chauhan)
- Category: [Testing & Debugging](https://www.agensi.io/skills/testing-debugging)
- Version: 1.0
- Last updated: 2026-11-25
- Security: scan passed (2026-11-25); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/dependency-doctor-safe-upgrade-plan
- Tags: testing, npm, pip, security, cargo, dependency-management

## About this skill

Dependency Doctor keeps your dependencies healthy without breaking your project.

It finds the package managers you use (npm, pnpm, yarn, pip, poetry, cargo, go and so on) and their lock files. Then it lists what is outdated and what has known vulnerabilities, using your project's own tools: npm outdated, npm audit, pip list --outdated, pip-audit, cargo outdated and the like. It asks before installing a tool.

For each upgrade it says how risky it is: patch or minor versus major, what the changelog says breaks, and where your project uses that package (it searches your imports).

It proposes an order:
1. security fixes first;
2. then safe patch and minor upgrades;
3. then majors, one at a time, each followed by your tests.

You get a table (package, current, latest, kind, risk, notes) and the plan. It does not change lock files or install anything unless you ask; when you do, it upgrades in small steps and runs the tests after each.

Part of the Pitcrew crew: a free, open-source pit wall for Claude Code (npx pitcrew-cli).

## Requires

- An AI agent that can run shell commands
- pitcrew-cli
- Node.js

It only reports and plans. It changes lock files or installs packages only when you ask, in small steps with your tests after each.

## Known limitations

Requires package manager CLI tools to be installed. Cannot resolve deep peer-dependency conflicts automatically. Assessment relies on grep and changelog availability.

## 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 Doctor: Safe Upgrade Plan skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does this skill determine the 'risk level' of a dependency upgrade?

It combines the kind of upgrade (patch, minor or major), what the changelog says breaks, and where your project imports that package, and rates each upgrade from that.

### Which programming languages and package managers are compatible with the Dependency Doctor?

The skill supports major ecosystems including Node.js (npm, pnpm, yarn), Python (pip, poetry), Rust (cargo), and Go, using their native auditing tools.

### Do I need to manually configure my project settings for the skill to work?

No complex configuration is needed; the skill automatically detects your lock files and project structure to start the audit process immediately upon activation.

### What technical environment requirements are necessary to run the audit?

The skill requires access to the project's native CLI tools (like npm or pip) to fetch registry data and grep to perform the code-level impact analysis.

### Does the skill automatically apply the updates and fix the code for me?

Not unless you ask. By default it only reports and plans. When you ask, it upgrades in small steps and runs your tests after each; fixing code that a major upgrade breaks stays with you or your agent.

### Is it free?

Yes. It is MIT-licensed and part of the open-source Pitcrew crew. You get the skill's instructions (SKILL.md) and its report template.

---

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.
