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 ndisisnd/cook --skill nodejsgit clone --depth 1 https://github.com/ndisisnd/cookWrote 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/ndisisnd/cook/nodejs)<a href="https://agentmods.dev/skills/ndisisnd/cook/nodejs"><img src="https://agentmods.dev/badge/skills/ndisisnd/cook/nodejs/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/ndisisnd/cook/nodejs"><img src="https://agentmods.dev/badge/skills/ndisisnd/cook/nodejs.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.00070 | $0.01613 |
| Opus 5.5 | $0.00028 | $0.00645 |
| Sonnet 5.5 | $0.00014 | $0.00323 |
| Haiku 4.5 | $0.00007 | $0.00161 |
Grade A, and why
nodejs 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.
How it starts
The opening of the file, as written. The whole thing — 78 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Node.js Standards
Target: Node.js 24 LTS. Node 26 becomes LTS on 2026-10-28; Node 20 reached end of life on 2026-04-30.
Default load: this file only. Pull refs/runtime-safety.md, refs/async-errors.md, refs/tooling.md, or refs/testing.md only when the task needs that depth.
Node.js owns runtime failure modes only: event loop, promise rejections, streams/backpressure, workers, signals, Buffer safety, installs, boot-time env. TypeScript → standards/typescript/; API, security, auth, performance, architecture, CI → standards/global/; persistence → standards/database/.
Priority: P0 — Runtime Safety
- Every promise is awaited, returned, or has an explicit rejection handler; no floating promises. Node exits on unhandled rejections by default, and unobserved rejections still make failures nondeterministic.
voidis allowed only for a documented fire-and-forget call that attaches.catch()or routes through a helper that centralizes rejection logging. Signal: a call returning a Promise on a statement line with noawait,return,.catch, or approved fire-and-forget helper. - Global
unhandledRejection/uncaughtExceptionhandlers are last-resort logging plus graceful exit, never primary control flow, and never resume normal operation afteruncaughtException. Catch errors where they occur. Signal: business logic such as retry, fallback, or response handling inside aprocess.on('uncaughtException')handler, or a handler that logs and keeps serving indefinitely. - Throws across callback, timer, and event boundaries are caught locally and converted to rejections or error events. Throws in
setTimeout,EventEmitter, or stream callbacks escape the original.catch(). - Handle
SIGTERMandSIGINTfor graceful shutdown: fail readiness or stop accepting connections, drain in-flight work up to a fixed deadline, close DB/Redis/pool resources, then exit before the orchestrator kills the process. Signal: no signal handler or shutdown timeout;process.exit()in a request handler. - Never block the event loop on the request path. No synchronous CPU work such as large
JSON.parse,crypto.pbkdf2Sync, compression, image transforms, and no sync fs such asreadFileSyncorexistsSyncin a hot handler; offload CPU work toworker_threadsor a queue, and use async APIs for I/O. - Respect stream backpressure. Prefer
stream.pipeline()orstream/promises.pipeline()for multi-stream flows so errors and cleanup propagate;.pipe()is acceptable only when error and cleanup paths are handled. Honourwrite()returningfalseand wait for'drain'. Signal:a.pipe(b)with no error handling, or.write()in a loop ignoring the return value. - Use
Buffer.allocfor buffers that may be read before full overwrite; useBuffer.allocUnsafeonly when every byte is overwritten before any read, response, log, persistence, crypto/compression input, or serialization. Unsafe buffers can leak prior heap contents. Signal:Buffer.allocUnsafeorallocUnsafeSlowflowing to an external sink without a complete overwrite first.
What ships with it
5 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.
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 · -12 lines · +5 tokens per session 019ae84d2501
- 3mo ago First seen · 90 lines · 65 tokens per session scan A 517690100fca
nodejs is a skill published in the GitHub repository ndisisnd/cook (2 stars, last pushed 1mo ago), licensed MIT. It adds 70 tokens to every session and 1,613 once invoked, about $0.0003 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.
nodejs compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| nodejsndisisnd/cook | Skill | 2 | 1mo ago | MIT | A | 70 | Claude Code, Codex |
| optimize-for-gpuK-Dense-AI/scientific-agent-skills | Skill | 59k | yesterday | MIT | A | 151 | Claude Code, Codex |
| pennylaneK-Dense-AI/scientific-agent-skills | Skill | 59k | yesterday | MIT | A | 74 | Claude Code |
| laravel-specialistJeffallan/claude-skills | Skill | 13k | today | MIT | A | 86 | Claude Code |
| kotlin-specialistJeffallan/claude-skills | Skill | 13k | today | MIT | A | 86 | Claude Code |
| ecto-patternsoliver-kriska/claude-elixir-phoenix | Skill | 579 | yesterday | MIT | A | 51 | Claude Code |
| documentoliver-kriska/claude-elixir-phoenix | Skill | 579 | yesterday | MIT | A | 48 | Claude Code |