ext-dep-audit

ext-dep-audit is a skill for Claude Code from Caspian-Sun/claude-code-workflow. It costs 57 tokens per session (765 once invoked), scanned A, original, MIT.

A dependency health and security checker for a project's pnpm packages. Dependencies are external software libraries that the project relies on, and pnpm is a package manager.

In plain words
What is it for?
Use it to run security, outdated-package, dependency-tree, license, and Umi conflict checks, then review severity and suggested priorities for fixing findings.
Why use it?
It finds known security vulnerabilities, old or redundant packages, licensing concerns, and dependency conflicts before they cause maintenance or release problems.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths.

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.

agentmods
npx agentmods add skills/caspian-sun/claude-code-workflow/ext-dep-audit
Any agent
npx skills add Caspian-Sun/claude-code-workflow --skill ext-dep-audit
Clone the repo
git clone --depth 1 https://github.com/Caspian-Sun/claude-code-workflow

Made for: Claude Code.

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 ext-dep-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/caspian-sun/claude-code-workflow/ext-dep-audit.svg)](https://agentmods.dev/skills/caspian-sun/claude-code-workflow/ext-dep-audit)
Your own site
<a href="https://agentmods.dev/skills/caspian-sun/claude-code-workflow/ext-dep-audit"><img src="https://agentmods.dev/badge/skills/caspian-sun/claude-code-workflow/ext-dep-audit.svg" alt="Measured on agentmods" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 765 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00057 $0.00765
Opus 5 $0.00028 $0.00382
Sonnet 5 $0.00011 $0.00153
Haiku 4.5 $0.00006 $0.00076

Measured 6d ago against content hash a10ce5ac3c89, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

ext-dep-audit 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 6d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/check-outdated.sh, scripts/check-umi-conflict.sh, scripts/pnpm-audit.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.

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.

.claude/skills/ext-dep-audit/SKILL.md · 89 lines

How it starts

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

ext-dep-audit — Dependency Audit

You are now a dependency security and health audit expert. Perform a comprehensive checkup on workspace/package.json.

Execution Approach

Run scripts first to get deterministic results, then use AI for interpretation — do not have AI guess the output of pnpm audit.

Step 1: Security Vulnerability Scan

bash .claude/skills/ext-dep-audit/scripts/pnpm-audit.sh

The script outputs JSON. Classify by severity when interpreting:

Level Action
critical / high Must fix immediately; provide pnpm update <package>@<safe-version>
moderate Assess scope of impact; recommend a fix timeline
low Log it; address in the next iteration

Step 2: Umi Built-in Dependency Conflicts

bash .claude/skills/ext-dep-audit/scripts/check-umi-conflict.sh

The script cross-references references/umi-builtin-deps.md; any conflicting dependency is flagged 🔴.

Step 3: Outdated Dependency Check

bash .claude/skills/ext-dep-audit/scripts/check-outdated.sh

Compares current versions against the latest; flags anything behind by a major version.

Step 4: Dependency Tree Health (AI analysis)

After the scripts finish, AI reads workspace/package.json and additionally checks:

  1. Deprecated packages — look for the deprecated field
  2. Duplicate functionality — e.g. moment + dayjs, lodash + ramda, axios + umi-request
  3. Oversized packages — large packages where only a small part is used (e.g. full lodash instead of lodash/get)
  4. License risks — copyleft licenses like GPL / AGPL (important for commercial projects)
  5. Too many direct dependencies — more than 30 warrants review
  6. devDependencies misplaced in dependencies — e.g. @types/*, eslint, vitest

Output Format

🔴 Security vulnerabilities (must fix):
- [package@version] Vulnerability description (CVE-xxx)
  Fix: pnpm update <package>@<safe-version>

🟡 Health issues (recommended fixes):
- [package] Issue description
  Recommendation: Proposed solution

🔵 Optimization suggestions:
- [package] Suggestion description

📊 Summary:
  Direct dependencies: X
  Security vulnerabilities: X critical / X high / X moderate
  Outdated dependencies: X (major version behind)
  Redundant dependencies: X
  License risks: X

Read the full file on GitHub · 89 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. 6d ago First seen · 89 lines · 57 tokens per session scan A a10ce5ac3c89

Subscribe to this mod's changes

ext-dep-audit is a skill published in the GitHub repository Caspian-Sun/claude-code-workflow (10 stars, last pushed 5d ago), licensed MIT. It adds 57 tokens to every session and 765 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

password-spray-methodology

End-to-end password spray playbook. User enumeration, lockout detection, password pattern generation, spray execution across all protocols, error code differentials, and engagement discipline. Unifies M365/Entra, Okta, Exchange, Kerberos, SharePoint, XMLRPC, OIDC, and AD SMB/WinRM spraying into one methodology.

uphiago/recon-skills · 76 tokens

trellis-brainstorm

Guides collaborative requirements discovery before implementation. Creates task directory, seeds PRD, asks high-value questions one at a time, researches technical choices, and converges on MVP scope. Use when requirements are unclear, there are multiple valid approaches, or the user describes a new feature or complex…

mindfold-ai/Trellis · 65 tokens

vc-autopilot

Emit and validate the provisional goal block for Autopilot Mode. Owns the 9-field format and resume detection from a pasted goal block.

withkynam/vibecode-pro-max-kit · 34 tokens

vc-audit-vc

Audit agent harness health: Claude/Codex agent parity, skill registry consistency, README.md sync, and protocol file wiring. Use when agents, skills, README.md, or development-protocol files move, split, or drift.

withkynam/vibecode-pro-max-kit · 52 tokens

red-green-refactor

Guides the red-green-refactor TDD workflow: write a failing test first, implement the minimum code to make it pass, then refactor while keeping tests green. Use when a user asks to practice TDD, write tests first, follow red-green-refactor, do test-driven development, write failing tests before code, or phrases like…

rohitg00/skillkit · 90 tokens

skill-creator

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

proma-ai/Proma · 64 tokens