skillwarden scan
skillwarden scan [paths...]Runs the six scan rules against every resolved skill. With no paths, well-known skill directories are auto-discovered.
| Flag | Default | Description |
|---|---|---|
--format <table|json|sarif> |
table |
Output format |
-o, --output <file> |
stdout | Write output to a file |
--fail-on <low|medium|high|critical> |
high |
Findings at/above this severity exit 1 |
Output formats
Section titled “Output formats”JSON: array of { skill, path, findings: [{ ruleId, severity, message, file, line?, snippet? }] }.
SARIF: SARIF 2.1.0, suitable for GitHub code scanning upload:
skillwarden scan --format sarif -o report.sarifExamples
Section titled “Examples”skillwarden scan # auto-discover, terminal tableskillwarden scan path/to/skill # a single skill (dir or SKILL.md)skillwarden scan --format json # machine-readable reportskillwarden scan --fail-on medium # stricter gateExit 0 when clean, 1 when findings at/above --fail-on exist, 2 on usage or
environment errors.