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 generate-slsagit 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/generate-slsa)<a href="https://agentmods.dev/skills/harness/harness-skills/generate-slsa"><img src="https://agentmods.dev/badge/skills/harness/harness-skills/generate-slsa/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/generate-slsa"><img src="https://agentmods.dev/badge/skills/harness/harness-skills/generate-slsa.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00180 | $0.02967 |
| Opus 5.5 | $0.00072 | $0.01187 |
| Sonnet 5.5 | $0.00036 | $0.00593 |
| Haiku 4.5 | $0.00018 | $0.00297 |
Grade A, and why
generate-slsa 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:
- generate-slsa — 100% identical, 0 lines differ
How it starts
The opening of the file, as written. The whole thing — 304 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Generate SLSA
Add a SLSA Generation step to an existing Harness pipeline to generate SLSA provenance and
optionally attest/sign the .att file in the container registry. Pipeline YAML uses
type: provenance (UI label: SLSA Generation; do not use SlsaGeneration — API rejects it).
This skill only works with existing pipelines — do not create standalone SLSA-only pipelines.
Prerequisites: Image must be built and pushed (or available in registry) before SLSA runs.
Key-based attestation requires Cosign key pair secrets (/create-secret). Harness Cloud builds
enable SLSA Level 3 provenance when using hosted infrastructure.
Guide the user through a step-by-step interactive wizard (same UX as /configure-repo-scan):
- Wizard:
references/interactive-wizard-flow.md - UI ↔ YAML:
references/slsa-generation-step.md - CD containerized step groups:
references/cd-containerized-step-group.md
Interaction model (mandatory)
- One question per turn — use
AskQuestionwhen available; otherwise numbered options with(Recommended). - Opening message — add SLSA Generation after image build/push; mention attestation options.
- Progress breadcrumb — after pipeline fetch:
Pipeline · Placement · Source · Details · Attestation · 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 — highlight build/push steps and existing
provenance/SscaOrchestrationsteps (UI: SLSA Generation). - Infer connector from build/push — skip connector question when unambiguous from YAML.
- Never guess image tags — always ask for image/repo in Phase 7.
- 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). - Phase 3 Placement is mandatory — always run Phase 2 then Phase 3, even with one CI stage or prior session context.
- Sequential with SBOM — if
SscaOrchestrationexists, place SLSA after it; never parallel (Cosign race). - CD path — Deploy stage steps go inside containerized
stepGrouponly — see CD reference.
What ships with it
3 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 a4cd338663ff
- 3mo ago First seen · 303 lines · 180 tokens per session scan A 48fc57b8768f
generate-slsa is a skill published in the GitHub repository harness/harness-skills (138 stars, last pushed today), licensed Apache-2.0. It adds 180 tokens to every session and 2,967 once invoked, about $0.0007 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.
generate-slsa compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| generate-slsaharness/harness-skills | Skill | 138 | today | Apache-2.0 | A | 180 | Claude Code |
| deploy-docker-composeomnigent-ai/omnigent | Skill | 12k | today | Apache-2.0 | A | 84 | Claude Code, Codex |
| azure-containerregistry-pymicrosoft/skills | Skill | 3.3k | 3d ago | MIT | A | 48 | Claude Code |
| wranglercloudflare/skills | Skill | 3.5k | 4d ago | Apache-2.0 | A | 60 | Claude Code |
| azure-preparemicrosoft/skills | Skill | 3.3k | 3d ago | MIT | A | 166 | Claude Code |
| aks-troubleshootingmicrosoft/skills | Skill | 3.3k | 3d ago | MIT | A | 221 | Claude Code |
| azure-cloud-migratemicrosoft/skills | Skill | 3.3k | 3d ago | MIT | A | 106 | Claude Code |