CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

trivy

Scan container images, filesystems, git repos, and existing SBOMs for CVEs, secrets, and license violations using Trivy. Covers local CLI, CI severity gates with SARIF upload, and continuous monitoring via Trivy Operator (Flux HelmRelease). Use when asked to "scan my image", "check for CVEs", "scan this repo for secrets", "scan an SBOM", or "set up continuous cluster vulnerability monitoring". IaC misconfig → /platform-skills:checkov. Admission posture → /platform-skills:kyverno. Image signing/SBOM generation → /platform-skills:supply-chain.

Quality

88%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Low

Low-risk findings worth noting

The canonical home for this skill is trivy in nitinjain999/platform-skills

SKILL.md
Quality
Evals
Security

Quality

Content

82%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A well-architected dispatch skill: executable commands for all six modes, a disciplined three-layer wizard that asks only high-risk questions, and explicit routing boundaries against sibling skills. The main defects are routing information repeated in four places and — more seriously — that every deep-dive pointer targets references/trivy.md, which is absent from the bundle, leaving bootstrap, SARIF upload, and Trivy Operator deployment guidance unresolved.

Suggestions

Ship references/trivy.md in the bundle: the body instructs 'Read references/trivy.md before responding' and points to it from every mode section, but no references/ directory exists, so bootstrap steps, auth, SARIF upload, .trivyignore patterns, and the Trivy Operator Flux HelmRelease deployment are dead ends.

State the routing table once (the 'Ownership boundary (enforced at the menu)' table) and have wizard Layer 1, the 'Intent classification' table, and 'Cross-references' refer to it instead of restating the checkov/kyverno/supply-chain hand-offs four times.

Close the feedback loop after a failing CI gate — e.g., summarize the HIGH/CRITICAL findings that tripped '--exit-code 1' and offer the expiry-dated .trivyignore template — so the workflow ends in an action rather than a bare non-zero exit.

DimensionReasoningScore

Conciseness

The body is dense and functional — tables and command blocks with no explanation of concepts Claude already knows — but the checkov/kyverno/supply-chain routing is stated four times (the 'Ownership boundary (enforced at the menu)' table, wizard Layer 1, the 'Intent classification' table, and 'Cross-references'), and the mode list appears in both the dispatch table and the per-mode sections. Efficient with trimmable duplication fits anchor 4 ('minor instances of over-explanation that could be trimmed' / could be tightened); anchor 5's 'every token earns its place' is not met, and anchor 3 would require unnecessary explanation, which is absent.

4 / 5

Actionability

Every mode ships a complete, copy-paste-ready command — e.g. 'trivy image --severity HIGH,CRITICAL --exit-code 1 --format table <image-ref>' and 'trivy fs --scanners vuln,secret,license --severity HIGH,CRITICAL --exit-code 1 .' — the wizard supplies literal prompt text with recommended defaults, and the ask/never-ask tables give exact question wording. Executable commands cover all the common cases, matching anchor 5; anchor 4's 'minor gaps' would only fit if a common case lacked inline guidance, and none does (the advanced Operator deployment is deliberately deferred to the reference).

5 / 5

Workflow Clarity

Sequencing is explicit — 'Before asking any question, classify from the user's free-text request', then mode dispatch, then the numbered three-layer wizard — with pre-flight checkpoints (private-registry credential prompt, '> 2 GB' pull warning, '.trivyignore has entries without expiry' check) and the '--exit-code 1' pass/fail gate. Anchor 4 fits: most checkpoints are present, but there is no post-run feedback loop (e.g., what to do when the CI gate fails or how to present findings to the user), so anchor 5's 'feedback loops for error recovery' is not fully met.

4 / 5

Progressive Disclosure

The written design matches the anchor-5 pattern — a concise overview with clearly signaled, one-level-deep, per-mode pointers ('Reference: references/trivy.md → Mode: image — bootstrap, auth, output formats, SARIF, .trivyignore') — but the actual bundle contains no references/ directory, so 'Read references/trivy.md before responding' and the seven pointers to that file resolve to nothing. Scored against the actual bundle structure per the judging guidelines, this drops to anchor 4 ('references mostly clear; minor organization gaps'), since navigation leads to a dead end.

4 / 5

Total

17

/

20

Passed

Description

92%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description: concrete capability enumeration, an explicit 'Use when' clause with natural quoted trigger phrases in third-person/imperative voice, and explicit hand-off routing that keeps it distinct from sibling security skills. The only gap is missing natural trigger phrasings for fs-mode scans and license compliance.

DimensionReasoningScore

Specificity

Enumerates concrete actions with named targets and findings — 'Scan container images, filesystems, git repos, and existing SBOMs for CVEs, secrets, and license violations using Trivy' — plus concrete execution contexts ('local CLI, CI severity gates with SARIF upload, and continuous monitoring via Trivy Operator (Flux HelmRelease)'). Multiple specific concrete actions with comprehensive coverage of the tool's surface matches anchor 5; anti-drift against anchor 4 ('minor gaps in coverage') confirms no notable capability is missing.

5 / 5

Completeness

Explicitly answers both questions: what ('Scan container images, filesystems, git repos, and existing SBOMs for CVEs, secrets, and license violations using Trivy') and when ('Use when asked to ...'), with concrete quoted trigger phrases. This mirrors the anchor-5 good example exactly; anchor 4 ('when could be more explicit or specific') does not apply since the when clause is fully explicit, and the missing-'Use when' cap at 3 is not triggered.

5 / 5

Trigger Term Quality

The 'Use when' clause quotes natural user phrasings — 'scan my image', 'check for CVEs', 'scan this repo for secrets', 'scan an SBOM', 'set up continuous cluster vulnerability monitoring' — supported by strong keywords (CVEs, secrets, SBOM, Trivy, SARIF, cluster). A few natural terms are missing: fs-mode phrasings ('scan this directory', 'what's the full risk of this checkout?'), 'is this image safe to ship', and license-compliance wording. This matches anchor 4 ('good keyword coverage; a few natural terms missing') rather than anchor 5's comprehensive synonym coverage.

4 / 5

Distinctiveness Conflict Risk

Clear niche — Trivy-based CVE/secret/license scanning of images, filesystems, repos, and SBOMs plus Operator-based cluster monitoring — reinforced by explicit negative routing: 'IaC misconfig → /platform-skills:checkov. Admission posture → /platform-skills:kyverno. Image signing/SBOM generation → /platform-skills:supply-chain.' That hand-off guidance actively prevents mis-triggering against closely related security skills, satisfying anchor 5's 'clear niche with distinct triggers; minimal conflict risk'.

5 / 5

Total

19

/

20

Passed

Validation

87%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 14 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

referenced_paths_exist

Referenced path issues: 7 missing

Warning

Total

14

/

16

Passed

Repository

nitinjain999/platform-skills

Path

plugins/platform-skills/skills/trivy/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.