Skip to content
Back to skills

Ns Generate Sbom

ASecurity

Generates a Software Bill of Materials (SBOM) for a connected or registered N|Solid Node.js app. Use when the user asks for SBOM, software bill of materials, compliance evidence, SOC2/vendor review, license inventory, dependency inventory, or transitive package report for a running application.

  • 6 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added August 31, 2026
businessnoderails

Works with

  • cli
  • mcp

Security analysis

A100/100

Scanned August 31, 2026

npx -y skills add nodesource/nsolid-plugin --skill ns-generate-sbom --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ns Generate Sbom?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ns Generate Sbom
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nodesource-ns-generate-sbom/badge)](https://www.skillsdirectory.com/skills/nodesource-ns-generate-sbom)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ns-generate-sbom
description: >-
  Generates a Software Bill of Materials (SBOM) for a connected or registered N|Solid Node.js app. Use when the user asks for SBOM, software bill of materials, compliance evidence, SOC2/vendor review, license inventory, dependency inventory, or transitive package report for a running application.
---

## Instructions

### 1. Identify Target Application
- Determine the specific `app` name you need the SBOM for.
- If the app name is unknown, call `information-dashboard` (no parameters) to list all connected agents and their `app` names.
- Do NOT use `global-filter` — it returns ~18,000 tokens and is wasteful for a simple app name lookup.

### 2. Determine Format Requirement
- The `sbom` tool's `format` parameter accepts only `"json"` or `"html"`. It does **not** support XML.
- If the user does not specify a format, default to `"html"` (human-readable compliance report).
- Use `"json"` only when the user explicitly wants programmatic/machine analysis (e.g. feeding it to another tool).

### 3. Generate SBOM
- Call the `sbom` tool with the `app` parameter and `format` set to `"html"` (default) or `"json"`.

### 4. Handle Execution Edge Cases
- **Timeout warning**: Generating an SBOM traverses the entire transitive dependency tree of a live process. The N|Solid server extends the timeout to 180 seconds.
- If your MCP client drops the connection at 60s, inform the user the server is still processing, or suggest adjusting their MCP client timeout. Do not retry immediately.

### 5. Provide Output
- If the user asked to download the SBOM, write it directly to the `.nsolid/sbom/` folder (create the folder if it does not exist):
  - HTML: `.nsolid/sbom/<appName>_sbom.html`
  - JSON: `.nsolid/sbom/<appName>_sbom.json`
- Do not stage the output in a temporary file or `/tmp` — write straight to `.nsolid/sbom/`.
- Give the user a high-level summary (total packages, top licenses, notable dependencies) and the saved path.

## Guardrails
- DO NOT pass `format: "xml"` — XML is not supported. Only `"json"` or `"html"`; default to `"html"`.
- DO NOT poll or aggressively retry the SBOM endpoint if it times out — it is computationally expensive.
- DO NOT hallucinate dependencies. Only report what is strictly inside the returned SBOM.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.