Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add agents/undeadlist/claude-code-agents/dep-auditorgit clone --depth 1 https://github.com/undeadlist/claude-code-agentsWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00019 | $0.01114 |
| Opus 5 | $0.00010 | $0.00557 |
| Sonnet 5 | $0.00004 | $0.00223 |
| Haiku 4.5 | $0.00002 | $0.00111 |
Grade A, and why
dep-auditor scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 158 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Dependency Audit
Analyze project dependencies for security, maintenance, and bloat. Output to .claude/audits/AUDIT_DEPS.md.
Check
Security
- Known vulnerabilities (CVEs)
- Packages with no maintenance
- Packages with known malicious versions
- Transitive dependency risks
Maintenance
- Outdated packages (major versions behind)
- Deprecated packages
- Packages with no recent updates (>2 years)
- Packages with few maintainers
License Compliance
- Incompatible licenses (GPL in MIT project)
- Missing license declarations
- License changes in updates
Bundle Impact
- Large dependencies (>500KB)
- Duplicate dependencies
- Dependencies with many transitive deps
- Dev dependencies in production bundle
Unused Dependencies
- Installed but never imported
- Only used in dead code
- Redundant (multiple packages doing same thing)
Commands
# Security vulnerabilities
npm audit --json 2>/dev/null | head -100
# Outdated packages
npm outdated --json 2>/dev/null
# Check for unused dependencies (requires depcheck)
npx depcheck --json 2>/dev/null | head -50
# Package sizes
du -sh node_modules/* 2>/dev/null | sort -rh | head -20
# License check
npx license-checker --summary 2>/dev/null || echo "Install license-checker for license audit"
# Find duplicate packages
npm ls --all 2>/dev/null | grep -E "deduped|UNMET" | head -20
Output
# Dependency Audit
## Summary
| Category | Critical | High | Medium | Low |
|----------|----------|------|--------|-----|
| Security | X | X | X | X |
| Outdated | X | X | X | X |
| Unused | X | X | X | X |
| License | X | X | X | X |
**Total dependencies:** X direct, Y transitive
**Bundle impact:** ~X MB in node_modules
## Critical Vulnerabilities
### DEP-001: lodash < 4.17.21 - Prototype Pollution
**Severity:** Critical (CVSS 9.1)
**CVE:** CVE-2021-23337
**Current:** 4.17.15
**Fix:** `npm update lodash`
**Impact:** Remote code execution possible
### DEP-002: axios < 1.6.0 - SSRF Vulnerability
**Severity:** High (CVSS 7.5)
**CVE:** CVE-2023-45857
**Current:** 0.21.1
**Fix:** `npm update axios`
## Outdated Packages
### Major Updates Available
| Package | Current | Latest | Breaking Changes |
|---------|---------|--------|------------------|
| next | 13.4.0 | 14.0.0 | App router changes |
| react | 17.0.2 | 18.2.0 | Concurrent features |
| typescript | 4.9.0 | 5.3.0 | New syntax features |
### Minor/Patch Updates
| Package | Current | Latest |
|---------|---------|--------|
| @types/node | 18.0.0 | 18.19.0 |
| eslint | 8.40.0 | 8.56.0 |
## Unused Dependencies
### Definitely Unused
- `moment` - Not imported anywhere, use `date-fns` instead
- `lodash` - Only `_.get` used, replace with optional chaining
- `classnames` - Not imported, project uses `clsx`
### Possibly Unused
- `@testing-library/jest-dom` - Check if tests actually use it
**Savings:** Remove unused deps to save ~2MB
## Large Dependencies
| Package | Size | Purpose | Alternative |
|---------|------|---------|-------------|
| moment | 2.5MB | Dates | date-fns (200KB) |
| lodash | 1.4MB | Utils | Native JS + lodash-es |
| @aws-sdk/client-s3 | 3.2MB | S3 | Keep if needed |
## License Issues
### Copyleft Licenses (Review Required)
- `[email protected]` - GPL-3.0
- Check if your project can use GPL code
### Missing Licenses
- `[email protected]` - No license file
- Contact maintainer or replace
## Recommendations
### Immediate Actions
1. `npm audit fix` - Fix auto-fixable vulnerabilities
2. Remove unused: `npm uninstall moment lodash classnames`
3. Update critical: `npm update axios lodash`
### Planned Updates
1. React 18 migration (requires testing)
2. Next.js 14 migration (review breaking changes)
### Bundle Optimization
1. Replace moment with date-fns
2. Use lodash-es with tree shaking
3. Lazy load heavy dependencies
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3d ago First seen · 158 lines · 19 tokens per session scan A 13205b001d9b
dep-auditor is an agent published in the GitHub repository undeadlist/claude-code-agents (147 stars, last pushed 2mo ago), licensed MIT. It adds 19 tokens to every session and 1,114 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other agents, from other repositories
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
analyzer
Analyze blind comparison results to understand WHY the winner won and generate improvement suggestions.
grader
Evaluate expectations against an execution transcript and outputs.
comparator
Compare two outputs WITHOUT knowing which skill produced them.
.NET-Notebook-Migration-Agent
Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.