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.5 $0.00036 $0.00366
Sonnet 5.5 $0.00018 $0.00183
Haiku 4.5 $0.00009 $0.00092

Measured 1mo ago against content hash af0a2ac9b87a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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 Versioning — MAJOR.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. 1mo 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 3mo ago), licensed MIT. It adds 91 tokens to every session and 915 once invoked, about $0.0004 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

skillpm

Install, list, update, scaffold, publish, and sync npm-distributed Agent Skills with skillpm. Use when managing skill dependencies, packaging skills for npm, or refreshing agent directories after dependency or local skill changes.

sbroenne/skillpm · 46 tokens

dss-query

Explain and compose vlt Dependency Selector Syntax (DSS) queries — CSS-selector-like strings for filtering packages in a dependency graph, including Socket-powered security auditing. Use when the user asks about DSS, vlt query, dependency selectors, wants to find/filter packages (e.g. "find outdated deps", "select all…

vltpkg/vltpkg · 107 tokens

github-packages-npm

Publish or consume scoped npm packages through GitHub Packages, configure registry authentication, and troubleshoot package access.

alivirgo/Major-AI-Skills · 26 tokens

vlt-registry-migration

Moves a JavaScript repository (single package or monorepo) onto a vlt.io registry. Routes installs through the account's npm mirror and private main registry, handles the lockfile, and sets up auth for npm, pnpm, yarn, bun, deno and the vlt CLI on laptops, CI, Vercel and coding-agent sandboxes. Use when the user wants…

vltpkg/vltpkg · 117 tokens

npm-search

Search npm packages, compare libraries, and check download stats via MCP. Use when evaluating or researching npm packages.

ofershap/mcp-server-npm · 25 tokens

ship-safe-baseline

Manage your security baseline — accept current findings as known debt, then only report new regressions on future scans. Use when the user wants to adopt security scanning incrementally or suppress existing findings.

asamassekou10/ship-safe · 43 tokens