sbom-generate

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

A tool that creates a CycloneDX software bill of materials from a supplied lockfile. A software bill of materials is an inventory of the libraries and versions included in a project.

In plain words
What is it for?
Use it to list pinned dependencies, record where they came from in the lockfile, and surface strong copyleft, weak copyleft, or missing license evidence.
Why use it?
It provides a traceable inventory tied to the exact lockfile contents and flags license concerns. It refuses unsupported or unpinned inputs instead of producing an incomplete inventory.

Skill for Claude CodeCodex

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

Good fit Use it to list pinned dependencies, record where they came from in the lockfile, and surface strong copyleft, weak copyleft, or missing license evidence.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/runxhq/runx/sbom-generate
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-generate
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-generate

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/runxhq/runx/sbom-generate"><img src="https://agentmods.dev/badge/skills/runxhq/runx/sbom-generate.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 1,055 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.
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.01055
Opus 5.5 $0.00017 $0.00422
Sonnet 5.5 $0.00009 $0.00211
Haiku 4.5 $0.00004 $0.00105

Measured 17d ago against content hash 9afb905f0950, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sbom-generate 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 17d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (inventory.mjs, sbom-generate.mjs, sbom-generate.test.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-generate/SKILL.md · 41 lines

How it starts

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

Generate a dependency SBOM

Use this for a software bill of materials or a reusable lockfile inventory. Use cve-audit to ask which locked public package versions OSV reports as affected; use extract for arbitrary document fields. Neither a valid SBOM nor an empty vulnerability result establishes that software is safe.

The default generate method takes the actual workspace lockfile path. Native artifact admission snapshots the file and binds its original bytes. The decoder interprets one complete admitted UTF-8 document; a partial read fails before inventory generation. Nothing is fetched and no dependency is installed or executed.

Choose the source once

  • generate: local file -> shared inventory -> CycloneDX document and report. Conventional filenames select package-lock, npm-shrinkwrap, pnpm or cargo; use lockfile_type for another filename.
  • inventory-file: the same local intake, returning only the reusable inventory for an audit or composition.
  • inventory-source: already acquired complete text; native data.digest binds its exact UTF-8 representation. Preserve the upstream transport/source receipt separately. It does not refetch or establish the upstream observation itself.
  • make: already parsed lockfile. Its digest encoding is explicitly canonical_json, which cannot attest to the original file bytes.
  • from-inventory: render the supplied completed inventory without another file read, decode or dependency interpretation.
  • save: write only report.document to a new workspace-relative output file, normally sbom.cdx.json. It preserves the report and source identities, creates no extra source inventory, and refuses to overwrite an existing file. For an intentional replacement, use the ordinary native file writer with the exact current digest.

Prefer an already completed inventory in a workflow. It remains source evidence, never new authority. Pass its native artifact reference when available, preserving the package/receipt identity; an arbitrary caller-authored JSON packet is a supplied claim, not independently acquired evidence.

Read the full file on GitHub · 41 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. 17d ago Changed 9afb905f0950
  2. 25d ago Changed · +3 lines · -1 tokens per session b681accf8d4d
  3. 1mo ago Changed 0ffa704474c1
  4. 1mo ago First seen · 38 lines · 44 tokens per session scan A 3a8d93cb3689

Subscribe to this mod's changes

sbom-generate is a skill published in the GitHub repository runxhq/runx (106 stars, last pushed yesterday), licensed Apache-2.0. It adds 43 tokens to every session and 1,055 once invoked, about $0.0002 per session on Opus 5.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-10-18.

Related

sbom-generate compared with skills from other repositories

sbom-generate next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sbom-generaterunxhq/runxSkill106yesterdayApache-2.0A43Claude Code, Codex
dd-risk-scoringAbilityai/trinitySkill822todayApache-2.0A29Claude Code, Codex
dd-synthesisAbilityai/trinitySkill822todayApache-2.0A33Claude Code, Codex
dd-report-formatAbilityai/trinitySkill822todayApache-2.0A27Claude Code, Codex
dd-sourcingAbilityai/trinitySkill822todayApache-2.0A29Claude Code, Codex
dd-verificationAbilityai/trinitySkill822todayApache-2.0A35Claude Code, Codex
gh-treasure-huntHmbown/CodeWhaleSkill41k2d agoMITA39Claude Code, Codex