sca-trivy — Claude Code skill: what it does, how to install
sca-trivy runs Aqua Trivy vulnerability audits on dependencies, container images, and IaC files, generating SBOMs and SARIF reports.
no license 1 installs ★ 228 updated 2026-01-18
npx skills add rohunj/claude-build-workflow --skill sca-trivy -a claude-codeWhat sca-trivy does
This skill guides the coding agent through security scanning workflows powered by Aqua Trivy. It detects published CVE flaws across dependencies, scans file trees or manifests such as package-lock.json, and audits infrastructure configurations across Terraform, Kubernetes, and Dockerfile assets.
Workflows include container image assessments mapped against OWASP and CWE classifications, dependency triage by CVSS severity, pipeline automation for GitHub Actions or GitLab CI, and generating SBOM data using CycloneDX or SPDX JSON outputs. The skill also accounts for secret detection via --scanners secret.
Both trivy and docker must be present in the execution environment. The agent relies on invoking local CLI tooling, so missing binaries will halt execution.
What it helps with
- audit dependencies for known high and critical CVEs
- scan container images for operating system and library flaws
- spot security misconfigurations in Terraform or Kubernetes manifests
- produce CycloneDX or SPDX SBOM files for supply chain tracking
- configure SARIF scanning jobs inside CI/CD pipelines
Example prompts for the agent
- Scan the local filesystem dependencies with trivy focusing on CRITICAL and HIGH issues
- Generate a cyclonedx SBOM report for container image nginx:latest
- Review the ./terraform directory for IaC misconfigurations using trivy config
How to install sca-trivy
1Skills CLI (Vercel)
npx skills add rohunj/claude-build-workflow --skill sca-trivy -a claude-code2Manually: put the files in place
~/.claude/skills/sca-trivy/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/sca-trivy/
1Skills CLI (Vercel)
npx skills add rohunj/claude-build-workflow --skill sca-trivy -a codex2Manually: put the files in place
.agents/skills/sca-trivy/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add rohunj/claude-build-workflow --skill sca-trivy -a cursor2Manually: put the files in place
.cursor/skills/sca-trivy/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install rohunj/claude-build-workflow skills/security/sca-trivy2Manually: put the files in place
.github/skills/sca-trivy/SKILL.md1Skills CLI (Vercel)
npx skills add rohunj/claude-build-workflow --skill sca-trivy -a gemini-cli2Platform CLI
gemini skills install https://github.com/rohunj/claude-build-workflow --path skills/security/sca-trivyManually: put the files in place
.devin/skills/sca-trivy/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add rohunj/claude-build-workflow --skill sca-trivy -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about sca-trivy
How to install sca-trivy in Claude Code?
Run npx skills add rohunj/claude-build-workflow --skill sca-trivy -a claude-code in your terminal.
What does sca-trivy do?
It orchestrates vulnerability scanning using Aqua Trivy across container images, application dependencies, IaC templates, and SBOM generation.
What system dependencies are required?
The host environment requires trivy and docker installed and available in the executable path.