sklab check#
Quick pass/fail check — exits 0 or 1, designed for CI pipelines.
Usage#
bash
sklab check [SKILL_PATH] [OPTIONS]Runs the same static checks as evaluate, skips the LLM step, and prints only high-severity failures. The non-zero exit code on failure makes it a drop-in gate for pre-commit hooks and CI jobs.
Arguments#
| Argument | Required | Description |
|---|---|---|
SKILL_PATH | no | Path to the skill directory. Defaults to the current directory. |
Options#
| Flag | Value | Description |
|---|---|---|
--spec-only, -s | flag | Validate only against the Agent Skills spec (skip quality suggestions). |
--all, -a | flag | Check every skill under the current directory. |
--repo | flag | Check every skill from the git repo root. |
Examples#
CI gate
bash
$ sklab check ./my-skillPre-commit (all skills)
bash
$ sklab check --allSpec-only in CI
bash
$ sklab check --repo --spec-onlyExit Codes#
| Code | Meaning |
|---|---|
0 | All checks passed. |
1 | One or more checks failed, or a CLI error occurred. |