js-deps

js-deps is a skill for Claude Code from WhatIfWeDigDeeper/agent-skills. It costs 112 tokens per session (2,931 once invoked), scanned B, original, MIT.

A workflow for fixing security problems and outdated packages in JavaScript projects. It covers npm, Yarn, pnpm, and Bun dependency files, including projects with multiple packages.

In plain words
What is it for?
Use it to patch reported vulnerabilities, upgrade selected packages, modernise dependencies, or update packages across a monorepo, which is a repository containing several related projects.
Why use it?
It helps address audit findings and old dependencies without manually checking every package or package directory.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions CLAUDE.md; mentions subagents; mentions Claude Code.

Good fit Use it to patch reported vulnerabilities, upgrade selected packages, modernise dependencies, or update packages across a monorepo, which is a repository containing several related projects.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/whatifwedigdeeper/agent-skills/js-deps
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 WhatIfWeDigDeeper/agent-skills --skill js-deps
Clone the repo
git clone --depth 1 https://github.com/WhatIfWeDigDeeper/agent-skills

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 js-deps

README.md
[![agentmods](https://agentmods.dev/badge/skills/whatifwedigdeeper/agent-skills/js-deps/github.svg)](https://agentmods.dev/skills/whatifwedigdeeper/agent-skills/js-deps)
Your own site
<a href="https://agentmods.dev/skills/whatifwedigdeeper/agent-skills/js-deps"><img src="https://agentmods.dev/badge/skills/whatifwedigdeeper/agent-skills/js-deps/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 js-deps

Your own site · 80×15
<a href="https://agentmods.dev/skills/whatifwedigdeeper/agent-skills/js-deps"><img src="https://agentmods.dev/badge/skills/whatifwedigdeeper/agent-skills/js-deps.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 112 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,931 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 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.00112 $0.02931
Opus 5.5 $0.00045 $0.01172
Sonnet 5.5 $0.00022 $0.00586
Haiku 4.5 $0.00011 $0.00293

Measured 2mo ago against content hash 16b51cabfebc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

js-deps scanned grade B 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 2mo 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.

Recursive force deletemediumDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf "$DIR/node_modules" "$DIR/package-lock.json"

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

skills/js-deps/SKILL.md · 182 lines

How it starts

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

JS Deps

Arguments

Specific package names (e.g. jest @types/jest), . for all packages, or glob patterns (e.g. @testing-library/*).

If $ARGUMENTS is help, --help, -h, or ?, skip the workflow and read references/interactive-help.md.

Workflow Selection

Based on user request:

If the user expresses version preferences (e.g., "only minor and patch", "skip major versions", "only critical CVEs"), apply the filters defined in references/interactive-help.md without requiring an explicit --help invocation.

Shared Process

1. Create Worktree

Create an isolated git worktree so the main working directory is never modified:

TIMESTAMP=$(date +%Y%m%d-%H%M%S)
BRANCH_NAME="js-deps-$TIMESTAMP"
# Prefer a sibling directory to the project root; fall back to $TMPDIR if that's not writable
WORKTREE_PATH="$(dirname "$(git rev-parse --show-toplevel)")/$BRANCH_NAME"
git worktree add "$WORKTREE_PATH" -b "$BRANCH_NAME" 2>/dev/null || {
  WORKTREE_PATH="${TMPDIR:-/private/tmp}/$BRANCH_NAME"
  git worktree add "$WORKTREE_PATH" -b "$BRANCH_NAME"
}

If both locations fail, the environment likely restricts all writes outside the project. In that case:

Grant write access to either the project's parent directory or $TMPDIR in your assistant's settings (in Claude Code: add the relevant path to your sandbox allowlist in settings.json) and retry.

All subsequent steps operate within $WORKTREE_PATH. Discovery, installs, edits, and commits all happen there. Paths like cd <directory> in reference files are relative to $WORKTREE_PATH.

Read the full file on GitHub · 182 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 · 182 lines · 112 tokens per session scan B 16b51cabfebc

Subscribe to this mod's changes

js-deps is a skill published in the GitHub repository WhatIfWeDigDeeper/agent-skills (2 stars, last pushed 19d ago), licensed MIT. It adds 112 tokens to every session and 2,931 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it B with 1 finding (recursive force delete). 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

exploratory-data-analysis

Performs bounded, local exploratory analysis of explicitly supported scientific files. Supports redacted CSV/TSV/JSON profiles; optional NumPy, HDF5, FASTA/FASTQ, and basic image metadata inspection; missingness/leakage audits; outlier and transformation sensitivity; and rigorous EDA report scaffolds. Other domain…

K-Dense-AI/scientific-agent-skills · 83 tokens

webhook-management

Configure and validate CCAM webhook targets across supported chat, incident, automation, and generic providers. Use when listing provider requirements, creating or updating a target, scoping it to alert rules, sending a test notification, reviewing delivery history, or deleting a target.

hoangsonww/Claude-Code-Agent-Monitor · 56 tokens

design-review

Review a web app or page for visual design quality — layout, typography, spacing, colour, hierarchy, consistency, interaction patterns, and responsive behaviour. Not a UX audit (that checks usability) — this checks whether it looks professional and polished. Produces a design findings report with screenshots.…

jezweb/claude-skills · 108 tokens

react-patterns

React 19 performance patterns and composition architecture for Vite + Cloudflare projects. 50+ rules ranked by impact — eliminating waterfalls, bundle optimisation, re-render prevention, composition over boolean props, server/client boundaries, and React 19 APIs. Use when writing, reviewing, or refactoring React…

jezweb/claude-skills · 110 tokens

gesellschaftsrechtliche-satzungen-agb

Für Gesellschaftsrechtliche Satzungen AGB Abgrenzung: ordnet Norm, Beweislast und Gegenargument; Ergebnis: Prüfprodukt mit Risiko und nächstem Schritt. Fachgebiet: AGB-Recht-Prüfer. Route: gesellschaftsrechtliche-satzungen-agb.

Klotzkette/claude-fuer-deutsches-recht · 69 tokens

render-3d-product-showcase

Assemble a premium 3D product-showcase ad from a config — four beat clips (an orbiting hero rotation, a macro push-in, a physics reveal, a typographic close) normalized to the chosen backdrop colour, hard-concatenated in order, closed on a deterministic Playwright brand end card, and mixed under one instrumental bed…

gooseworks-ai/goose-skills · 159 tokens