snyk-agent-scan-compliance
Skill by samber
Fixes snyk-agent-scan alerts in agent skill files by restructuring content instead of deleting information. Built for skill authors who create or edit skills, or who need to unblock a CI run or PR held by scanner failures.
Install snyk-agent-scan-compliance
Built from the published package, never by AI.
git clone --depth 1 https://github.com/samber/cc-skills /tmp/cc-skills && mkdir -p ~/.claude/skills && cp -r /tmp/cc-skills/skills/snyk-agent-scan-compliance ~/.claude/skills/snyk-agent-scan-complianceRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install snyk-agent-scan-compliance in Claude Code
git clone --depth 1 https://github.com/samber/cc-skills /tmp/cc-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/cc-skills/skills/snyk-agent-scan-compliance ~/.gemini/antigravity-cli/skills/snyk-agent-scan-complianceAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install snyk-agent-scan-compliance in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill helps authors fix alerts from snyk-agent-scan, a scanner for agent skill files. It covers every file in a skill directory, including SKILL.md, references, assets and any secondary markdown. It addresses three alert types: W011 for third-party content exposure, W012 for potentially malicious external URLs, and W001 for prompt injection via MCP tool calls.
Fixes come from restructuring content rather than suppressing or deleting information. The skill gives a remediation order, a pre-authoring checklist, and guidance on likely false positives. It is for skill authors creating or editing skills, and for anyone triaging a failed scanner run locally or in CI. It is not for dependency vulnerabilities, code security findings, infrastructure misconfigurations, or other Snyk CLI tools.
Written from the project's SKILL.md and checked against it.
What it can do
- Fix W011 alertsRewrites imperative instructions about external content as passive availability hints.
- Fix W012 alertsMoves install commands to the frontmatter install block and pins versions.
- Fix W001 alertsReplaces explicit MCP tool function names in the skill body with generic wording.
- Set remediation orderLists which alert types to fix first and re-scans after each change.
- Assess false positivesExplains conditions under which an alert is likely a false positive.
- Pre-authoring checklistProvides checks to apply while writing a new skill to avoid alerts early.
What you need
- Snyk token (SNYK_TOKEN)
- snyk-agent-scan installed, or uvx to run it
- uv (for the install block)
- Claude Code, Codex or similar harness
Try asking
- Fix the W011 alerts in my skill's SKILL.md without removing any information
- Move the install commands in this skill body into the frontmatter install block
- Run the pre-authoring checklist on my new skill before I scan it
Good to know
- Fixes restructure content and never suppress or delete information
- Out of scope: dependency vulnerabilities, code security findings and infrastructure misconfigurations
- Not for other Snyk CLI tools such as snyk test, snyk code, snyk iac or snyk container
- The scanner requires a valid SNYK_TOKEN
Security check
C- Downloads a script from the internet and runs itIn
skills/snyk-agent-scan-compliance/SKILL.md:curl ... | sh
Checked automatically: skills/snyk-agent-scan-compliance/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: Read Edit Write Glob Grep Bash(git:*) Bash(uv:*) Bash(uvx:*) AskUserQuestion Agent
Alternatives to snyk-agent-scan-compliance
All alternatives →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
Compare with function_health, windows-privilege-escalation or github-actions-advanced
snyk-agent-scan-compliance: common questions
What does snyk-agent-scan check in a skill?
It analyzes skill bodies for three unsafe pattern categories: third-party content exposure (W011), malicious external URLs (W012), and prompt injection via MCP tool calls (W001).
Does this skill remove content to clear scanner alerts?
No. The source says fixes are made through content restructuring, never by suppressing or deleting useful information.
Can this skill check dependencies or infrastructure code?
No. The source says dependency vulnerabilities, code security findings and infrastructure misconfigurations are out of scope.
How do I install snyk-agent-scan-compliance?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is snyk-agent-scan-compliance free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is snyk-agent-scan-compliance safe to use?
It scores 67 of 100. Grades: maintenance B, licence A, quality B. Security check: grade C (downloads a script from the internet and runs it). Review the code before you install. How grades work.
What are alternatives to snyk-agent-scan-compliance?
Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.
