dependency-audit

dependency-audit is a skill for Claude Code, Codex from The-AI-Directory-Company/agents-and-skills. It costs 37 tokens per session (1,554 once invoked), scanned A, original, MIT.

A review of a project's software packages, including direct and indirectly installed dependencies. It checks for security vulnerabilities, license problems, old versions, and supply-chain risks.

In plain words
What is it for?
Use it to inventory package versions, assess production and development dependencies, and create a prioritized update and risk-mitigation report.
Why use it?
It shows which third-party packages could expose the project to attacks, licensing conflicts, or maintenance problems, and helps decide what to fix first.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to inventory package versions, assess production and development dependencies, and create a prioritized update and risk-mitigation report.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/the-ai-directory-company/agents-and-skills/dependency-audit
Install

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.

Any agent
npx skills add The-AI-Directory-Company/agents-and-skills --skill dependency-audit
Clone the repo
git clone --depth 1 https://github.com/The-AI-Directory-Company/agents-and-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for dependency-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/the-ai-directory-company/agents-and-skills/dependency-audit/github.svg)](https://agentmods.dev/skills/the-ai-directory-company/agents-and-skills/dependency-audit)
Your own site
<a href="https://agentmods.dev/skills/the-ai-directory-company/agents-and-skills/dependency-audit"><img src="https://agentmods.dev/badge/skills/the-ai-directory-company/agents-and-skills/dependency-audit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for dependency-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/the-ai-directory-company/agents-and-skills/dependency-audit"><img src="https://agentmods.dev/badge/skills/the-ai-directory-company/agents-and-skills/dependency-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,554 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What 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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00037 $0.01554
Opus 5 $0.00018 $0.00777
Sonnet 5 $0.00007 $0.00311
Haiku 4.5 $0.00004 $0.00155

Measured 9d ago against content hash 908c29faa785, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

dependency-audit scanned grade A with 1 finding 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 9d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/audit-npm.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Unrestricted tool accesslowExcessive agency

A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.

- **Install scripts**: Flag packages with `preinstall`/`postinstall` scripts that execute arbitrary code

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

skills/dependency-audit/SKILL.md · 122 lines

How it starts

The opening of the file, as written. The whole thing — 122 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Dependency Audit

Before you start

Gather the following from the user. If anything is missing, ask before proceeding:

  1. What is the project? — Repository path or URL
  2. What package manager? — npm, yarn, pnpm, pip, cargo, go modules, maven, etc.
  3. What environment? — Production app, internal tool, library published to a registry
  4. What is the license policy? — Allowed licenses (e.g., MIT, Apache-2.0) and banned licenses (e.g., GPL-3.0 for proprietary projects)
  5. What is the risk tolerance? — Zero critical vulns allowed, or acceptable thresholds per severity
  6. Is there a lockfile? — Presence and freshness of package-lock.json, yarn.lock, Cargo.lock, etc.

Audit procedure

1. Inventory Dependencies

Generate a complete dependency list with versions:

  • Direct dependencies: Listed in the manifest file (package.json, requirements.txt, Cargo.toml)
  • Transitive dependencies: Resolved from the lockfile — these are the majority of your attack surface
  • Dev-only dependencies: Separate from production deps — lower risk but still relevant for CI supply-chain attacks

Record total counts: direct, transitive, dev-only. Flag projects with more than 500 transitive dependencies as high-complexity.

2. Security Vulnerability Scan

Run the ecosystem's built-in audit tool:

  • npm/yarn/pnpm: npm audit, yarn audit, pnpm audit
  • pip: pip-audit or safety check
  • cargo: cargo audit
  • go: govulncheck ./...

For each vulnerability found, record: package name, installed version, severity (critical/high/medium/low), CVE ID, fixed version, and whether the vulnerable code path is reachable.

3. License Compliance Check

Extract the license for every dependency (direct and transitive):

  • Use license-checker (npm), pip-licenses (Python), cargo-license (Rust), or equivalent
  • Flag any dependency with: no declared license, a copyleft license in a proprietary project, a license not on the approved list
  • Check for license conflicts — e.g., combining LGPL and Apache-2.0 has specific requirements

Read the full file on GitHub · 122 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 9d ago First seen · 122 lines · 37 tokens per session scan A 908c29faa785

Subscribe to this mod's changes

dependency-audit is a skill published in the GitHub repository The-AI-Directory-Company/agents-and-skills (2 stars, last pushed 5mo ago), licensed MIT. It adds 37 tokens to every session and 1,554 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (unrestricted tool access). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

writing-workflow-skills

Use when adding a new workflow skill to pi-thinkrail-workflow, changing an existing workflow skill's role, trigger, handoff, or structure, or checking a workflow skill against the workflow system's rules. Not for authoring general-purpose skills outside this package.

JetBrains/thinkrail · 60 tokens

case-interview-practice

Interactive consulting case interview practice with structured frameworks, feedback mechanisms, and progressive difficulty. Use when preparing for management consulting interviews, case competitions, or business problem-solving exercises.

travisjneuman/.claude · 39 tokens

i18n-localization

Internationalization and localization for global applications. Use when adding multi-language support, handling regional formats, or preparing apps for global markets.

travisjneuman/.claude · 32 tokens

electron-desktop

Desktop application development with Electron for Windows, macOS, and Linux. Use when building cross-platform desktop apps, implementing native OS features, or packaging web apps for desktop.

travisjneuman/.claude · 38 tokens

finance

Financial analysis expertise for financial modeling (DCF, LBO, M&A), valuation, financial statement analysis, capital allocation, treasury management, and corporate finance decisions. Use when building financial models, analyzing statements, or making investment decisions.

travisjneuman/.claude · 48 tokens

investment-memo-generator

Investment memo creation combining financial analysis, document generation, and structured templates. Use when creating investment memos, pitch decks, deal summaries, or investment committee materials.

travisjneuman/.claude · 37 tokens