npm-docs

npm-docs is a skill for Claude Code, Codex from pledgeandgrow/pledge-skills. It costs 91 tokens per session (915 once invoked), scanned A, original, MIT.

A guide to npm, the package manager and online registry commonly used for Node.js and JavaScript projects. It covers installing, configuring, publishing, and securing packages.

In plain words
What is it for?
Use it for npm commands, package.json files, version ranges, workspaces, package publishing, access settings, audits, and CI/CD setup.
Why use it?
It helps developers manage the external code their projects depend on and understand how packages are shared, updated, and published.

Skill for Claude CodeCodex

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

Good fit Use it for npm commands, package.json files, version ranges, workspaces, package publishing, access settings, audits, and CI/CD setup.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pledgeandgrow/pledge-skills/npm
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 pledgeandgrow/pledge-skills --skill npm
Clone the repo
git clone --depth 1 https://github.com/pledgeandgrow/pledge-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 npm-docs

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/pledgeandgrow/pledge-skills/npm"><img src="https://agentmods.dev/badge/skills/pledgeandgrow/pledge-skills/npm.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 915 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.00091 $0.00915
Opus 5 $0.00046 $0.00458
Sonnet 5 $0.00018 $0.00183
Haiku 4.5 $0.00009 $0.00092

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

Security

Grade A, and why

npm-docs 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 10d 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.

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.

skills/npm/SKILL.md · 101 lines

How it starts

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

npm Documentation

Quick Reference

Topic File Description
About npm about-npm.md npm overview, registry, packages, modules, scopes, public/private packages
Getting Started getting-started.md User accounts, 2FA, profile, billing, local env setup, installing Node.js & npm
package.json package-json.md package.json fields, dependencies, semver, README, Node.js modules
Publishing publishing.md Creating & publishing unscoped/scoped/private/org packages, dist-tags
Managing Packages managing-packages.md Updating, deprecating, transferring, unpublishing, visibility, collaborators
Installing Packages installing-packages.md Searching, downloading locally/globally, updating, uninstalling, EACCES
Security security.md Audit, provenance, OIDC, staged publishing, signatures, 2FA, malware
Integrations integrations.md External services, access tokens, CI/CD, Docker
Organizations organizations.md Creating/managing orgs, billing, members, teams, org packages
CLI Commands cli-commands.md All npm CLI commands reference (v12)
Configuring npm configuring-npm.md .npmrc, package.json, package-lock.json, folders, install
Using npm using-npm.md Registry, package spec, config, logging, scope, scripts, workspaces
Troubleshooting troubleshooting.md Common errors, debug logs, version issues
Policies policies.md Terms, conduct, disputes, license, privacy, unpublish, DMCA, security

Core Concepts

  • npm — Node Package Manager; package registry, CLI, and website
  • Package — A file/directory described by package.json
  • Module — Any file/directory in node_modules loadable via require() or import
  • Scope — A namespace for packages (e.g., @myorg/mypackage)
  • Semantic VersioningMAJOR.MINOR.PATCH versioning scheme
  • Registry — The public npm registry at https://registry.npmjs.org
  • Organization — A group for coordinating package maintenance and collaboration
  • Access Token — Authentication token for CLI/API access
  • Workspaces — Monorepo support for managing multiple packages

Read the full file on GitHub · 101 lines

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. 10d ago First seen · 101 lines · 91 tokens per session scan A af0a2ac9b87a

Subscribe to this mod's changes

npm-docs is a skill published in the GitHub repository pledgeandgrow/pledge-skills (10 stars, last pushed 1mo ago), licensed MIT. It adds 91 tokens to every session and 915 once invoked, about $0.0005 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.