sbom-supply-chain

sbom-supply-chain is a skill for Claude Code, Codex from sawrus/agent-guides. It costs 51 tokens per session (615 once invoked), scanned A, original, MIT.

A guide to software supply-chain records and verification for container images. An SBOM, or software bill of materials, lists the libraries and other components included in an image; SLSA describes levels of build and provenance protection.

In plain words
What is it for?
Use it to generate CycloneDX or SPDX SBOMs with Syft, attach them to images as signed attestations, record build provenance, pin dependencies, and verify supply-chain metadata.
Why use it?
It makes the contents and origin of software easier to inspect, verify, and audit before deployment. It can also help identify dependencies affected by security issues.

Skill for Claude CodeCodex

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

Good fit Use it to generate CycloneDX or SPDX SBOMs with Syft, attach them to images as signed attestations, record build provenance, pin dependencies, and verify supply-chain metadata.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sawrus/agent-guides/sbom-supply-chain
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 sawrus/agent-guides --skill sbom-supply-chain
Clone the repo
git clone --depth 1 https://github.com/sawrus/agent-guides

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-supply-chain

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sawrus/agent-guides/sbom-supply-chain"><img src="https://agentmods.dev/badge/skills/sawrus/agent-guides/sbom-supply-chain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 615 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.00051 $0.00615
Opus 5.5 $0.00020 $0.00246
Sonnet 5.5 $0.00010 $0.00123
Haiku 4.5 $0.00005 $0.00061

Measured 1mo ago against content hash 0a8c3369955c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sbom-supply-chain 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 1mo 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.

areas/devops/devsecops/skills/sbom-supply-chain/SKILL.md · 64 lines

How it starts

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

SBOM, scanning, and signing

1. Generate the SBOM from the built image

Build the image once and refer to it by digest in every later step.

IMAGE=registry.example.com/group/service@sha256:<digest>
syft "$IMAGE" -o cyclonedx-json > sbom.cdx.json
  • Use the image, not the source tree, so the SBOM lists what ships.
  • Keep sbom.cdx.json as a pipeline artifact (artifacts: in GitLab, actions/upload-artifact in GitHub).

2. Scan the SBOM

grype sbom:sbom.cdx.json --fail-on high
trivy sbom sbom.cdx.json --severity HIGH,CRITICAL --exit-code 1
  1. If a finding has a fixed version, upgrade the package or the base image and rebuild.
  2. If there is no fix, decide with the user: accept with an expiry date in the ignore file (.grype.yaml or .trivyignore) and a reason comment, or block the release.
  3. Do not raise --fail-on to make the job pass.

3. Sign the image

Prefer keyless signing with the pipeline OIDC identity.

  • GitLab: add id_tokens: SIGSTORE_ID_TOKEN: aud: sigstore to the job.
  • GitHub: set permissions: id-token: write.
cosign sign --yes "$IMAGE"
cosign attest --yes --type cyclonedx --predicate sbom.cdx.json "$IMAGE"

If the project uses a key pair, read it from a KMS (--key gcpkms://..., awskms://..., hashivault://...). Never commit cosign.key.

4. Verify before deploy

cosign verify "$IMAGE" \
  --certificate-identity-regexp '^https://gitlab.example.com/group/service//' \
  --certificate-oidc-issuer https://gitlab.example.com
cosign verify-attestation --type cyclonedx "$IMAGE" ...same identity flags...
  1. Add the verify step to the deploy job, before the deploy command.
  2. In Kubernetes, enforce the same identity with an admission policy (Kyverno verifyImages or Sigstore policy-controller). Ask the user first before you enable enforcement on a production cluster.

5. Done

  • The pipeline produces the SBOM, fails on high and critical findings, and signs the image by digest.
  • The deploy job verifies the signature and stops on a failed verification.

Read the full file on GitHub · 64 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. 1mo ago Changed · -102 lines · +13 tokens per session 0a8c3369955c
  2. 3mo ago First seen · 166 lines · 38 tokens per session scan A b5a32f92f06c

Subscribe to this mod's changes

sbom-supply-chain is a skill published in the GitHub repository sawrus/agent-guides (21 stars, last pushed 2d ago), licensed MIT. It adds 51 tokens to every session and 615 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-08-30.

Related

sbom-supply-chain compared with skills from other repositories

sbom-supply-chain next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sbom-supply-chainsawrus/agent-guidesSkill212d agoMITA51Claude Code, Codex
docker-expertsickn33/agentic-awesome-skillsSkill51ktodayMITA44Claude Code
apify-actor-developmentsickn33/agentic-awesome-skillsSkill51ktodayMITA27Claude Code
apple-containersickn33/agentic-awesome-skillsSkill51ktodayMITA37Claude Code
azd-deploymentsickn33/agentic-awesome-skillsSkill51ktodayMITA37Claude Code
argocd-gitopssickn33/agentic-awesome-skillsSkill51ktodayMITA20Claude Code
depsickn33/agentic-awesome-skillsSkill51ktodayMITA14Claude Code