JavaScript Dependency Hygiene

JavaScript Dependency Hygiene is a skill for Claude Code, Codex from niels-emmer/myace. It costs 24 tokens per session (360 once invoked), scanned A, original, MIT.

A checklist for managing JavaScript package dependencies, including lockfiles, install scripts, version ranges, audits, publishing, and automation tokens.

In plain words
What is it for?
Use it when adding or upgrading packages, changing continuous-integration installs, auditing dependencies, or publishing a package.
Why use it?
It reduces the risk that a compromised, unnecessary, or poorly controlled dependency enters a project or published package.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for aider. Also seen: mentions Codex; built for aider; mentions OpenCode.

Good fit Use it when adding or upgrading packages, changing continuous-integration installs, auditing dependencies, or publishing a package.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/niels-emmer/myace/javascript-dependency-hygiene
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 niels-emmer/myace --skill javascript-dependency-hygiene
Clone the repo
git clone --depth 1 https://github.com/niels-emmer/myace

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 JavaScript Dependency Hygiene

README.md
[![agentmods](https://agentmods.dev/badge/skills/niels-emmer/myace/javascript-dependency-hygiene/github.svg)](https://agentmods.dev/skills/niels-emmer/myace/javascript-dependency-hygiene)
Your own site
<a href="https://agentmods.dev/skills/niels-emmer/myace/javascript-dependency-hygiene"><img src="https://agentmods.dev/badge/skills/niels-emmer/myace/javascript-dependency-hygiene/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 JavaScript Dependency Hygiene

Your own site · 80×15
<a href="https://agentmods.dev/skills/niels-emmer/myace/javascript-dependency-hygiene"><img src="https://agentmods.dev/badge/skills/niels-emmer/myace/javascript-dependency-hygiene.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 360 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.
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.00024 $0.00360
Opus 5.5 $0.00010 $0.00144
Sonnet 5.5 $0.00005 $0.00072
Haiku 4.5 $0.00002 $0.00036

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

Security

Grade A, and why

JavaScript Dependency Hygiene 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 yesterday.

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.

collections/additional/typescript-node/skills/javascript-dependency-hygiene/SKILL.md · 30 lines

What it actually says

Purpose

Reduce the chance that a compromised or careless dependency reaches production or your published package.

When to use it

When adding or upgrading a dependency, changing CI install steps, or publishing a package.

Checklist

  • Lockfile: committed; CI installs with npm ci and fails if package.json and the lockfile disagree.
  • Adding: check the package is needed, maintained, and not a near-duplicate of one already present; look at its install scripts and its own dependency count.
  • Scripts: run installs with lifecycle scripts disabled where the project allows it, and allow-list the few packages that need them.
  • Ranges: pin exact versions for applications; libraries use ranges consumers can satisfy.
  • Audit: run the audit command in CI and triage findings rather than ignoring them; verify registry signatures and provenance where supported.
  • Publishing: publish from CI using trusted publishing (OIDC) or provenance rather than a long-lived token, protect the publishing job with required approval, and keep the package's files list minimal.
  • Tokens: any remaining automation token is scoped, short-lived and not readable by pull-request workflows.

Expected output

A dependency set that is intentional, reproducible and published without long-lived credentials.

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. yesterday First seen · 30 lines · 24 tokens per session scan A 2c752477aa30

Subscribe to this mod's changes

JavaScript Dependency Hygiene is a skill published in the GitHub repository niels-emmer/myace (1 stars, last pushed 2d ago), licensed MIT. It adds 24 tokens to every session and 360 once invoked, about $0.0001 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-11-29.

Related

JavaScript Dependency Hygiene compared with skills from other repositories

JavaScript Dependency Hygiene next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
JavaScript Dependency Hygieneniels-emmer/myaceSkill12d agoMITA24Claude Code, Codex
loom-ci-cdcosmix/loomSkill66todayMITB30Claude Code
keelbroomva/skillsSkill7todayMITA280Claude Code
idiomatic-goTypeFox/agent-skillsSkill51mo agoMITA137Claude Code
eclipse-license-checkTypeFox/agent-skillsSkill51mo agoMITA110Claude Code
go-documentationTypeFox/agent-skillsSkill51mo agoMITA98Claude Code
publish-vscode-extensionTypeFox/agent-skillsSkill51mo agoMITA107Claude Code