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.
npx skills add runxhq/runx --skill sbom-generategit clone --depth 1 https://github.com/runxhq/runxWrote 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.
[](https://agentmods.dev/skills/runxhq/runx/sbom-generate)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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.
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.
What ships with it
31 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.
- eval_queries.json 2.1 KB
- evals/evals.json 904 B
- evals/files/completed-inventory.json 1.5 KB
- fixtures/composed/run.yaml 912 B
- fixtures/composed/SKILL.md 156 B
- fixtures/input/Cargo.lock 188 B
- fixtures/input/package-lock.json 511 B
- fixtures/input/pnpm-lock.txt 270 B
- fixtures/standards/bom-1.5.schema.json 161 KB
- fixtures/standards/jsf-0.82.schema.json 7.9 KB
- fixtures/standards/LICENSE 11 KB
- fixtures/standards/provenance.json 1.0 KB
- fixtures/standards/spdx.schema.json 16 KB
- inventory.mjs 14 KB runs code
- mark.svg 890 B
- packets/inventory.v1.schema.json 4.6 KB
- packets/sbom.v1.schema.json 2.5 KB
- references/catalog.md 146 B
- references/mark-license.md 3.1 KB
- run.yaml 8.5 KB
- sbom-generate.mjs 3.9 KB runs code
- sbom-generate.test.mjs 11 KB runs code
- tests/cargo-direct-needs-metadata.yaml 149 B
- tests/composes-in-workflow.yaml 257 B
- tests/local-cargo-default.yaml 296 B
- tests/local-npm-default.yaml 485 B
- tests/local-pnpm-default.yaml 261 B
- tests/parsed-input-keeps-canonical-provenance.yaml 674 B
- tests/partial-unknown-version-survives.yaml 319 B
- tests/truncated-source-is-not-inventoried.yaml 153 B
- tests/unsupported-format-refused.yaml 143 B
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.
- 17d ago Changed 9afb905f0950
- 25d ago Changed · +3 lines · -1 tokens per session b681accf8d4d
- 1mo ago Changed 0ffa704474c1
- 1mo ago First seen · 38 lines · 44 tokens per session scan A 3a8d93cb3689
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.
sbom-generate compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| sbom-generaterunxhq/runx | Skill | 106 | yesterday | Apache-2.0 | A | 43 | Claude Code, Codex |
| dd-risk-scoringAbilityai/trinity | Skill | 822 | today | Apache-2.0 | A | 29 | Claude Code, Codex |
| dd-synthesisAbilityai/trinity | Skill | 822 | today | Apache-2.0 | A | 33 | Claude Code, Codex |
| dd-report-formatAbilityai/trinity | Skill | 822 | today | Apache-2.0 | A | 27 | Claude Code, Codex |
| dd-sourcingAbilityai/trinity | Skill | 822 | today | Apache-2.0 | A | 29 | Claude Code, Codex |
| dd-verificationAbilityai/trinity | Skill | 822 | today | Apache-2.0 | A | 35 | Claude Code, Codex |
| gh-treasure-huntHmbown/CodeWhale | Skill | 41k | 2d ago | MIT | A | 39 | Claude Code, Codex |