/sbom-audit:cra check | init <project> [--lang en|de]from SBOM Audit
Check the EU Cyber Resilience Act readiness of the configured products and write starter documents (risk assessment, reporting procedure, disclosure policy) after the user confirms them.
Ships in SBOM Audit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A readiness overview for the products the user listed under [cra.products] in security/sbom-audit.toml, built from Regulation (EU) 2024/2847. It shows evidence, never a verdict: never say a product is "compliant", "certified" or "CRA-conform", and keep the caveat that this is evidence tooling, not legal advice. Each obligation gets one status: evidence present (naming the file), missing, stale, or the manufacturer's responsibility.
Route the arguments first. Arguments that start with init go to step 2, everything else (empty or check) to step 1. Never pass $ARGUMENTS to the CLI unrouted.
If [cra.products] is missing, say that no product is configured and nothing is assumed to be in scope. Ask which projects are products placed on the EU market; the user edits the config (example: [cra.products."<project>"] with optional name, branch, url). Do not decide that for them. Then:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/sbom_audit_cli.py" cra check
It reads git objects of the configured branch (never the working tree) and writes CRA.md and cra.json into the evidence folder; it writes nothing into the product repositories. Read security/CRA.md and summarise per product: what is missing, what is stale, and which rows are the manufacturer's responsibility. A product with open KEV findings: point to its reporting procedure (cra/<project>/art14-procedure.md) and the Art. 14(2)(a) early warning within 24 hours; do not judge whether the finding is reportable, that is the manufacturer's decision. Exit 2 means no product is configured or the config is invalid.
With init <project> from $ARGUMENTS, show the plan first; it writes nothing:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/sbom_audit_cli.py" cra init <project>
Show the printed plan and wait for the user to confirm it once. Existing files are kept, never overwritten. Files listed as "belongs in the product" (SECURITY.md, security.txt) are proposals under cra/<project>/proposed-for-repo/; the user copies them into the product repository. Never copy them yourself and never edit a product repository. Only after the user confirmed:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/sbom_audit_cli.py" cra init <project> --yes
Add --lang de or --lang en when the user asked for a language (default: [report] language). Exit 5 means read-only mode (SBOM_AUDIT_READ_ONLY=1): nothing was written; say so.
The documents ask questions and leave blanks (____). You may walk the user through cra/<project>/risk-assessment.md one question at a time, Annex I Part I (2)(a) to (m), then Part II.
____.security/cra/.sbom-audit cra starter) in place; tell the user to delete it once every blank is filled in. Until then the document counts as missing. The Last reviewed: date is the user's to set.Afterwards suggest cra check again to see the status change.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub wuesteon/sbom-audit --plugin sbom-audit13 skills in this plugin
/assessAssess the last sbom-audit run with an incident sweep, triage, a written assessment and independently verified, confirmed VEX statements and secrets decisions, or only a proposal when run headless./hostsCheck the configured servers without installing anything, record accepted host findings, and patch, bootstrap or unbootstrap one named host after you confirm its plan./incidentUse when the user asks whether a CVE, GHSA or PYSEC id or a vulnerability in the news affects them ("are we affected by CVE-…?", "does GHSA-… hit us?"); checks the advisory against every project and branch and gives a verdict (hit, not affected, unknown) per project./lookupUse when the user asks which projects use a package, image or runtime ("who uses lodash?") and in which version, from the last scan; takes package names, globs, images or runtimes./runRun the full pipeline (SBOMs, vulnerability audit against OSV, CISA KEV, EPSS and endoflife.date, incremental secrets scan, reports, evidence commit), then print STATUS.md and assess the result./sbom-auditUse when asked which package, image or runtime versions repos use, whether a CVE or security incident in the news affects them, whether credentials leaked into git, when an audit is due (security/AUDIT.md older than a week), or before planning dependency upgrades