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 agentmods add skills/amariahak/atlarix-skills/debug-nodejsnpx 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.svg" alt="Measured on agentmods" 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 | $0.00004 | $0.00834 |
| Opus 5 | $0.00002 | $0.00417 |
| Sonnet 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 today.
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.
- today 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 4d ago), licensed Apache-2.0. It adds 4 tokens to every session and 834 once invoked, about $0.0000 per session on Opus 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
implementing-jsc-classes-cpp
Implements JavaScript classes in C++ using JavaScriptCore. Use when creating new JS classes with C++ bindings, prototypes, or constructors.
slowest-tests
Find the top-N slowest test files in CI from a recent BuildKite run, optionally posting the results to a Slack channel as a formatted table. Use when asked to find slow CI tests, "what's making CI slow", or to post a slow-test report to Slack.
lemmalog
Externalize working memory and logical state into the lemmalog Datalog engine (MCP). Use for ANY multi-step task where state should outlive one context window or span agents: long investigations, debugging sessions, audits, multi-agent searches, systematic explorations, planning with many interdependent constraints…
release
Autonomously cut a Rove (@sma1lboy/rove) release end-to-end — detect the semver bump from pending changesets (flagging an upstream minor you didn't intend), run the release gates, bump/tag/push via scripts/release.sh, then poll the GitHub Actions Release workflow with gh until npm publish completes, diagnosing CI…
hyperframes-cli
HyperFrames CLI dev loop. Use when running npx hyperframes init, add, catalog, capture, lint, validate, inspect, layout, snapshot, preview, play, render, publish, lambda, doctor, browser, info, upgrade, skills, compositions, docs, benchmark, telemetry, transcribe, or remove-background, or when troubleshooting the…
changelog-generator
Draft Rove release notes as Changesets. Writes user-facing entries as .changeset/.md files for @sma1lboy/rove (consumed into packages/kobe/CHANGELOG.md at release time). Use when the user asks for "changelog", "release notes", "what changed", "add a changeset", or before cutting a version. Enforces Rove's no-soft-wrap…