sklab scan#

Security-focused scan with BLOCK / SUS / ALLOW status per skill.

Usage#

bash
sklab scan [SKILL_PATH] [OPTIONS]

Runs the 5 security checks — prompt injection, evaluator manipulation, unicode obfuscation, YAML anomalies, and suspicious size/structure — and classifies each skill as BLOCK, SUS, or ALLOW. BLOCK triggers a non-zero exit so you can wire it into pre-merge checks.

Arguments#

ArgumentRequiredDescription
SKILL_PATHnoPath to the skill directory. Defaults to the current directory.

Options#

FlagValueDescription
--all, -aflagScan every skill under the current directory.
--verbose, -vflagShow findings for SUS skills in addition to BLOCK (bulk mode only).

Examples#

Scan one skill

bash
$ sklab scan ./my-skill

Audit every skill

bash
$ sklab scan --all

Output#

Per-skill status: BLOCK on injection / jailbreak / unicode / YAML / evaluator findings; SUS on size or structure anomalies only; ALLOW if no findings.

Exit Codes#

CodeMeaning
0ALLOW or SUS only.
1One or more skills classified BLOCK.