Back to browse
GitHub Repository

A proof of concept of protecting Claude Code against malicious agent skills

8 starsShell

Skillcop: Block malicious Claude Skills before they execute

by bennydog224·Mar 20, 2026·2 points·0 comments

AI Analysis

●●●BangerBig BrainShip It

LLM-on-LLM scanning catches obfuscation and semantic attacks before skills execute.

Strengths
  • SHA-256 manifest caching avoids rescanning unchanged files between sessions.
  • Two hook points (SessionStart, PreToolUse) catch threats at load and write time.
  • Based on Snyk ToxicSkills taxonomy with 8 specific threat categories.
Weaknesses
  • v0.1 means limited real-world testing against actual malicious skills.
  • LLM scanning adds latency to skill invocation that may frustrate users.
Category
Target Audience

Developers using Claude Code, AI agent builders, security-conscious teams

Similar To

Snyk · GitGuardian · Semgrep

Post Description

I've been wanting to adopt more skills in my agent workflows, but I've been super sketched as a security person. There's marketplaces like Skills.sh and a ton of stuff on Github, but I felt like a lot of it was too untrustworthy to just be pulling down.

Combined with Snyk reporting that they found ~1500 malicious skills on such marketplaces (https://snyk.io/blog/toxicskills-malicious-ai-agent-skills-c...), I decided to build a library for doing skill scanning since Claude doesn't do it natively.

v0.1 of skillcop is an OSS wrapper around Claude Code for scanning malicious skills at invocation time.Skillcop integrates natively with Ollama for skill scanning, providing direct access to Gemma 3, GPT-OSS, GLM 4.7 Flash from the CLI.

Existing harnesses exist but don't quite get to this level of granular LLM-on-LLM scanning. Would love to get feedback and users from the community!

Similar Projects

AI/ML●●Solid

Assemble – Claude Code skill for parallel AI team execution

Wave-based parallel AI agent orchestration with a PM coordinator for Claude Code projects.

Big BrainShip It
sravyavedantham
103mo ago
AI/MLMid

Claude Code skills for building LLM evals

Structured eval workflow for Claude Code when LangSmith and Braintrust already exist.

Niche GemShip It
paulaq
201mo ago
AI/ML●●●Banger

A Claude Code skill that tells Claude when not to use Claude

Traffic-light audit system beats vague 'optimize your LLM spend' advice from competitors.

Big BrainSolve My Problem
metravod
101mo ago