Ns generate sbom
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.From its SKILL.md
npx -y skills add nodesource/nsolid-plugin --skill ns-generate-sbomAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 12 stars12 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.2 KB, as published. Nobody here has run it
Instructions
1. Identify Target Application
- Determine the specific
appname you need the SBOM for. - If the app name is unknown, call
information-dashboard(no parameters) to list all connected agents and theirappnames. - Do NOT use
global-filter— it returns ~18,000 tokens and is wasteful for a simple app name lookup.
2. Determine Format Requirement
- The
sbomtool'sformatparameter 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
sbomtool with theappparameter andformatset 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
- HTML:
- 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.