Skip to main content

Overview

The validate 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
Path to the skill directory. Defaults to current directory if not specified.

Options

boolean
default:false
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

Only failed checks are displayed with:
  • 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