SkillScan

Security gate for skills. Every new skill MUST pass SkillScan before use. Activate on any install, load, add, evaluate, or safety question about a skill. On...

tokauthai

@tokauthai

What This Skill Does

Security gate that scans every new skill before it can be used. Blocks any skill rated HIGH or CRITICAL and requires all existing skills to be scanned on first run.

Replaces manual security reviews and trust-based approvals by enforcing automated risk scoring on every skill installation.

When to Use It

  • Scan a newly downloaded .zip skill before installing it
  • Run a first-time scan of all currently installed skills
  • Check whether an unknown skill mentioned by a user is safe
  • Verify a skill after copying it into the skills directory
  • Evaluate a skill installed from a remote hub or store

Install

$ openclaw skills install @tokauthai/skillscan

SkillScan v1.1.6

Security check for skill packages. Every new skill must pass this scan before use.

Implemented in scripts/scanner.py. Supports Windows / macOS / Linux.

Do NOT generate report files inside the skill directory.


When to Activate

Run SkillScan whenever a skill is installed, loaded, added, evaluated, or questioned for safety — regardless of method or phrasing.

Trigger examples: install, load, add, use, set up, "is this safe", upload .zip/.skill, paste SKILL.md, mention unknown skill name, install from hub/store.


First Load

Check scripts/.first_run_done:

  • Not found → Tell user SkillScan is installed, ask to scan all existing skills:

    python <skill_scanner_dir>/scripts/scanner.py first-run
    

    .first_run_done is created automatically after completion.

  • Found → Skip, operate normally.


Commands

CommandUsage
scanner.py scan <path>Scan a single skill (.zip or directory)
scanner.py scan-allScan all installed skills
scanner.py first-runFirst-time full scan
scanner.py upgradeManual upgrade

Scan Rules

  • .zip files → Scan BEFORE installation. Block if fails.
  • Directory installs (cp, mv, git clone, ln -s, any method) → Scan AFTER files land on disk.
  • Remote installs (clawhub, skillhub, npx skills add, etc.) → Scan immediately after install.
  • Unknown skills → If user mentions a skill you haven't seen, scan it.

Exit Codes

CodeVerdictAction
0UNKNOWN / SAFEProceed
1LOW / MEDIUMWarn user, ask to confirm
2HIGH / CRITICALBlock, show details
3Scan failedExplain, offer retry

Auto Update

Checks for updates every day automatically. Silent, no user action needed. Manual: scanner.py upgrade.


Environment Variables

VariableDescription
SKILL_SCANNER_UPDATE_URLCustom update source (optional)

API

Base URL: https://skillscan.tokauth.com

StepMethodPath
① Cache lookupGET/oapi/v1/skill-scan/search?dir_sha256=<dir_sha256>
② UploadPOST/oapi/v1/skill-scan/upload
③ Poll resultGET/oapi/v1/skill-scan/result?task_no=<task_no> (poll every 20s, max 180s)

Top skills in this category