snyk-agent-scan-compliance

snyk-agent-scan-compliance is a skill for Claude Code from hssh8917/cc-skills. It costs 150 tokens per session (1,884 once invoked), scanned B, a copy of snyk-agent-scan-compliance, MIT.

A compliance guide for fixing safety warnings reported by snyk-agent-scan, a scanner for coding-agent skill files. It covers warnings about unsafe external content, malicious URLs, and prompt injection through tool calls.

In plain words
What is it for?
Use it to review and revise SKILL.md files and their references or assets when snyk-agent-scan reports compliance problems.
Why use it?
It helps remove scanner warnings by restructuring instructions while keeping useful information, rather than hiding or deleting content.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool; mentions Claude Code; built for openclaw.

Good fit Use it to review and revise SKILL.md files and their references or assets when snyk-agent-scan reports compliance problems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hssh8917/cc-skills/snyk-agent-scan-compliance
Install

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.

Any agent
npx skills add hssh8917/cc-skills --skill snyk-agent-scan-compliance
Clone the repo
git clone --depth 1 https://github.com/hssh8917/cc-skills

Made for: Claude Code.

Wrote 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.

agentmods badge for snyk-agent-scan-compliance

README.md
[![agentmods](https://agentmods.dev/badge/skills/hssh8917/cc-skills/snyk-agent-scan-compliance/github.svg)](https://agentmods.dev/skills/hssh8917/cc-skills/snyk-agent-scan-compliance)
Your own site
<a href="https://agentmods.dev/skills/hssh8917/cc-skills/snyk-agent-scan-compliance"><img src="https://agentmods.dev/badge/skills/hssh8917/cc-skills/snyk-agent-scan-compliance/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.

agentmods 80×15 button for snyk-agent-scan-compliance

Your own site · 80×15
<a href="https://agentmods.dev/skills/hssh8917/cc-skills/snyk-agent-scan-compliance"><img src="https://agentmods.dev/badge/skills/hssh8917/cc-skills/snyk-agent-scan-compliance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 150 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,884 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 98% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00150 $0.01884
Opus 5 $0.00075 $0.00942
Sonnet 5 $0.00030 $0.00377
Haiku 4.5 $0.00015 $0.00188

Measured 12d ago against content hash c54b11038838, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade B, and why

snyk-agent-scan-compliance 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 12d 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.

- Never use pipe-to-shell patterns (`curl ... | sh`) in skill bodies.

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.

- Never use pipe-to-shell patterns (`curl ... | sh`) in skill bodies.
Origin

This is a copy

98% identical to snyk-agent-scan-compliance — 6 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/snyk-agent-scan-compliance/SKILL.md · 141 lines

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.

Persona: You are a skill-authoring compliance expert. You fix snyk-agent-scan alerts by restructuring content — never by suppressing or deleting useful information.

Thinking mode: Use ultrathink for multi-alert remediation where fixes for one alert type can surface or suppress another. Deep reasoning reduces rework.

snyk-agent-scan Compliance

The snyk-agent-scan tool analyzes skill bodies for three categories of unsafe patterns: third-party content exposure (W011), malicious external URLs (W012), and prompt injection via MCP tool calls (W001). All three are fixable through content restructuring without losing any information.

Reference Files

File When to read
references/w001-patterns.md Fixing W001 alerts — MCP tool name patterns
references/w011-patterns.md Fixing W011 alerts — imperative URL and external content patterns
references/w012-patterns.md Fixing W012 alerts — version pinning and frontmatter offloading

Quick Reference

Alert Severity Root Cause Primary Fix
W011 High Skill body instructs agent to fetch/interpret external content Replace imperatives with passive availability hints
W012 High Skill body references external URLs fetched and executed at runtime Move to frontmatter install block; pin versions
W001 High Skill body names MCP tool functions explicitly Use generic formulations instead

Running the Scanner

# Scan a single skill
SNYK_TOKEN=<token> snyk-agent-scan --skills skills/<name>/

# Scan all skills
SNYK_TOKEN=<token> snyk-agent-scan --skills ./skills

The scanner requires a valid SNYK_TOKEN. In CI, store it as a secret. If snyk-agent-scan is not installed, use uvx snyk-agent-scan@latest as a drop-in replacement without installing. See detailed patterns for fixes per alert type.

Read the full file on GitHub · 141 lines

Files

What ships with it

4 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.

Changes

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.

  1. 12d ago First seen · 141 lines · 150 tokens per session scan B c54b11038838

Subscribe to this mod's changes

snyk-agent-scan-compliance is a skill published in the GitHub repository hssh8917/cc-skills (2 stars, last pushed today), licensed MIT. It adds 150 tokens to every session and 1,884 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it B with 2 findings (downloads and executes remote code, makes network calls). It is 98% identical to snyk-agent-scan-compliance, differing in 6 lines, and is treated as a copy.