deps-analyzer
⚠Review·Scanned 2/18/2026
This CLI audits a project's package.json for unused and outdated dependencies and can auto-remove them via npx ai-deps. It executes shell commands such as npm uninstall, sends dependency data to OpenAI via openai.chat.completions.create, and requires the OPENAI_API_KEY env var.
from clawhub.ai·v6ab5f19·97.6 KB·0 installs
Scanned from 1.0.2 at 6ab5f19 · Transparency log ↗
$ vett add clawhub.ai/lxgicstudios/deps-analyzerReview findings below
ai-deps
Your package.json is probably a mess. This tool finds unused dependencies, flags outdated ones, and tells you what to do about it.
Install
npm install -g ai-deps
Usage
# Audit current project
npx ai-deps
# Auto-fix (removes unused deps)
npx ai-deps --fix
# Check a specific directory
npx ai-deps --dir ./my-project
What it does
- Runs depcheck to find unused dependencies
- Checks for outdated packages
- Asks OpenAI to analyze the results and give you actionable advice
- Optionally removes unused deps for you
Requirements
Set your OPENAI_API_KEY environment variable.
export OPENAI_API_KEY=sk-...
License
MIT