snyk-agent-scan-compliance

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

A compliance guide for snyk-agent-scan, a scanner that checks coding-agent skill files for unsafe patterns. It focuses on restructuring content to fix alerts involving external content, malicious links, or risky tool-call instructions.

In plain words
What is it for?
Use it to review and restructure SKILL.md files and related references or assets in response to snyk-agent-scan alerts.
Why use it?
It helps address scanner warnings without hiding or deleting useful information. The input does not describe support for other Snyk command-line tools.

Skill for Claude Code

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

Part of the cc-skills plugin — 21 skills shipped together

not rated 209repo +6 5d ago B scan Socket: passSnyk: passSkillSpector: warn 150 tokens original MIT

Good fit Use it to review and restructure SKILL.md files and related references or assets in response to snyk-agent-scan alerts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/samber/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 samber/cc-skills --skill snyk-agent-scan-compliance
Clone the repo
git clone --depth 1 https://github.com/samber/cc-skills

Made for: Claude Code.

Or install cc-skills, the plugin that ships this one along with the rest of its 21 skills.

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/samber/cc-skills/snyk-agent-scan-compliance/github.svg)](https://agentmods.dev/skills/samber/cc-skills/snyk-agent-scan-compliance)
Your own site
<a href="https://agentmods.dev/skills/samber/cc-skills/snyk-agent-scan-compliance"><img src="https://agentmods.dev/badge/skills/samber/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/samber/cc-skills/snyk-agent-scan-compliance"><img src="https://agentmods.dev/badge/skills/samber/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,900 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. Third-party audits
  • Socket pass 30 Apr 2026
  • Snyk pass 30 Apr 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Supply Chain · line 80
    Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.
    Fix: Avoid downloading and executing remote scripts. Use trusted packages from PyPI/npm. If remote fetch is required, verify checksums and use HTTPS.
  • medium MCP Rug Pull · line 57
    uvx/uv tool run commands without ==version create a rug-pull risk.
    Fix: Pin the version: uvx package-name==1.2.3
How audits are shown
Origin original No closer match found 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.01900
Opus 5 $0.00075 $0.00950
Sonnet 5 $0.00030 $0.00380
Haiku 4.5 $0.00015 $0.00190

Measured 13d ago against content hash c20356b957a9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, 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 13d 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

Copies of this mod

1 near-identical copy found in the catalogue:

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: Reason as thoroughly as possible for multi-alert remediation where fixes for one alert type can surface or suppress another. Deep reasoning reduces rework. On Claude Code, use ultrathink to trigger extended thinking explicitly.

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. 13d ago First seen · 141 lines · 150 tokens per session scan B c20356b957a9

Subscribe to this mod's changes

snyk-agent-scan-compliance is a skill published in the GitHub repository samber/cc-skills (209 stars, last pushed 5d ago), licensed MIT. It adds 150 tokens to every session and 1,900 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). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

golang-testing

Production-ready Golang tests — table-driven tests, testify suites and mocks, parallel tests, fuzzing, fixtures, goroutine leak detection with goleak, snapshot testing, code coverage, integration tests, idiomatic test naming. Use when writing or reviewing Go tests, choosing a testing approach, setting up Go test CI…

samber/cc-skills-golang · 115 tokens

golang-benchmark

Golang benchmarking, profiling, and performance measurement. Use when writing, running, or comparing Go benchmarks, profiling hot paths with pprof, interpreting CPU/memory/trace profiles, analyzing results with benchstat, setting up CI benchmark regression detection, or investigating production performance with…

samber/cc-skills-golang · 104 tokens

golang-continuous-integration

GitHub Actions CI/CD pipeline configuration for Golang projects — workflow files for test, lint, SAST, coverage and vulnerability-scan jobs, Dependabot and Renovate config files, GoReleaser release pipelines, Docker build/push, repository security settings, and AI-driven PR review. Use when setting up or improving Go…

samber/cc-skills-golang · 181 tokens

golang-database

Comprehensive guide for Go database access — parameterized queries, struct scanning, NULLable columns, transactions, isolation levels, SELECT FOR UPDATE, connection pool, batch processing, context propagation, and migration tooling. Use when writing, reviewing, or debugging Golang code that interacts with PostgreSQL…

samber/cc-skills-golang · 99 tokens

golang-dependency-injection

Comprehensive guide for dependency injection (DI) in Golang. Covers why DI matters (testability, loose coupling, separation of concerns, lifecycle management), manual constructor injection, and DI library comparison (google/wire, uber-go/dig, uber-go/fx, samber/do). Use this skill when designing service architecture…

samber/cc-skills-golang · 182 tokens

golang-design-patterns

Idiomatic Golang design patterns — functional options, constructor APIs, init() and global-state avoidance, enums, panic vs error decisions, resource management and lifecycle, graceful shutdown, timeouts and retries, streaming and iterators, and architecture styles (clean, hexagonal, DDD, flat). Apply when choosing…

samber/cc-skills-golang · 169 tokens