Skip to content

agentstack doctor

Terminal window
agentstack doctor --profile-file <path>

The doctor command validates a canonical agentstack.yaml profile against the v3 schema. It reports errors, warnings, and suggestions covering:

  • Schema validation (required fields, correct types)
  • MCP server configuration (valid commands, reachable sources)
  • Skill sources (local files exist, remote URLs are valid HTTPS)
  • Provider settings (enabled providers have valid configs)
FlagTypeRequiredDescription
--profile-file <path>stringYesPath to the agentstack.yaml to validate

Validate the default profile:

Validate main profile
agentstack doctor \
--profile-file ~/.agentstack/profiles/main/agentstack.yaml

Validate a local profile file:

Validate local file
agentstack doctor --profile-file ./agentstack.yaml