nodejs-expert

nodejs-expert is a skill for Claude Code from ne11nn/cantos-plugin. It costs 92 tokens per session (540 once invoked), scanned A, original, MIT.

A reference guide for writing and debugging Node.js applications, including servers built with Express, NestJS, or Fastify.

In plain words
What is it for?
Use it when choosing Node.js libraries or fixing async code, HTTP middleware, package configuration, database tools, validation, authentication, and stream-related problems.
Why use it?
It highlights common mistakes such as asynchronous loops that finish too early, missing Express error handlers, and uncaught promise failures.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the cantos plugin — 25 skills, 2 commands, 11 agents, 2 hooks shipped together

Good fit Use it when choosing Node.js libraries or fixing async code, HTTP middleware, package configuration, database tools, validation, authentication, and stream-related problems.

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

Made for: Claude Code.

Or install cantos, the plugin that ships this one along with the rest of its 25 skills, 2 commands, 11 agents, 2 hooks.

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-expert

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ne11nn/cantos-plugin/nodejs-expert"><img src="https://agentmods.dev/badge/skills/ne11nn/cantos-plugin/nodejs-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 540 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.00092 $0.00540
Opus 5.5 $0.00037 $0.00216
Sonnet 5.5 $0.00018 $0.00108
Haiku 4.5 $0.00009 $0.00054

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

Security

Grade A, and why

nodejs-expert 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/nodejs-expert/SKILL.md · 33 lines

What it actually says

Node.js Expert — Gotchas & Decisions

If the Context7 MCP server is connected, use it to pull current Express/NestJS/Fastify docs. It is an optional external MCP, not shipped or assumed present — if it is not connected, fall back to WebFetch/WebSearch or the official docs.

Key Decisions

decisions[4]{choice,use_when}:
  Express vs NestJS vs Fastify,"Express: simple APIs. NestJS: enterprise/DI/decorators. Fastify: high perf"
  Prisma vs TypeORM vs Drizzle,"Prisma: best DX/types. TypeORM: Active Record pattern. Drizzle: SQL-like + lightweight"
  Zod vs Joi vs class-validator,"Zod: TS-first inference. Joi: runtime schemas. class-validator: NestJS decorators"
  JWT vs session,"JWT: stateless/microservices. Session: monolith/server-rendered"

Gotchas

  • forEach + async: does NOT await. Use for...of or Promise.all(items.map(async ...))
  • Express error handler: MUST have 4 params (err, req, res, next) — even if unused, or Express ignores it
  • Unhandled promise rejection crashes Node 15+ — always catch or use process.on('unhandledRejection')
  • asyncHandler wrapper: wrap Express route handlers to catch async errors → next(err)
  • req.body is undefined without express.json() middleware — common setup miss
  • process.env.PORT is string — parse with parseInt() or Number() before comparison
  • NestJS: @Injectable() with @Module({ providers: [...] }) — forgetting module registration = runtime error
  • Stream backpressure: always handle drain event on writable streams for large data
  • __dirname not available in ESM — use import.meta.dirname (Node 21+) or fileURLToPath(import.meta.url)
Files

What ships with it

1 file 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 First seen · 33 lines · 92 tokens per session scan A af2c92ff04f8

Subscribe to this mod's changes

nodejs-expert is a skill published in the GitHub repository ne11nn/cantos-plugin (1 stars, last pushed yesterday), licensed MIT. It adds 92 tokens to every session and 540 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

nodejs-core

Debugs native module crashes, optimizes V8 performance, configures node-gyp builds, writes N-API/node-addon-api bindings, and diagnoses libuv event loop issues in Node.js. Use when working with C++ addons, native modules, binding.gyp, node-gyp errors, segfaults, memory leaks in native code, V8…

ushibo/brigade · 108 tokens

claudehut-workflow

Use when a Java/Spring change needs a planned multi-step task - deciding between the direct, light and full routes, opening, resuming or closing a ClaudeHut task, or checking which phase skill comes next. Re-anchor mid-session with /claudehut:claudehut-workflow.

taipt1504/claudehut · 66 tokens

dev-team-node

Coordinates Node.js/TypeScript development (Next.js, NestJS, Vite, Express) with a team of specialized agents and inline quality gates. Use for multi-step Node.js tasks that need decomposition and multi-agent coordination.

biggora/dev-team · 49 tokens

dev-team-python

Coordinates Python development (Django, Flask, FastAPI) with a team of specialized agents and inline quality gates. Use for multi-step Python tasks that need decomposition and multi-agent coordination.

biggora/dev-team · 41 tokens

node-backend

Node.js backend development patterns for Express, NestJS, Fastify, and Hono. Use when implementing APIs, authentication, middleware, services, and server-side logic with Node.js and TypeScript. Provides project structure, code patterns, and best practices.

shahtuyakov/claude-setup · 55 tokens

nest-best-practices

NestJS framework best practices and production patterns. Use whenever working with NestJS — creating modules, controllers, services, DTOs, guards, interceptors, pipes, middleware, or building REST/GraphQL/microservice APIs. Also use when setting up authentication, authorization, validation, queues, health checks…

biggora/dev-team · 129 tokens