Scan Skill
by @itsnishi
Deep security analysis of an individual skill before installation
clawhub install scan-skillπ About This Skill
name: scan-skill description: Deep security analysis of an individual skill before installation disable-model-invocation: true allowed-tools: Read, Glob, Grep, Bash context: fork
scan-skill -- Individual Skill Analyzer
Perform deep security analysis of a single skill directory before installation. Checks for all known injection techniques from AI agent security research.
What to do
Run the scanner against the target skill directory:
python3 "$SKILL_DIR/scripts/scan_skill.py" "$ARGUMENTS"
Where $ARGUMENTS is the path to the skill directory to analyze.
If no argument is provided, prompt the user for the path to the skill they want to scan.
What it checks
Output
Structured report with severity-ranked findings and specific recommendations per finding. Includes frontmatter analysis summary and supporting file inventory.
When to use
Advisory hooks
The repository's .claude/settings.json includes PreToolUse hooks that warn on
dangerous Bash and Write operations. These hooks are advisory only -- they
produce warnings but do not block execution.
{"decision": "block"}