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#

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

Options#

FlagValueDescription
--spec-only, -sflagValidate only against the Agent Skills spec (skip quality suggestions).
--all, -aflagCheck every skill under the current directory.
--repoflagCheck every skill from the git repo root.

Examples#

CI gate

bash
$ sklab check ./my-skill

Pre-commit (all skills)

bash
$ sklab check --all

Spec-only in CI

bash
$ sklab check --repo --spec-only

Exit Codes#

CodeMeaning
0All checks passed.
1One or more checks failed, or a CLI error occurred.