npm

npm is a command for Claude Code from theogravity/bun-elysiajs-starter-turbo-monorepo. It costs 0 tokens per session (304 once invoked), scanned A, original, MIT.

A command for looking up JavaScript packages on npm, the public registry commonly used to publish and install Node.js software. It retrieves package details such as version, license, links, dependencies, and downloads.

In plain words
What is it for?
Use it when checking an npm package before adding it to a project or reviewing its maintenance and dependency details.
Why use it?
It gathers package information in one place instead of requiring manual registry searches. It also clearly reports when a package cannot be found.

Command for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it when checking an npm package before adding it to a project or reviewing its maintenance and dependency details.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/theogravity/bun-elysiajs-starter-turbo-monorepo/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.

Clone the repo
git clone --depth 1 https://github.com/theogravity/bun-elysiajs-starter-turbo-monorepo

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 npm

README.md
[![agentmods](https://agentmods.dev/badge/commands/theogravity/bun-elysiajs-starter-turbo-monorepo/npm/github.svg)](https://agentmods.dev/commands/theogravity/bun-elysiajs-starter-turbo-monorepo/npm)
Your own site
<a href="https://agentmods.dev/commands/theogravity/bun-elysiajs-starter-turbo-monorepo/npm"><img src="https://agentmods.dev/badge/commands/theogravity/bun-elysiajs-starter-turbo-monorepo/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

Your own site · 80×15
<a href="https://agentmods.dev/commands/theogravity/bun-elysiajs-starter-turbo-monorepo/npm"><img src="https://agentmods.dev/badge/commands/theogravity/bun-elysiajs-starter-turbo-monorepo/npm.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 304 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.00000 $0.00304
Opus 5 $0.00000 $0.00152
Sonnet 5 $0.00000 $0.00061
Haiku 4.5 $0.00000 $0.00030

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

Security

Grade A, and why

npm 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 12d 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.

.claude/commands/npm.md · 47 lines

What it actually says

npm Package Lookup

Query npmjs.com for package information.

Usage

/npm <package-name>

Instructions

When the user invokes this skill with a package name, fetch information about that npm package from the npm registry.

  1. Use WebFetch to query the npm registry API at https://registry.npmjs.org/<package-name>

  2. Extract and present the following information in a clear format:

    • Package name and description
    • Latest version
    • License
    • Homepage and repository URLs
    • Weekly downloads (if available, fetch from https://api.npmjs.org/downloads/point/last-week/<package-name>)
    • Dependencies (list the main dependencies)
    • Keywords
    • Author/Maintainers
  3. If the package is not found, inform the user clearly.

  4. If the user provides additional context (like "show me all versions" or "what are the peer dependencies"), adjust the output accordingly.

Example Output

## lodash

**Description:** Lodash modular utilities.
**Latest Version:** 4.17.21
**License:** MIT
**Homepage:** https://lodash.com/
**Repository:** https://github.com/lodash/lodash

**Weekly Downloads:** 45,000,000+

**Keywords:** modules, stdlib, util

**Author:** John-David Dalton
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. 12d ago First seen · 47 lines · 0 tokens per session scan A cac07f5ece76

Subscribe to this mod's changes

npm is a command published in the GitHub repository theogravity/bun-elysiajs-starter-turbo-monorepo (2 stars, last pushed 15d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 304 tokens. 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.