/nsolid-skills-plugin:ns-analyze-assetfrom N|Solid Skills
Analyzes existing N|Solid diagnostic assets (CPU profiles, heap profiles, heap samples, heap snapshots) by asset ID or local path using asset-summary. Includes retry logic for async heap snapshot summarization.
Ships in N|Solid Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
assets, or information-dashboard; asset-summary does not include it.assets with filters and ask the user which asset to inspect.asset-summary first when you have an asset ID. These asset types return immediately.Heap snapshot summarization is asynchronous and may not be ready on the first call. Use this retry loop:
asset-summary with the asset ID."pending", "processing", "summarization started", "async", or a reference to "assets-in-progress", the snapshot is still being summarized — do NOT analyze it yet.assets-in-progress to check the queue position.node "<skill-dir>/wait.cjs" 5
before retrying.asset-summary again on the same asset ID.Never analyze a heap snapshot summary that is still marked as processing.
.cpuprofile, .heapprofile, or .heapsnapshot path instead of an asset ID, prefer resolving the full asset ID from .nsolid/assets/index.json. The flat filename pattern .nsolid/assets/<assetType>-<appName>-<assetIdPrefix>.<ext> produced by fetch-asset.cjs carries only an 8-character asset ID prefix (not the full ID), so it is not sufficient on its own.asset-summary.index.json is missing and MCP is unavailable, tell the user the full asset ID cannot be recovered (only the filename prefix is known) and stop.totalTime and selfTime.node_modules, explain the nearest relevant user-owned caller instead.heap-sampling, type heap-sample) can be summarized. heap-profile assets (from track-heap-objects) are not supported by asset-summary; they can only be downloaded locally via fetch-asset.cjs and must never be read raw into context.Inspect the summary for these signals:
Top retained-size objects — list the largest objects by retained size. Explain what type they are and why they are still reachable.
Dominator chains — identify the shortest path from GC roots to the largest retained objects. Explain what is holding references.
Retainer paths — for the top retained objects, trace back to the closest named user-owned code (module, function, or variable name).
Common leak patterns to flag:
EventEmitter listeners added but never removed (removeListener / off missing).Map, Set, or plain object caches that grow without eviction.setInterval or setTimeout callbacks capturing large context.Buffer or TypedArray allocations held by long-lived objects.Confirm leak vs one-off spike:
metrics-historic with field: ["heapUsed", "heapTotal", "rss"], q: "app=<appName>" or q: "id=<id>", and start/end around the snapshot time.events-historic with the same app or agent id, plus start/end, for near-OOM or process-blocked events at the snapshot time.Follow-up recommendation:
ns-advanced-memory-leak-hunter.ns-advanced-memory-leak-hunter skill.information-dashboard to confirm the app, agent, hostname, and whether the originating process still exists.metrics-historic around the asset time with explicit field values and q: "app=<appName>" or q: "id=<id>".runtime-code only when you have agent id, threadId, scriptId, and url/path.runtime-code when scriptId is 0./app or Docker prefix, or remove a path segment).Emit the analysis directly in chat using this exact structure and formatting:
# Asset Analysis — <asset label>
**Date**: <ISO date>
**Asset ID**: <asset id>
**Source**: asset-summary
## Analysis
<findings, observations, and next steps — start here directly without
repeating the title, asset ID, or source label>
Rules:
## Analysis section directly with findings — no preamble..md) under .nsolid/assets/ — for example .nsolid/assets/asset-analysis-<asset id>.md.node "<skill-dir>/fetch-asset.cjs" <assetId> <assetType> <appName>
AssetType is one of: cpuprofile, heapprofile, or heapsnapshot; heap sampling assets use heapprofile.asset-summary returns the actual summarized content.asset tool to download raw assets (still exposed by older console versions); always use the bundled fetch-asset.cjs.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
18 skills in this plugin
/ns-advanced-memory-leak-hunterPerforms an advanced N|Solid memory leak hunt comparing baseline vs peak heap evidence to isolate retained constructors, closures, and retainer paths. Use when the user reports recurring/staircase memory growth, elusive leaks, retained objects, closures holding references, or a standard heap sample/snapshot analysis was inconclusive. Prefer supplied baseline/peak assets; capture new samples only when needed./ns-analyze-eventInvestigates an existing N|Solid event payload and correlates relevant MCP evidence. Use when the user provides or references an event such as process-blocked, new-vulnerability-found, agent-exit, uncaught exception, stack trace, span data. Routes follow-up to CPU, memory, vulnerability, or tracing workflows when needed./ns-analyze-tracingAnalyzes N|Solid/OpenTelemetry tracing evidence for request latency, HTTP errors, and service dependencies. Use when the user asks about slow endpoints, API timeouts, distributed traces/spans, N+1 queries, await chains, microservice latency, cascading failures, or trace IDs. Query N|Solid only when no trace data was provided. Do not assume full waterfall details unless supplied./ns-analyze-vulnerabilitiesAnalyzes live runtime vulnerabilities loaded by connected N|Solid Node.js processes. Use when the user wants to know which CVEs are actually present in running apps, active exploitable/live vulnerabilities, zero-day exposure, supply-chain risk in production, or production package risk. For static npm-audit-style project dependency scans, use ns-audit-dependencies instead./ns-audit-dependenciesAudits a local Node.js project dependency tree with NCM vulnerability data. Use when the user asks for an npm audit-style security review, package CVEs, direct/transitive vulnerability report, dependency risk assessment, or remediation plan before upgrading. For vulnerabilities actually loaded in running N|Solid processes, use ns-analyze-vulnerabilities instead./ns-benchmark-runBenchmarks one Node.js function and reports throughput/statistics. Use when the user asks to benchmark or time a single function, measure ops/sec, compare input sizes, or answer "how fast is this code?" Use ns-validate-optimization instead when original and optimized versions need an A/B proof.npx claudepluginhub nodesource/nsolid-skills-plugin --plugin nsolid-skills-plugin2 plugins ship this exact skill · first indexed Aug 28, 2026
Other plugins' skills for the same job