Use the right doctor posture
- `openclaw doctor --json` is advisory and read-only.
- `openclaw doctor --lint --json` is intended for threshold-based CI gates.
- `openclaw doctor --fix` may edit config or state; back up and read the proposed repair first.
- `openclaw doctor --deep` broadens inspection and can take longer.
Collect evidence without leaking credentials
Prefer structured JSON and official diagnostics export. Remove tokens, API keys, authorization headers, phone numbers, usernames, hostnames, public IPs, home paths, and private endpoints before sharing a report. The local tool masks common patterns again on copy.
openclaw doctor --json
openclaw gateway status --json
openclaw channels status --probeCommon questions
Before you act
Does a green result prove the installation is secure?
No. It only means the checks represented in that report did not return a supported finding.
Can I paste arbitrary logs?
Use the smallest relevant excerpt. Unknown formats are redacted and returned with collection guidance rather than guessed diagnoses.
Primary sources
Verify against the owner.
Content snapshot follows official docs main at the recorded commit; the current package metadata reported 2026.8.1 when verified. Your installed release and live CLI schema remain authoritative.