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.
npx skills add WrongStack/WrongStack --skill node-backendgit clone --depth 1 https://github.com/WrongStack/WrongStackWrote 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.
[](https://agentmods.dev/skills/wrongstack/wrongstack/node-backend)<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.
<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>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00082 | $0.02414 |
| Opus 5.5 | $0.00033 | $0.00966 |
| Sonnet 5.5 | $0.00016 | $0.00483 |
| Haiku 4.5 | $0.00008 | $0.00241 |
Grade A, and why
node-backend scanned grade A with 1 finding 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
2. Every outbound call has a deadline (`fetch(url, { signal: AbortSignal.timeout(ms) })` or client timeouts; undici's defaults are minutes long), and every response body is consumed or cancelled, or the socket stays chec How it starts
The opening of the file, as written. The whole thing — 116 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Node Backend
Selection card
- Task: Implement or repair Node HTTP endpoints, middleware and server lifecycle in the project's framework.
- Start: Read package.json (engines, scripts, framework version,
type), the lockfile, the server entrypoint and the route being changed. - Finish: typecheck, lint and tests pass, the built server starts, the changed route answers valid and invalid input correctly, and SIGTERM drains in-flight work.
Overview
Node services fail at their edges: unvalidated bodies, outbound calls without deadlines, keep-alive timeouts shorter than the load balancer's, and shutdowns that drop in-flight requests. Checked 2026-11-02: Hono 4.13.16, Fastify 5.12.8 and NestJS 12.3.2. Latest stable Node target is 26.13.0 (LTS 26.13.0); verify framework/plugins/adapter requirements together. Current Node can run TypeScript by stripping types, but only erasable syntax: enums, namespaces and parameter properties still need a build step.
Rules
- Validate every input with the framework's schema mechanism (Fastify JSON Schema or a type provider, Hono validator middleware, Nest
ValidationPipewithwhitelist: true, forbidNonWhitelisted: true) and serialize output through a response schema or DTO; never return ORM rows. - Every outbound call has a deadline (
fetch(url, { signal: AbortSignal.timeout(ms) })or client timeouts; undici's defaults are minutes long), and every response body is consumed or cancelled, or the socket stays checked out. - Shutdown order on SIGTERM: fail readiness, stop accepting (
server.close(),fastify.close(),app.close()), wait for in-flight requests with a deadline, stop consumers, then close DB and Redis. Nest lifecycle hooks only fire on signals afterapp.enableShutdownHooks(). - Set
server.keepAliveTimeoutabove the load balancer's idle timeout andheadersTimeoutabove that; otherwise the balancer reuses sockets Node already closed and returns intermittent 502s. - Keep the event loop free: no sync crypto, compression, fs or giant
JSON.parsein handlers, no unbounded regex on user input. Bound body size (FastifybodyLimitdefaults to 1 MiB; Express and Hono need explicit limits). - Per-request identity lives in the framework's request context (Fastify
request, Honoc.var, Nest guards or AsyncLocalStorage), never in module-level variables; authorize the object, not just the route. - No floating promises in handlers: await or explicitly track them. An unhandled rejection terminates the process by default.
- Keep the framework, module system (ESM or CJS) and package manager. A framework or Node major is its own change.
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.
- 1mo ago Changed · +46 lines · +30 tokens per session d0967d4b929d
- 1mo ago Changed · +10 lines 2aea9b5121c1
- 1mo ago Changed 7e891d0d7762
- 1mo ago First seen · 60 lines · 52 tokens per session scan A e8292ba99cd7
node-backend is a skill published in the GitHub repository WrongStack/WrongStack (448 stars, last pushed today), licensed MIT. It adds 82 tokens to every session and 2,414 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-10.
node-backend compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| node-backendWrongStack/WrongStack | Skill | 448 | today | MIT | A | 82 | Claude Code, Codex |
| latchkeyimbue-ai/latchkey | Skill | 134 | yesterday | MIT | A | 38 | Claude Code, Codex |
| api-baas-firebaseagents-inc/skills | Skill | 28 | 1mo ago | MIT | A | 34 | Claude Code, Codex |
| api-cms-payloadagents-inc/skills | Skill | 28 | 1mo ago | MIT | A | 42 | Claude Code, Codex |
| api-database-mysqlagents-inc/skills | Skill | 28 | 1mo ago | MIT | A | 31 | Claude Code, Codex |
| ai-orchestration-vercel-ai-sdkagents-inc/skills | Skill | 28 | 1mo ago | MIT | A | 38 | Claude Code, Codex |
| api-auth-clerkagents-inc/skills | Skill | 28 | 1mo ago | MIT | A | 29 | Claude Code, Codex |