deps-audit
Skill1 starsChanged 3 months agoApache-2.0View on GitHub
Produce a unified, prioritized report on project dependencies across three dimensions - security vulnerabilities, version freshness, and unused or missing packages - by orchestrating npm/yarn/pnpm audit, outdated, and depcheck into one triaged action list. Use when the user wants a dependency audit, asks if packages are outdated, wants to check for vulnerabilities, wants to find unused dependencies, or wants a dependency health report - this goes beyond automated security-only alerts like GitHub Dependabot by also covering freshness and utilization.
- Installs packages
4 other projects use a version of this.
Adopted by
Most recently taken up by
- helderberto/agent-skillstheir own version, first seen Oct 11, 2026
- optave/ops-codegraph-tooltheir own version, first seen Aug 19, 2026
- PatriotAgenticLLC/better_claude_skillztheir own version, first seen Jul 1, 2026
- vikisingh23/neuraforge-aitheir own version, first seen May 4, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- optave/ops-codegraph-tool★ 94same name
- helderberto/agent-skills★ 19same name
- vikisingh23/neuraforge-ai★ 4same name
- PatriotAgenticLLC/better_claude_skillz★ 3same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository24 other files it gives its agents.
- audit-fixSkill
- auditSkill
- commitSkill
- digestSkill
- flowchartSkill
- git-undoSkill
- handoffSkill
- hone-skillSkill
- kickoffSkill
- math-researchSkill
- new-skillSkill
- next-stepsSkill
- prompt-engineerSkill
- prune-test-suiteSkill
- release-notesSkill
- repo-adoptSkill
- repo-issue-scoutSkill
- resolve-tester-bugsSkill
- scaffold-auditSkill
- session-reportSkill
- sidebarSkill
- sync-profile-readmeSkill
- rename-to-match-folderSkill
- worktree-cleanupSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
Use the matching tool for all commands below.
- Distinctive: line 24
Run the audit command for the detected package manager:
- Distinctive: line 43
Run the outdated command:
- Very specific: line 112
Do NOT run npm install or any command that modifies package.json / lockfiles — only report and suggest commands
- Very specific: line 113
If depcheck is not available and the user wants it run, suggest the install command but don't install unilaterally
- Distinctive: line 114
Never mark a package as unused without checking import references — grep the source tree
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill: deps-audit
Audit the project's dependencies across three dimensions: security, freshness, and utilization. Produce a prioritized action list.
Step 0 — Detect package manager
Check for:
package-lock.json→ npmyarn.lock→ yarnpnpm-lock.yaml→ pnpmbun.lockb→ bun
Use the matching tool for all commands below. If multiple lockfiles exist, flag it and ask which to use.
Step 1 — Security
Run the audit command for the detected package manager:
- npm:
npm audit --json - yarn:
yarn audit --json - pnpm:
pnpm audit --json - bun:
bun audit(or fallback tonpm auditagainst the lockfile)
Parse results into:
- Critical / High: immediate fix candidates
- Moderate: next-sprint candidates
- Low: backlog
For each vulnerability, report:
- Package and version
- Severity and CVE / advisory ID
- Whether a fix is available (and what version to upgrade to)
- Whether it's a direct dependency or transitive
Step 2 — Freshness
Run the outdated command:
- npm:
npm outdated --json - yarn:
yarn outdated --json - pnpm:
pnpm outdated --format json
Classify each outdated package:
- Major behind: breaking changes — plan and test carefully
- Minor behind: new features, usually safe
- Patch behind: bug fixes, update liberally
Flag dependencies where:
- Multiple majors behind (likely upgrade-blocked by something)
- Peer-dependency conflicts would prevent a clean update
- Framework-critical packages (React, Next, TypeScript) are out of date
Step 3 — Utilization
Detect unused / unreferenced dependencies:
- Try
npx depcheck --json(works with any package manager) - Fall back to grep-based detection: for each
dependenciesentry inpackage.json, grep the source tree forrequire('pkg')orfrom 'pkg' - Exclude dev-only packages that wouldn't appear in source (eslint configs, type defs for runtime-only packages, build-time plugins listed elsewhere)
Report:
- Unused dependencies (candidates for removal)
- Potentially unused (used only in config files / scripts — verify before removing)
- Missing dependencies (imported but not declared — bugs waiting to happen)
Step 4 — Report
# Dependency Audit — [date]
## Security (X critical, Y high, Z moderate, W low)
| Package | Severity | Fix available | Action |
|---------|----------|---------------|--------|
| ... | ... | ... | ... |
## Freshness (A major, B minor, C patch behind)
| Package | Current → Latest | Type | Notes |
|---------|------------------|------|-------|
| ... | ... | ... | ... |
## Utilization
**Unused (remove candidates):**
- `pkg-name` — not referenced in source
**Missing (add candidates):**
- `pkg-name` — imported but not in package.json
## Prioritized Actions
### P0 — Do now
1. ...
### P1 — Next sprint
1. ...
### P2 — Backlog
1. ...
## Suggested Commands
```bash
# Example upgrade commands for the P0 / P1 items
npm install pkg@^5.0.0
npm uninstall unused-pkg
## Rules
- Do NOT run `npm install` or any command that modifies `package.json` / lockfiles — only report and suggest commands
- If `depcheck` is not available and the user wants it run, suggest the install command but don't install unilaterally
- Never mark a package as unused without checking import references — grep the source tree
- Respect monorepo structure: if the project has workspaces, audit each workspace separately or ask which to auditDoes it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

