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 AmariahAK/atlarix-skills --skill debug-nodejsgit clone --depth 1 https://github.com/AmariahAK/atlarix-skillsWrote 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/amariahak/atlarix-skills/debug-nodejs)<a href="https://agentmods.dev/skills/amariahak/atlarix-skills/debug-nodejs"><img src="https://agentmods.dev/badge/skills/amariahak/atlarix-skills/debug-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/amariahak/atlarix-skills/debug-nodejs"><img src="https://agentmods.dev/badge/skills/amariahak/atlarix-skills/debug-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.00004 | $0.00834 |
| Opus 5.5 | $0.00002 | $0.00334 |
| Sonnet 5.5 | $0.00001 | $0.00167 |
| Haiku 4.5 | $0.00000 | $0.00083 |
Grade A, and why
Node.js Debugger 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 — 116 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Node.js Debugger (Node + Bun)
When to use this skill
Use this skill when debugging runtime failures in Node.js or Bun: stack traces, async errors, startup crashes, port conflicts, and memory leaks.
Core patterns
Reading stack traces (find the first app frame)
Rule: the top frames are often internal wrappers. Find the first frame in your project path.
Checklist:
- identify the thrown error type/message
- find the earliest application frame
- trace inputs to that frame (request payload, file path, env var)
Unhandled promise rejections
Common causes:
- forgetting
await Promise.allwhere one rejects and the rejection isn’t handled upstream
Fix patterns:
- always
awaitasync calls in request handlers - add top-level
process.on("unhandledRejection")logging in services (carefully)
Async error propagation
Prefer explicit boundaries:
- validate input early
- catch and wrap errors at module boundaries (DB, HTTP, FS)
Common error codes
ENOENT: missing file → check path + cwd + packagingEADDRINUSE: port in use → pick a new port or kill existing processECONNREFUSED: service not reachable → check host/port, local service runningMODULE_NOT_FOUND: missing dependency/build output → reinstall or rebuild
Memory leak patterns
Frequent culprits:
- event listener leaks (never removed)
- global caches that grow unbounded
- retaining large objects in closures
Fix patterns:
- add caps/TTL to caches
- remove listeners on teardown
- avoid caching per-request data globally
Debugger usage (--inspect)
When reproduction is hard, use a debugger:
- start with
--inspector--inspect-brk - set breakpoints at boundary code
- inspect inputs and invariants
Structured logging over console spam
Prefer:
- consistent log keys
- request IDs / correlation IDs
- log errors with context
Example (structured):
logger.error("db.connect_failed", { host, port, cause: String(err) });
Reproduction discipline
Before changing code:
- reduce to the smallest failing command
- capture exact inputs (env vars, args, payload)
- confirm the failure is still present after restarting the process
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 First seen · 116 lines · 4 tokens per session scan A cd8c02cc041f
Node.js Debugger is a skill published in the GitHub repository AmariahAK/atlarix-skills (2 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 4 tokens to every session and 834 once invoked, about $0.0000 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-09-03.
Other skills, from other repositories
ros2-troubleshooting
Diagnose ROS 2 Jazzy faults that reading the code cannot settle: QoS mismatch, sensor-mount and frame errors (REP 103/105), and odometry calibrated against CAD instead of the floor. Ships four runnable pass/fail checks.
dejavu
Protocol for working with the dejavu error-gate plugin. Use when a tool call is answered with a "[dejavu] REMINDER" or "[dejavu] BLOCKED" message, when the same tool call fails repeatedly, or when you discover the root cause of a gated failure. Covers how to react to reminders, what BLOCKED means, the dejavu:proceed…
eide
A build tool for EIDE projects, an embedded-development extension for Visual Studio Code. It finds EIDE project settings and builds firmware using ARM CC or GCC.
net
A toolkit for diagnosing network connections and traffic in embedded systems. A packet capture is a recorded sample of network traffic, and this tool can create or analyze captures in formats such as pcap and pcapng.
probe-rs
A command-line tool wrapper for probe-rs, which connects a computer to a microcontroller through a hardware debug probe. It supports common firmware programming and debugging operations over SWD or JTAG.
terminal
An interactive terminal session that keeps a live connection to a local shell, an SSH remote computer, or a serial device. It lets you send commands and read the next output while preserving the session’s login, menu, or program state.