nodejs-runtime

nodejs-runtime is a skill for Claude Code from desirecore/market. It costs 230 tokens per session (3,206 once invoked), scanned D, original, MIT.

A setup and troubleshooting guide for Node.js, the software that runs JavaScript outside a web browser, and its package managers such as npm, pnpm, and yarn.

In plain words
What is it for?
Use it to install or upgrade Node.js, switch between versions, manage npm, pnpm, or yarn, and fix common runtime issues.
Why use it?
It helps resolve missing commands, version conflicts, permission errors, package-manager setup, and native build problems.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Good fit Use it to install or upgrade Node.js, switch between versions, manage npm, pnpm, or yarn, and fix common runtime issues.

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

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 nodejs-runtime

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/desirecore/market/nodejs-runtime"><img src="https://agentmods.dev/badge/skills/desirecore/market/nodejs-runtime.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 230 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,206 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 3 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.00230 $0.03206
Opus 5.5 $0.00092 $0.01282
Sonnet 5.5 $0.00046 $0.00641
Haiku 4.5 $0.00023 $0.00321

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

Security

Grade D, and why

nodejs-runtime scanned grade D with 3 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.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/probe-node.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

| Debian/Ubuntu | NodeSource: `curl -fsSL https://deb.nodesource.com/setup_22.x \| sudo -E bash - && sudo apt install nodejs` |

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

| Fedora/RHEL | `curl -fsSL https://rpm.nodesource.com/setup_22.x \| sudo bash - && sudo dnf install nodejs` |

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -sk "${BASE}/node/available"
skills/nodejs-runtime/SKILL.md · 226 lines

How it starts

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

nodejs-runtime Skill

L0: One-line Summary

When to use: the user needs to install Node.js / upgrade Node / switch Node multi-version / install or configure npm / pnpm / yarn / troubleshoot node: command not found, npm: command not found, EACCES global install permission errors, node-gyp build failures, registry mirror / proxy issues, or other Node.js runtime problems, or when other skills (pptx using pptxgenjs, etc.) report "Node.js unavailable".

How: first check whether node already works: DesireCore appends a managed Node directory to its service PATH, so nothing usually needs installing. To install or switch versions, prefer the DesireCore built-in Volta and follow a four-tier fallback (HTTP API → Volta CLI → system package manager brew/apt/NodeSource/winget → community options nvm/fnm).

L1: Overview and Use Cases

Capability Description

Procedural skill. Before each Node.js environment operation, run scripts/probe-node.sh to obtain a JSON snapshot, then choose a path according to the four-tier fallback in ../dev-environment-setup/references/decision-tree.md.

Use Cases

  • "node not found" / "npm not found"
  • The user requests to install/upgrade Node.js
  • Multi-version switching (based on package.json#volta or .nvmrc)
  • Install/manage pnpm / yarn / npm
  • "EACCES: permission denied" (npm global install permission error)
  • Configure registry / proxy
  • Other skills (pptx, etc.) report Node.js unavailable

Core Value

  • DesireCore first: Volta + HTTP API as L1/L2, avoiding pollution of the system Node
  • JSON-driven decisions: the probe script outputs structured data that Claude can parse directly
  • package.json#volta compatible: volta run uses the versions the project pins

L2: Detailed Specification

Step 1: Environment Probe (mandatory)

bash skills/nodejs-runtime/scripts/probe-node.sh > /tmp/node-probe.json
cat /tmp/node-probe.json | jq .

See ../dev-environment-setup/references/probe-snapshot.md for field definitions.

Read the full file on GitHub · 226 lines

Files

What ships with it

7 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. 1mo ago Changed · +9 lines cce47df2f223
  2. 2mo ago Changed · +1 lines eb2e11cc9a27
  3. 3mo ago First seen · 216 lines · 230 tokens per session scan D 7c71b82b7f5f

Subscribe to this mod's changes

nodejs-runtime is a skill published in the GitHub repository desirecore/market (2 stars, last pushed today), licensed MIT. It adds 230 tokens to every session and 3,206 once invoked, about $0.0009 per session on Opus 5.5. A static security scan graded it D with 3 findings (asks for root, downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

nodejs-runtime compared with skills from other repositories

nodejs-runtime next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nodejs-runtimedesirecore/marketSkill2todayMITD230Claude Code
upgrade-packages-jsgeorgekhananaev/claude-skills-vaultSkill329d agoMITC38Claude Code
psl-ast-layersprisma/ormSkill48ktodayApache-2.0A78Claude Code, Codex
ast-visitor-patternprisma/ormSkill48ktodayApache-2.0A65Claude Code, Codex
no-bare-castsprisma/ormSkill48ktodayApache-2.0A52Claude Code, Codex
bumping-biomeprisma/ormSkill48ktodayApache-2.0A96Claude Code, Codex
nestjsericrisco/rsc-harnessSkill6916d agoMITA81Claude Code, Codex