node-backend

node-backend is a skill for Claude Code, Codex from WrongStack/WrongStack. It costs 52 tokens per session (646 once invoked), scanned A, original, MIT.

A guide for building and upgrading Node.js HTTP services, which are server programs that receive requests and return responses.

In plain words
What is it for?
It is for Hono, Fastify, NestJS, and similar Node servers, including endpoints, authentication, output validation, external calls, readiness, and graceful shutdown.
Why use it?
It helps prevent invalid input, accidental data exposure, unsafe resource use, confused request context, and incomplete startup or shutdown handling.

Skill for Claude CodeCodex

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

Good fit It is for Hono, Fastify, NestJS, and similar Node servers, including endpoints, authentication, output validation, external calls, readiness, and graceful shutdown.

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

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 node-backend

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/wrongstack/wrongstack/node-backend"><img src="https://agentmods.dev/badge/skills/wrongstack/wrongstack/node-backend.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 646 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.00052 $0.00646
Opus 5.5 $0.00021 $0.00258
Sonnet 5.5 $0.00010 $0.00129
Haiku 4.5 $0.00005 $0.00065

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

Security

Grade A, and why

node-backend 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 7d 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.

packages/core/skills/node-backend/SKILL.md · 60 lines

How it starts

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

Node Backend

Selection card

  • Task: Implement Node server endpoints and shutdown.
  • Start: Locate the endpoint, schema, authentication boundary and caller.
  • Finish: apply the acceptance checks below; report observed results and unresolved constraints.

Overview

Build and upgrade Node.js HTTP services with typed validation, lifecycle ownership and production behavior.

Checked 2026-10-09: Hono 4.13.13, Fastify 5.12.5 and NestJS 12.1.2. Latest stable Node target is 26.11.1; verify framework/plugins/adapter requirements together.

Rules

  1. Inspect framework lifecycle, plugin/dependency injection order and actual runtime adapter.
  2. Validate input and serialize public output at the route boundary; do not expose database rows or internal exceptions wholesale.
  3. Bound request bodies, external calls and expensive work according to application limits.
  4. Keep per-request auth/context isolated and authorize each operation/object.
  5. Make startup, readiness and graceful shutdown include owned pools/listeners/jobs.
  6. Verify framework error/cancellation semantics; returning an error-shaped object may still produce a success response.

Workflow

  1. Trace route → service → persistence/external operation and existing conventions.
  2. Resolve latest stable targets and supported plugins before migration.
  3. Implement the feature with explicit contracts and lifecycle cleanup.
  4. Test valid/invalid/unauthorized input, dependency failure and stop/restart.
  5. Run configured type/lint/tests and a production server health/user-path check.

Before returning

Route/auth/output contracts verified; startup/shutdown resources owned; framework compatibility and actual server behavior recorded.

Sources

Versioned facts checked 2026-10-09; refresh authoritative sources before new installs/upgrades. Hono, Fastify, NestJS.

Skills in scope

  • node-modern — node modern contracts and verification.
  • api-design — api design contracts and verification.
  • database-development — implement database access, models and queries with explicit consistency, transactions and bounded results.
  • authentication-sessions — implement application sign-in, sessions and identity integration with explicit account/tenant authorization.
  • queues-jobs — implement reliable asynchronous jobs and message consumers with explicit delivery, retry and shutdown semantics.

Read the full file on GitHub · 60 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. 7d ago Changed 7e891d0d7762
  2. 8d ago First seen · 60 lines · 52 tokens per session scan A e8292ba99cd7

Subscribe to this mod's changes

node-backend is a skill published in the GitHub repository WrongStack/WrongStack (380 stars, last pushed today), licensed MIT. It adds 52 tokens to every session and 646 once invoked, about $0.0002 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-10-10.