From dep-manager
Manages Python dependencies — add, remove, audit for vulnerabilities with pip-audit, and detect unused packages. Use when asked to "manage deps", "add dependency", "remove dependency", "audit dependencies", "find unused packages", "pip audit", "security audit deps", "check vulnerabilities", or "dependency management".
npx claudepluginhub shouenlee/ghcp-dev-plugin --plugin dep-managerThis skill uses the workspace's default tool permissions.
Manages Python project dependencies with support for adding, removing, auditing, and detecting unused packages across multiple package manager formats.
Audits project dependencies for bloat, unused packages, security risks, supply-chain issues, and upgrades by building import graphs and verifying call sites in npm, pip, Cargo, Go, Ruby projects.
Audits dependencies for vulnerabilities, outdated versions, transitive issues, and licenses in Node.js, Python, PHP, Ruby, Go, and Rust projects using npm audit, pip-audit, and equivalents.
Audits project dependencies for CVEs, outdated versions, incompatible licenses, and abandoned packages using npm audit, pip-audit, cargo audit, govulncheck, composer audit. Blocks releases on critical/high vulns.
Share bugs, ideas, or general feedback.
Manages Python project dependencies with support for adding, removing, auditing, and detecting unused packages across multiple package manager formats.
pyproject.toml, requirements.txt, Pipfile, or setup.py)pip-audit for vulnerability auditing (install with uv pip install pip-audit)/deps add <package> — Add a dependencypyproject.toml (uv/pip), requirements.txt, Pipfile, setup.py:
ls pyproject.toml requirements*.txt Pipfile setup.py 2>/dev/null
uv pip install <package>
or fall back to:
pip install <package>
pip-audit --require-hashes --no-deps -r <file>
python -c "import <package>"
/deps remove <package> — Remove a dependencyrequirements.txt, pyproject.toml, Pipfile, or setup.py.uv pip uninstall <package>
or fall back to:
pip uninstall <package>
grep -r "import <package>" --include="*.py" .
grep -r "from <package>" --include="*.py" .
/deps audit — Security auditpip-audit on the project dependencies:
pip-audit -r requirements.txt
or:
pip-audit
uv pip install pip-audit
safety check as a secondary scanner (if available):
safety check --full-report
uv pip install <package>==<fixed-version>
/deps unused — Find unused packagesgrep -r "import <package>" --include="*.py" .
grep -r "from <package>" --include="*.py" .
python-dateutil -> dateutil, Pillow -> PIL)| Problem | Cause | Solution |
|---|---|---|
| No dependency file found | Project not initialized | Run pip freeze > requirements.txt or create a pyproject.toml |
pip-audit not installed | Missing audit tool | Run uv pip install pip-audit or pip install pip-audit |
| Virtual environment not activated | System Python in use | Activate your venv with source .venv/bin/activate or create one with python -m venv .venv |
| Package name vs import name mismatch | Different PyPI name and import name | Manually verify the import name; common mappings are handled automatically |
| Permission denied during install | System Python or restricted env | Use a virtual environment or add --user flag |