dep-audit
Skill159 starsChanged 9 months agoMITView on GitHub
Cross-repository dependency audit. Scans package manifests for outdated packages, security advisories, version conflicts, and license issues. Produces a prioritized update plan. Supports Node.js, Python, Rust, and Go projects.
7 other projects use a version of this.
Adopted by
Most recently taken up by
- sd0xdev/sd0x-harnesstheir own version, first seen Sep 26, 2026
- koach08/claude-code-skillstheir own version, first seen Sep 12, 2026
- YuAICode/ai-skillstheir own version, first seen Jun 7, 2026
- torifo/skills-dep-audittheir own version, first seen May 18, 2026
- 0xjitsu/jitsu-skillstheir own version, first seen Apr 13, 2026
- justnau1020/claude-ostheir own version, first seen Mar 30, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- sd0xdev/sd0x-harness★ 191same name
- cacheforge-ai/cacheforge-skills★ 10same name
- koach08/claude-code-skills★ 4same name
- justnau1020/claude-os★ 3same name
- 0xjitsu/jitsu-skills★ 1same name
- YuAICode/ai-skills★ 1same name
- torifo/skills-dep-audit★ 0same 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 repository55 other files it gives its agents.
- ab-testing-frameworkSkill
- account-structure-reviewSkill
- aeo-geo-optimizerSkill
- brand-dnaSkill
- brand-voice-guidelinesSkill
- brazeSkill
- cold-email-outreachSkill
- competitor-ads-analystSkill
- content-creatorSkill
- content-pipelineSkill
- content-workflowSkill
- copywriting-frameworksSkill
- cro-auditorSkill
- cross-platform-auditSkill
- customer-journey-mappingSkill
- data-viz-deckSkill
- email-composerSkill
- facebook-adsSkill
- frontend-designSkill
- github-readmeSkill
- google-adsSkill
- google-analyticsSkill
- google-tag-managerSkill
- html-report-builderSkill
- icp-researchSkill
- klaviyo-analystSkill
- klaviyo-developerSkill
- landing-page-optimizerSkill
- linkedin-adsSkill
- llms-txtSkill
- looker-studioSkill
- market-researchSkill
- microsoft-adsSkill
- pricing-strategySkill
- pro-deck-builderSkill
- programmatic-seoSkill
- pro-report-builderSkill
- release-notesSkill
- remotion-videoSkill
- repo-healthSkill
- repo-scaffoldSkill
- research-digestSkill
- retention-churn-preventionSkill
- safe-pushSkill
- schema-markup-generatorSkill
- seo-content-writerSkill
- shopifySkill
- social-media-strategySkill
- social-previewSkill
- sync-reposSkill
- tech-diagramSkill
- technical-seo-auditSkill
- tiktok-adsSkill
- utm-attribution-strategySkill
- wasted-spend-finderSkill
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 9 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
9
Distinctive
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 29
Monthly hygiene: Run on a cadence to catch dependency drift before it compounds
- Distinctive: line 30
Before releases: Verify no known vulnerabilities ship to production
- Distinctive: line 31
Security incidents: When a CVE drops, quickly assess exposure across all repos
- Very specific: line 63
If multiple ecosystems are present (e.g., a monorepo with Node.js frontend and Go backend), audit each independently and merge results.
- Distinctive: line 67
Read the manifest to identify declared dependencies (direct) and the lock file for resolved versions (transitive).
- Distinctive: line 99
Run ecosystem-native audit tools:
- Distinctive: line 123
When auditing two or more repos, compare dependency versions:
- Distinctive: line 133
Check dependency licenses against compatibility rules:
- Very specific: line 169
All packages from the same org (e.g., @babel/*)
- Distinctive: line 198
Lock files are truth: Always read the lock file for actual resolved versions, not just the range specifier in the manifest.
- Distinctive: line 199
Don't chase latest for its own sake: If a dependency is working, stable, and has no advisories, "outdated" is not the same as "broken."
“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Dependency Audit
Cross-repository dependency audit. Scans package manifests (package.json, pyproject.toml, Cargo.toml, go.mod) for outdated packages, security advisories, version conflicts between repos, and license compatibility issues. Produces a prioritized update plan.
Install
git clone https://github.com/thatrebeccarae/claude-marketing.git && cp -r claude-marketing/skills/dep-audit ~/.claude/skills/When to Use
- Monthly hygiene: Run on a cadence to catch dependency drift before it compounds
- Before releases: Verify no known vulnerabilities ship to production
- Security incidents: When a CVE drops, quickly assess exposure across all repos
- Onboarding new repos: Baseline the dependency health of a repo you're inheriting or adopting
Usage
/dep-audit [repo-path]— audit a single repository/dep-audit [repo-path1] [repo-path2] ...— cross-repo audit (enables version conflict detection)
Procedure
1. Detect Package Managers
Scan the target repo(s) for manifest files:
| Manager | Manifest | Lock File |
| npm | package.json | package-lock.json |
| yarn | package.json | yarn.lock |
| pnpm | package.json | pnpm-lock.yaml |
| pip | requirements.txt, setup.py, setup.cfg | requirements.txt (pinned) |
| poetry | pyproject.toml (has [tool.poetry]) | poetry.lock |
| uv | pyproject.toml (has [tool.uv]) | uv.lock |
| cargo | Cargo.toml | Cargo.lock |
| go mod | go.mod | go.sum |
# Detect which manifests exist
ls package.json pyproject.toml Cargo.toml go.mod requirements.txt 2>/dev/null
# Detect lock files
ls package-lock.json yarn.lock pnpm-lock.yaml poetry.lock uv.lock Cargo.lock go.sum 2>/dev/nullIf multiple ecosystems are present (e.g., a monorepo with Node.js frontend and Go backend), audit each independently and merge results.
2. Parse Manifests and Lock Files
Read the manifest to identify declared dependencies (direct) and the lock file for resolved versions (transitive). Distinguish between:
- Production dependencies (
dependencies,[dependencies], main requires) - Development dependencies (
devDependencies,[dev-dependencies], extras)
3. Check for Outdated Packages
Query the registry for latest versions and categorize the delta:
# Node.js
npm outdated --json
# Python (pip)
pip list --outdated --format=json
# Python (poetry)
poetry show --outdated
# Rust
cargo outdated --format json # requires cargo-outdated
# Go
go list -m -u allCategorize each outdated package:
- Patch update (e.g., 2.3.1 -> 2.3.4): Safe, usually bug fixes
- Minor update (e.g., 2.3.1 -> 2.5.0): New features, should be backward-compatible
- Major update (e.g., 2.3.1 -> 3.0.0): Breaking changes likely, needs migration review
4. Check for Security Advisories
Run ecosystem-native audit tools:
# Node.js
npm audit --json
# Python
pip-audit --format=json # or: safety check
# Rust
cargo audit --json # requires cargo-audit
# Go
govulncheck ./...Parse severity from results:
- Critical: Remote code execution, authentication bypass, data exfiltration
- High: Privilege escalation, significant data exposure
- Medium: DoS potential, limited data exposure
- Low: Information disclosure, minor issues
5. Cross-Repo Analysis (Multiple Repos)
When auditing two or more repos, compare dependency versions:
- Version conflicts: Same package at different versions across repos (e.g.,
axios@0.27.2in repo A,axios@1.6.2in repo B) - Shared dependencies: Packages used by multiple repos that could be aligned to a single version
- Divergent major versions: Flag these as highest priority — they indicate repos drifting apart
Present a conflict table showing package, version per repo, and recommended target version.
6. License Scan
Check dependency licenses against compatibility rules:
# Node.js
npx license-checker --json
# Python
pip-licenses --format=json
# Rust
cargo license --json # requires cargo-license
# Go
go-licenses report ./... # requires go-licensesFlag issues:
- Copyleft in permissive projects: GPL/AGPL dependencies in MIT/Apache-licensed projects
- Unknown or missing licenses: Dependencies with no license metadata
- Non-OSI-approved licenses: Custom or restrictive licenses
- License conflicts: Incompatible license combinations (e.g., GPLv2-only with Apache-2.0)
7. Generate Update Plan
Prioritize all findings into a single ordered list:
- Critical security advisories — fix immediately
- High security advisories — fix this sprint
- License violations — assess and remediate
- Major outdated (with known issues) — plan migration
- Cross-repo version conflicts — align versions
- Minor outdated — batch update
- Patch outdated — batch update
Group related updates together:
- All
@types/*packages in one PR - All packages from the same org (e.g.,
@babel/*) - Peer dependency chains that must move together
Note breaking change risks for any major update. Link to migration guides where available.
8. Report
Produce a severity-coded summary table:
| Priority | Package | Current | Latest | Type | Severity | Repos Affected | Action |
| 1 | lodash | 4.17.19 | 4.17.21 | patch | CRITICAL (CVE-2021-23337) | repo-a, repo-b | Update immediately |
| 2 | express | 4.17.1 | 4.21.2 | minor | HIGH (CVE-2024-29041) | repo-a | Update this sprint |
| 3 | webpack | 4.46.0 | 5.94.0 | major | MEDIUM (outdated) | repo-a | Plan migration |
| ... |
Follow with:
- Total dependency count (direct / transitive) per repo
- Security summary: X critical, Y high, Z medium, W low
- Outdated summary: X major, Y minor, Z patch
- License summary: X flagged, Y clean
- Cross-repo conflicts: X packages with version divergence
Key Principles
- Never auto-update. This skill audits and recommends. The human decides what to update and when. Automated updates can introduce breaking changes, especially for major versions.
- Security first. Critical and high-severity vulnerabilities always top the priority list, regardless of how old other dependencies are.
- Group related updates. Updating
reactwithout updatingreact-domcreates version mismatches. Always identify peer dependency chains. - Context matters. A major version bump on a dev-only dependency (e.g.,
eslint) is lower risk than a patch on a production runtime dependency with a CVE. - Lock files are truth. Always read the lock file for actual resolved versions, not just the range specifier in the manifest.
- Don't chase latest for its own sake. If a dependency is working, stable, and has no advisories, "outdated" is not the same as "broken."
How to Use This Skill
Ask:
- "Audit the dependencies in ~/Repos/my-app"
- "Compare dependency versions across these three repos"
- "Are there any security vulnerabilities in this project?"
- "Check for license issues before we open-source this repo"
- "Build me an update plan for everything that's behind"
For command reference, license compatibility details, and false positive handling, see REFERENCE.md. For worked examples, see EXAMPLES.md.
Does 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.

