Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add makigjuro/cloudstack-ai-plugins/plugin install cloud-infraWrote 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/makigjuro/cloudstack-ai-plugins/trivy-scan)<a href="https://agentmods.dev/skills/makigjuro/cloudstack-ai-plugins/trivy-scan"><img src="https://agentmods.dev/badge/skills/makigjuro/cloudstack-ai-plugins/trivy-scan/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/makigjuro/cloudstack-ai-plugins/trivy-scan"><img src="https://agentmods.dev/badge/skills/makigjuro/cloudstack-ai-plugins/trivy-scan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00068 | $0.01381 |
| Opus 5.5 | $0.00027 | $0.00552 |
| Sonnet 5.5 | $0.00014 | $0.00276 |
| Haiku 4.5 | $0.00007 | $0.00138 |
Grade B, and why
trivy-scan scanned grade B with 2 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.
Downloads and executes remote codemediumSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh -s -- -b /usr/local/bin Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh -s -- -b /usr/local/bin How it starts
The opening of the file, as written. The whole thing — 141 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Trivy Security Scan
Run Aqua Security's trivy against the infrastructure tree to catch misconfigurations that terraform validate and helm lint miss — things like publicly exposed storage, missing encryption, weak TLS, and over-broad IAM role assignments.
When to Use
- Directly (
/trivy-scan) — manual scan, e.g. while iterating on a module or before a PR. - Indirectly — invoked from
/infra-lint(fast check) and/complete-infra(pre-PR verification gate).
Arguments
The script takes no CLI flags; the skill maps each argument to an environment variable:
--strict— Run withTRIVY_STRICT=1(addsLOWto the fail set). Default: fail onCRITICAL,HIGH,MEDIUM;LOWis advisory.--warn-only— Run withTRIVY_WARN_ONLY=1: never exit non-zero on findings; just report. Useful for CIcontinue-on-errorstyle gating.--severity HIGH,CRITICAL— Run withTRIVY_SEVERITY=HIGH,CRITICALto override the default severity filter.
Configuration
Read cloudstack.json from the project root at start of execution. Extract:
TF_PATH=infrastructure.terraformPath(default:infra/terraform/modules)CHARTS_PATH=infrastructure.chartsPath(default:deploy/charts)
Derive TF_PARENT as the parent directory of TF_PATH (e.g., infra/terraform/modules → infra/terraform). If cloudstack.json is missing, auto-detect by scanning the project.
Prerequisites
trivy must be installed locally. The skill does not auto-install — be explicit about system changes.
# macOS
brew install trivy
# Linux
curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh -s -- -b /usr/local/bin
If trivy is missing, the script prints the install command and exits 2 (even with --warn-only).
Suppressing findings — .trivyignore
Project-local exemptions go in a .trivyignore file. The script uses the first one it finds, in this order: TRIVY_IGNOREFILE (if set and the file exists), then {TF_PARENT}/.trivyignore, then .trivyignore in the parent of CHARTS_PATH, then ./.trivyignore. One rule ID per line, with a comment explaining why:
What ships with it
1 file 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 · -8 lines · -3 tokens per session 6fdf5ba51f16
- 3mo ago First seen · 149 lines · 71 tokens per session scan B 3800ccec3295
trivy-scan is a skill published in the GitHub repository makigjuro/cloudstack-ai-plugins (1 stars, last pushed 1mo ago), licensed MIT. It adds 68 tokens to every session and 1,381 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
trivy-scan compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| trivy-scanmakigjuro/cloudstack-ai-plugins | Skill | 1 | 1mo ago | MIT | B | 68 | Claude Code |
| demoalivecontext/alive | Skill | 132 | 15d ago | MIT | A | 50 | Claude Code |
| session-historyalivecontext/alive | Skill | 132 | 15d ago | MIT | A | 74 | Claude Code |
| worldalivecontext/alive | Skill | 132 | 15d ago | MIT | A | 61 | Claude Code |
| karpenternitinjain999/platform-skills | Skill | 74 | 3d ago | Apache-2.0 | A | 131 | Claude Code |
| pr-reviewnitinjain999/platform-skills | Skill | 74 | 3d ago | Apache-2.0 | A | 81 | Claude Code |
| azurenitinjain999/platform-skills | Skill | 74 | 3d ago | Apache-2.0 | A | 39 | Claude Code |