Title here
Summary here
Validate an agent file
Validate an agent definition file for required fields and format.
Checks for required fields, valid YAML frontmatter, and common issues. Use –strict for additional checks beyond the basic requirements.
Exit codes: 0 - Valid agent (warnings OK) 1 - Invalid agent or validation errors
Examples:
aix agent validate ./AGENT.md
aix agent validate ./AGENT.md –strict
aix agent validate ./AGENT.md –json
aix agent validate <path> [flags] -h, --help help for validate
--json output results as JSON
--strict enable strict validation mode --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)