generate-slsa SKILL.md skillA
generate-slsa from harness/harness-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add harness/harness-skills/generate-slsa@v1.0.0Pins v1.0.0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- harness/harness-skills
- Path
skills/security/generate-slsa/SKILL.md- Versions recorded
- 1
- Latest version
- v1.0.0, committed Oct 14, 2026
- Size
- 12,060 bytes
- Repository stars
- 122
- License
- Apache-2.0
Add a SLSA Generation step (YAML type: provenance) to an existing Harness pipeline to generate SLSA provenance and optionally attest with Cosign (keyless, key-based, or Vault). Supports container images (Docker, ECR, GCR, GAR, ACR, HAR) and Harness Local Stage artifacts. Place after image build/push; run sequentially after SBOM steps, not in parallel. Only works with existing pipelines. Use when asked to generate SLSA, add SLSA provenance, SLSA Generation step, attest SLSA, or configure SLSA…
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 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) 1. **One question per turn** — use `AskQuestion` when available; otherwise numbered options with `(Recommended)`. 2. **Opening message** — add SLSA Generation after image build/push; mention attestation options. …
Read the whole file at its exact version.
How to install
mdr add harness/harness-skills/generate-slsa@sha256:a4cd338663ffc764The line at the top of this page pins the label v1.0.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_tkzv3oduoneu7ofr)
0 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Oct 14, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (12060 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
harness/harness-skills · 122 stars · license Apache-2.0 · pushed 2026-10-14 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_tkzv3oduoneu7ofr GET https://markdownregistry.com/api/v1/resolve?ref=harness/harness-skills/generate-slsa GET https://markdownregistry.com/api/v1/blob/a4cd338663ffc764633eb337ea3d5a20070d301610ba6deb14b9d954785271a7
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.