skill-cleaner
by jacobthejacobs
CommunicationBrief
Automatically verify "suspicious" skills via VirusTotal and add them to the security allowlist via the Bridge.
Description
What This Skill Does
Scans installed OpenClaw skills for suspicious code patterns, cross-references file hashes with VirusTotal, and resolves false positives by adding verified files to the security allowlist. Malicious files are moved to a quarantine folder rather than deleted.
Combines local heuristic scanning with live VirusTotal reputation checks in one command, avoiding the need to manually hash files and query the API separately.
When to Use It
- Auditing newly installed third-party skills before trusting them
- Clearing false-positive security flags on known-safe skills
- Quarantining skills flagged as malicious by VirusTotal
- Running a dry-run security check before committing changes to the allowlist
- Automating periodic trust verification across a skills directory
Example Workflow
User asks: verify my installed skills and allowlist anything that's clean
- 1
Run heuristic scan on the skills/ directory to identify suspicious patterns
- 2
Compute hashes for flagged files
- 3
Cross-reference each hash against VirusTotal for reputation data
- 4
Allowlist files with zero detections via the Gateway RPC Bridge
- 5
Move files with detections greater than zero to .quarantine/
Suspicious skills are either allowlisted as safe or quarantined, with a report of actions taken
Requirements
- VIRUSTOTAL_API_KEY environment variable
Installation
clawhub install jacobthejacobs/skill-cleanerRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.