sbom-maker

sbom-maker is a skill for Claude Code, Codex from runxhq/runx. It costs 43 tokens per session (406 once invoked), scanned A, original, Apache-2.0.

A tool that turns a package lockfile into a CycloneDX software bill of materials (SBOM), which is a list of the software components and versions in a project. It ties the result to the exact input file and flags license risks.

In plain words
What is it for?
Use it to inspect pinned dependencies, record where each dependency came from in the lockfile, and prepare the inventory stage of a security pipeline.
Why use it?
It gives you a verifiable inventory without downloading anything or silently accepting incomplete dependency data. This helps reveal copyleft or missing-license concerns before security or compliance review.

Skill for Claude CodeCodex

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

Good fit Use it to inspect pinned dependencies, record where each dependency came from in the lockfile, and prepare the inventory stage of a security pipeline.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/runxhq/runx/sbom-maker
Install

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.

Any agent
npx skills add runxhq/runx --skill sbom-maker
Clone the repo
git clone --depth 1 https://github.com/runxhq/runx

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 sbom-maker

README.md
[![agentmods](https://agentmods.dev/badge/skills/runxhq/runx/sbom-maker/github.svg)](https://agentmods.dev/skills/runxhq/runx/sbom-maker)
Your own site
<a href="https://agentmods.dev/skills/runxhq/runx/sbom-maker"><img src="https://agentmods.dev/badge/skills/runxhq/runx/sbom-maker/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 sbom-maker

Your own site · 80×15
<a href="https://agentmods.dev/skills/runxhq/runx/sbom-maker"><img src="https://agentmods.dev/badge/skills/runxhq/runx/sbom-maker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 406 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
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.00043 $0.00406
Opus 5 $0.00022 $0.00203
Sonnet 5 $0.00009 $0.00081
Haiku 4.5 $0.00004 $0.00041

Measured 9d ago against content hash 35cbf71ec533, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

sbom-maker 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 9d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (sbom-maker.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/sbom-maker/SKILL.md · 38 lines

What it actually says

SBOM Maker

Turn one lockfile into a verifiable component inventory. The caller supplies the parsed lockfile; nothing is fetched, so the same input always seals the same SBOM. This is the inventory layer of the security pipeline: sbom-maker derives what is present, cve-audit detects what is vulnerable.

Procedure

  1. Native data.digest binds the exact lockfile object; the SBOM serial number and metadata carry that digest, so the inventory cannot drift from its source.
  2. Deterministic extraction reads the modern packages map (or the classic nested dependencies map) and keeps only pinned components with versions, each with its evidence location inside the lockfile.
  3. Licenses are normalized, counted, and risk-flagged: strong copyleft is high, weak copyleft is medium, missing license evidence is review. Risks are surfaced, never suppressed.
  4. A lockfile that is not an object, carries no dependency map, or pins no components refuses with findings instead of emitting an empty inventory.

To inventory a remote lockfile, compose web-fetch for the governed read and pass its content here; the digest binds whatever bytes were supplied.

Output

sbom_result (runx.sbom.v1) carries decision (generated, refused), the CycloneDX 1.5 sbom or null, component_count, license_summary, license_risks, validation, and the lockfile digest.

Inputs are lockfile and optional lockfile_type (package-lock, npm-shrinkwrap).

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 38 lines · 43 tokens per session scan A 35cbf71ec533

Subscribe to this mod's changes

sbom-maker is a skill published in the GitHub repository runxhq/runx (87 stars, last pushed 3d ago), licensed Apache-2.0. It adds 43 tokens to every session and 406 once invoked, about $0.0002 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.