node-inspect-debugger

node-inspect-debugger is a skill for Claude Code, Codex from mateaix/mateclaw. It costs 19 tokens per session (3,181 once invoked), scanned A, original, Apache-2.0.

A skill for examining a running Node.js program with the built-in inspector and Chrome DevTools tools. Node.js is software for running JavaScript outside a web browser; the inspector can pause code and show its execution state.

In plain words
What is it for?
Use it to debug Node-based builds, scripts, Electron applications, or other JavaScript processes, including Vite packaging steps and Electron startup problems.
Why use it?
It helps investigate crashes, hangs, and incorrect behavior when log messages are not enough. You can stop at a breakpoint, follow the call stack, inspect local values, and evaluate expressions.

Skill for Claude CodeCodex

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node /tmp/cdp-debug.js.

Good fit Use it to debug Node-based builds, scripts, Electron applications, or other JavaScript processes, including Vite packaging steps and Electron startup problems.

Compare 6 skills from other repositories ↓
About the project

MateClaw is a pluggable agent runtime that coordinates AI agents, tools, conversations, memory, and workflows. It is designed for personal and multi-user AI assistants, including agents used through chat platforms. Catalogue add-ons provide skills for extending its agent workflows.

mateaix/mateclaw · 1,164 stars · on GitHub · claw.mate.vip

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/mateaix/mateclaw
agentmods
npx agentmods add skills/mateaix/mateclaw/node-inspect-debugger

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-inspect-debugger

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mateaix/mateclaw/node-inspect-debugger"><img src="https://agentmods.dev/badge/skills/mateaix/mateclaw/node-inspect-debugger.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,181 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 191
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
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.00019 $0.03181
Opus 5.5 $0.00008 $0.01272
Sonnet 5.5 $0.00004 $0.00636
Haiku 4.5 $0.00002 $0.00318

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

Security

Grade A, and why

node-inspect-debugger 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.

curl -s http://127.0.0.1:9229/json/list | jq -r '.[0].webSocketDebuggerUrl'
mateclaw-server/src/main/resources/skills/node-inspect-debugger/SKILL.md · 316 lines

How it starts

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

Node.js Inspect Debugger

Overview

When console.log isn't enough, drive Node's built-in V8 inspector programmatically from the terminal. You get real breakpoints, step in/over/out, call-stack walking, local/closure scope dumps, and arbitrary expression evaluation in the paused frame.

Two tools, pick one:

  • node inspect — built-in, zero install, CLI REPL. Best for quick poking.
  • ndb / CDP via chrome-remote-interface — scriptable from Node/Python; best when you want to automate many breakpoints, collect state across runs, or debug non-interactively from an agent loop.

Prefer node inspect first. It's always available and the REPL is fast.

In this repo the Node.js surfaces are the front-end packages — mateclaw-ui, mateclaw-webchat, and the Electron desktop app mateclaw-desktop. The Spring Boot backend is a JVM process and is not a target for this skill.

When to Use

  • A Node-based build or packaging step (a Vite build, an electron-builder hook, a scripts/ helper) fails and you need to see intermediate state
  • The Electron desktop main process (mateclaw-desktop) crashes, hangs on startup, or mishandles the bundled Java backend child process
  • A Vite dev server or a build plugin behaves wrong and console.log can't reach the value
  • You need to inspect a value in a closure that console.log can't reach without patching
  • Perf: attach to a running process to capture a CPU profile or heap snapshot

Don't use for: things console.log solves in under a minute. Breakpoint-driven debugging is heavier; use it when the payoff is real. The Electron renderer is a Chromium page, not a Node target — debug it with the window's built-in DevTools, not node inspect.

Quick Reference: node inspect REPL

Launch paused on first line:

node inspect path/to/script.js
# or with tsx
node --inspect-brk $(which tsx) path/to/script.ts

The debug> prompt accepts:

Command Action
c or cont continue
n or next step over
s or step step into
o or out step out
pause pause running code
sb('file.js', 42) set breakpoint at file.js line 42
sb(42) set breakpoint at line 42 of current file
sb('functionName') break when function is called
cb('file.js', 42) clear breakpoint
breakpoints list all breakpoints
bt backtrace (call stack)
list(5) show 5 lines of source around current position
watch('expr') evaluate expr on every pause
watchers show watched expressions
repl drop into REPL in current scope (Ctrl+C to exit REPL)
exec expr evaluate expression once
restart restart script
kill kill the script
.exit quit debugger

Read the full file on GitHub · 316 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. 1mo ago First seen · 316 lines · 19 tokens per session scan A e44a52a8e9c7

Subscribe to this mod's changes

node-inspect-debugger is a skill published in the GitHub repository mateaix/mateclaw (1,164 stars, last pushed 2d ago), licensed Apache-2.0. It adds 19 tokens to every session and 3,181 once invoked, about $0.0001 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-08-30.

Related

Other skills, from other repositories

electron-debugging

Debug and troubleshoot Electron apps via electron-dev-bridge tools. Trigger on: debug, bug, broken, not working, UI issue, element not found, blank screen, can't connect, crash, stale, timeout, click not working, missing element, wrong text, layout broken, error tracking, sentry.

delta-and-beta/electron-dev-bridge · 66 tokens

inspector-mcp

Debug a live Node.js process via CDP — connect to --inspect, set TypeScript breakpoints, step through code, and inspect variables at runtime. Use when the user mentions debugging, --inspect port, breakpoints, wants to trace a bug, inspect what a variable holds, or understand why code behaves unexpectedly at runtime.

AbianS/inspector-mcp · 71 tokens

python-code-quality

Code quality checks, linting, formatting, and type checking commands for the Agent Framework Python codebase. Use this when running checks, fixing lint errors, or troubleshooting CI failures.

microsoft/agent-framework · 40 tokens

backtest-diagnose

Diagnose failed or underperforming backtests, locate the root cause, and fix the issue.

HKUDS/Vibe-Trading · 25 tokens

debug-task

Diagnose and fix moon tasks that are broken, misconfigured, or behaving unexpectedly. Use this skill when a moon task is failing, not running, skipped, hanging, producing stale or wrong output, cached when it shouldn't be, re-running every time, or missing outputs after a cache hit. Also covers pipeline hangs, tasks…

moonrepo/moon · 203 tokens

winui-devtools

Inspect a running WinUI 3 app's XAML with winapp devtools: resolved property values (margin, size, style), what a binding yields or why it's empty, the XAML line behind an element, live edits, and UI review comments left in the app. To click, type, read text or screenshot, use winapp-ui-automation.

microsoft/winappCli · 78 tokens