aix skill validate

aix skill validate

Validate a skill file

Synopsis

Validate a skill file without installing it.

Parses and validates the skill at the given path against the Agent Skills Specification. The path should be a directory containing a SKILL.md file.

Use –strict to also validate allowed-tools syntax. Use –json for machine-readable output.

Exit codes: 0 - Skill is valid 1 - Skill validation failed

aix skill validate <path> [flags]

Examples

  # Validate skill in current directory
  aix skill validate .

  # Validate skill in specific directory
  aix skill validate ./my-skill

  # Strict validation (checks allowed-tools syntax)
  aix skill validate ./my-skill --strict

  # Output validation results as JSON
  aix skill validate ./my-skill --json

  See Also:
    aix skill init     - Create a new skill
    aix skill install  - Install a skill

Options

  -h, --help     help for validate
      --json     output results as JSON
      --strict   enable strict validation (validates allowed-tools syntax)

Options inherited from parent commands

      --log-file string     write logs to file in JSON format
      --log-format string   log format: text, json (default "text")
  -p, --platform strings    target platform(s): claude, opencode (default: all detected)
  -q, --quiet               suppress non-error output
  -v, --verbose count       increase verbosity level (e.g., -v, -vv)

SEE ALSO

Auto generated by spf13/cobra on 24-Jan-2026