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 harness/harness-skills --skill enforce-sbomgit clone --depth 1 https://github.com/harness/harness-skillsWrote 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/harness/harness-skills/enforce-sbom)<a href="https://agentmods.dev/skills/harness/harness-skills/enforce-sbom"><img src="https://agentmods.dev/badge/skills/harness/harness-skills/enforce-sbom/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/harness/harness-skills/enforce-sbom"><img src="https://agentmods.dev/badge/skills/harness/harness-skills/enforce-sbom.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 2 findings, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Data Exfiltration · line 133 Code or instructions that leak agent conversation context to external services, potentially exposing sensitive user interactions.Fix: Remove any code that sends prompts, responses, or session data externally. Preserve user privacy; never exfiltrate conversation content.
- medium Excessive Agency · line 181 Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
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.00210 | $0.03818 |
| Opus 5.5 | $0.00084 | $0.01527 |
| Sonnet 5.5 | $0.00042 | $0.00764 |
| Haiku 4.5 | $0.00021 | $0.00382 |
Grade A, and why
enforce-sbom 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- enforce-sbom — 100% identical, 0 lines differ
How it starts
The opening of the file, as written. The whole thing — 341 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Enforce SBOM
Add an SBOM Policy Enforcement (SscaEnforcement / CdSscaEnforcement) step to an existing
Harness pipeline. The step verifies SBOM attestations (when enabled) and evaluates SBOM OPA policy
sets against the artifact's bill of materials.
This skill only works with existing pipelines — do not create standalone enforcement-only pipelines.
Prerequisites: An SBOM must already exist for the artifact (typically from SscaOrchestration via
/create-sbom or SBOM ingestion). SBOM policy sets must exist (/create-policy).
Supported stages: CI, CD (Deployment), and Security — same as SBOM Orchestration. CD requires a
containerized step group with container-based execution.
Guide the user through a step-by-step interactive wizard (same UX as /create-sbom):
- Wizard:
references/interactive-wizard-flow.md - UI ↔ YAML:
references/sbom-enforcement-step.md - CD containerized step groups (new or existing Deploy stage):
skills/platform/create-sbom/references/cd-containerized-step-group.md
Interaction model (mandatory)
- One question per turn — use
AskQuestionwhen available; otherwise numbered options with(Recommended). - Opening message — add SBOM Policy Enforcement to an existing pipeline; mention SBOM + policy set prerequisites.
- Progress breadcrumb — after pipeline fetch:
Pipeline · Placement · Source · Details · Verify · Policy · Submit - Record answers — running summary; do not re-ask unless the user changes direction.
- Fetch before configure —
harness_getbefore placement/source questions. - Show pipeline structure — list stages/steps; highlight
SscaOrchestrationand connectors. - Infer source from orchestration — when one SBOM generation step exists, reuse its
sourceand image. - Never guess image tags — default to orchestration step image; ask if ambiguous.
- Confirm before write — summary +
harness_updateonly after user confirms. - Stop after update — after successful
harness_update, provide a configuration summary and point the user to/run-pipelineto execute. Do not callharness_execute, poll executions, or runharness_diagnosein this skill (same pattern as/configure-repo-scan). - CD placement without an existing Deploy stage — if the user chooses CD enforcement (
cd_before_deploy,add_cd_stage, or similar) on a CI-only pipeline, do not reject or force CI-only. Run Phase 3b to add aDeploymentstage with a containerized step group andCdSscaEnforcementbefore deploy (same prerequisites as/create-sbom). - Never block CD on “no Deployment stage” — warn in Phase 2, then proceed via Phase 3b when the user wants CD.
What ships with it
2 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.
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.
- 1mo ago Changed · +1 lines a71ff31759da
- 3mo ago First seen · 340 lines · 210 tokens per session scan A 56fd16209ae5
enforce-sbom is a skill published in the GitHub repository harness/harness-skills (138 stars, last pushed today), licensed Apache-2.0. It adds 210 tokens to every session and 3,818 once invoked, about $0.0008 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.
enforce-sbom compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| enforce-sbomharness/harness-skills | Skill | 138 | today | Apache-2.0 | A | 210 | Claude Code |
| ci-maintenancepingdotgg/t3code | Skill | 84k | today | MIT | A | 36 | Claude Code, Codex |
| ci-security-scanning-with-strixusestrix/strix | Skill | 78k | 2d ago | Apache-2.0 | B | 140 | Claude Code, Codex |
| google-agents-cli-scaffoldgoogle/agents-cli | Skill | 6.5k | 5d ago | Apache-2.0 | A | 147 | Claude Code |
| babysitkirodotdev/KiroCrew | Skill | 5.1k | today | Apache-2.0 | A | 45 | Claude Code |
| azure-kubernetes-app-deploymicrosoft/skills | Skill | 3.3k | 3d ago | MIT | A | 166 | Claude Code |
| deploying-to-staging-environmentAgentWorkforce/relay | Skill | 1.2k | today | Apache-2.0 | A | 44 | Claude Code |