๋ณธ๋ฌธ์œผ๋กœ ๊ฑด๋„ˆ๋›ฐ๊ธฐ
ๅฐ้พ™่™พๅฐ้พ™่™พAI
๐Ÿค–

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...

ไธ‹่ฝฝ179.5k
ๆ˜Ÿๆ ‡39
็‰ˆๆœฌ1.1.6
ๅฎ‰ๅ…จๅˆ่ง„
ๅฎ‰ๅ…จ้€š่ฟ‡

ๆŠ€่ƒฝ่ฏดๆ˜Ž


name: SkillScan metadata: version: "1.1.6" description: > 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 first load, run first-run to scan all existing skills. Blocks HIGH/CRITICAL skills. No exceptions.

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)

ๅฆ‚ไฝ•ไฝฟ็”จใ€ŒSkillScanใ€๏ผŸ

  1. ๆ‰“ๅผ€ๅฐ้พ™่™พAI๏ผˆWeb ๆˆ– iOS App๏ผ‰
  2. ็‚นๅ‡ปไธŠๆ–นใ€Œ็ซ‹ๅณไฝฟ็”จใ€ๆŒ‰้’ฎ๏ผŒๆˆ–ๅœจๅฏน่ฏๆก†ไธญ่พ“ๅ…ฅไปปๅŠกๆ่ฟฐ
  3. ๅฐ้พ™่™พAI ไผš่‡ชๅŠจๅŒน้…ๅนถ่ฐƒ็”จใ€ŒSkillScanใ€ๆŠ€่ƒฝๅฎŒๆˆไปปๅŠก
  4. ็ป“ๆžœๅณๆ—ถๅ‘ˆ็Žฐ๏ผŒๆ”ฏๆŒ็ปง็ปญๅฏน่ฏไผ˜ๅŒ–

็›ธๅ…ณๆŠ€่ƒฝ