Overview
Thevalidate command provides a fast pass/fail validation check. Unlike evaluate, it only reports errors without detailed scoring or verbose output, making it ideal for CI/CD pipelines and quick checks.
Usage
Arguments
Path to the skill directory. Defaults to current directory if not specified.
Options
Alias:
-sOnly run checks required by the Agent Skills specification. Skips quality suggestion checks.Examples
Validate current directory
Validate specific skill
Validate with spec-required checks only
Use in CI/CD pipeline
Output Format
The output is minimal and focused:Success
Failure
- Check ID in brackets
- Error message
Exit Codes
- 0: Validation passed (all checks passed)
- 1: Validation failed (one or more checks failed) or error occurred
Notes
The skill directory must contain a
SKILL.md file. If not found, the command will exit with an error.validate runs the same checks as evaluate but only reports errors, making it faster and more suitable for automation.Comparison: validate vs evaluate
| Feature | validate | evaluate |
|---|---|---|
| Speed | Fast | Moderate |
| Output | Errors only | Full report with scores |
| Verbosity | Minimal | Detailed |
| Best for | CI/CD, quick checks | Development, debugging |
| JSON output | No | Yes |
| Scoring | No | Yes (0-100) |
Related Commands
- sklab evaluate - Full quality report with scoring
- sklab list-checks - View all available checks