/atmos:atmos-sbomfrom atmos
Generates CycloneDX and SPDX software bills of material from Atmos vendor receipts, Terraform provider locks, and toolchain evidence. Supports NTIA validation and CI artifact publication.
Ships in atmos. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this skill to generate, review, or publish an Atmos software bill of materials (SBOM). Atmos produces a provenance/build-input SBOM: it records evidence used to build or run the selected infrastructure scope. It is not a claim that every deployed workload has been inventoried.
Atmos-managed source receipts (vendor.lock.yaml, including OCI-sourced artifacts) are always
included, regardless of --scope. --scope additionally selects one of two adapter groups: the
default terraform adds Terraform provider locks and Terraform modules (when the configured
command exposes a stable module graph); --scope dependencies instead adds Atmos's own toolchain
(.tools/toolchain.lock.yaml) and version-track (versions.lock.yaml) evidence. Helm, Helmfile,
discovered deployed images, image package contents, and OpenTofu module graphs are outside this
initial scope and must be reported as incomplete or unavailable rather than silently treated as
absent.
| Need | Load |
|---|---|
| Immutable vendor receipts, reconciliation, Component Updater PRs | atmos-vendoring |
| Just-in-time component source workdirs and source receipts | atmos-components |
| Native CI workflow structure and GitHub Actions runtime setup | atmos-ci |
| Toolchain locks and configured Terraform/OpenTofu commands | atmos-toolchain |
| Version-track locks | atmos-version |
Generate CycloneDX JSON to stdout, or write either supported format to a reviewed output file:
atmos sbom generate --format cyclonedx-json
atmos sbom generate --format spdx-json --output sbom.spdx.json
atmos sbom generate --include-files --output sbom.cyclonedx.json
--include-files expands the output with the vendor receipt's installation-file relationships;
omit it for the normal artifact-oriented output.
The result is derived from evidence, not guesses:
vendor.lock.yaml records immutable Git commits, OCI manifest digests, or verified content hashes
and the installed-file inventory for vendor.yaml, component.yaml, and mixin installs..terraform.lock.hcl is authoritative for the selected provider versions and checksums.terraform when none is configured) as
modules -json; this requires Terraform 1.10+ and an initialized component directory.Never insert a checksum, purl, supplier, source URL, or module inventory by inference. Missing
evidence must remain NOASSERTION or appear as an explicit coverage diagnostic.
The default is --mode provenance, which renders available evidence with coverage diagnostics:
atmos sbom generate --scope terraform --mode provenance --format cyclonedx-json
Use --mode ntia only when a declared subject is available and every adapter required for the
selected Terraform scope reports complete coverage:
atmos sbom generate \
--scope terraform \
--mode ntia \
--subject-name infra-live \
--subject-version "$(git rev-parse --short HEAD)" \
--subject-supplier "Cloud Posse, LLC" \
--format spdx-json \
--output infra-live.sbom.spdx.json
NTIA mode must fail—not downgrade silently—when the subject is incomplete, a provider lock lacks the required SHA-256 evidence, a module is not immutably resolved, or the module graph command is unavailable. A configured OpenTofu command is honored, but its module inventory is unavailable unless it implements the same stable JSON interface.
--upload publishes the already-generated document through the detected native CI provider. The
document remains the source of truth and is still written to stdout or --output.
In GitHub Actions, publication stores a workflow artifact via the Actions runtime API. Add the runtime action before the Atmos command:
permissions:
contents: read
steps:
- uses: actions/checkout@v6
- uses: cloudposse/atmos/actions/github-runtime@v1
with:
mode: env
- run: atmos sbom generate --format spdx-json --output sbom.spdx.json --upload
env:
GITHUB_TOKEN: ${{ github.token }}
Do not claim that this uploads dependencies to GitHub Dependency Graph. GitHub's SBOM APIs can export or request GitHub-generated reports, but do not accept arbitrary submitted SBOMs. The correct result is a retained, auditable workflow artifact.
--include-files.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
sbom, cyclonedx, spdx, software-bill-of-materials, provenance, atmos
npx claudepluginhub cloudposse/atmos --plugin atmos58 skills in this plugin
/atmos-aiAtmos AI and MCP integrations: connect external AI assistants to Atmos through agent skills, atmos mcp start, multi-CLI MCP export, Atmos Pro MCP, and AWS MCP servers; run AI from Atmos through atmos ai ask/chat/exec, --ai command analysis, API providers, CLI providers, external MCP routing/pass-through, toolchain-aware export, auth-wrapped tools, and MCP+skills pairing/atmos-ansibleAnsible orchestration: playbook execution, variable passing, inventory management, stack-based configuration for configuration management/atmos-asciicastCreate and review portable Atmos CLI asciicast demos for community-facing documentation, examples, and training materials.Other plugins' skills for the same job