claude-code-workflow: Skill for Claude Code

.claude/skills/ext-dep-audit/SKILL.md

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.

This is Caspian-Sun/claude-code-workflow's own configuration. It tells Claude Code how to work on claude-code-workflow itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-code-workflow configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Caspian-Sun/claude-code-workflow. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Caspian-Sun/claude-code-workflow/main/.claude/skills/ext-dep-audit/SKILL.md
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/github.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/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 ext-dep-audit

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 88
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.5 $0.00023 $0.00306
Sonnet 5.5 $0.00011 $0.00153
Haiku 4.5 $0.00006 $0.00076

Measured 2mo ago against content hash a10ce5ac3c89, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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. 2mo 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 1mo ago), licensed MIT. It adds 57 tokens to every session and 765 once invoked, about $0.0002 per session on Opus 5.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