Skip to content
Arxo Arxo

Metrics & Output

Error: “Unknown metric: foo”

Solution: List available metrics:

Terminal window
arxo metrics list

Use correct IDs (e.g. agent_architecture, openclaw_architecture) in your config.


Symptoms: Metric always returns 0 or empty.

Causes:

  1. No agent sites detected — Agent Architecture needs detected agent call sites. See Scoring and Keys.
  2. Inspect results: arxo analyze --format json | jq '.results[] | select(.id=="agent_architecture")'

Error: “Unexpected token in JSON”

Solution: Use --quiet or write to file:

Terminal window
arxo analyze --format json --quiet
# or
arxo analyze --format json --output report.json

Solutions:

  1. Open in browser: open report.html (macOS), xdg-open report.html (Linux), start report.html (Windows).
  2. Check file size: ls -lh report.html (should be > 1KB).
  3. Validate: head -n 20 report.html should start with <!DOCTYPE html>.