cleo doctor
System health diagnostics (global checks, project registry, agent configs)Agent Relevance: High - Frequently used by LLM agents
Synopsis
Options
| Option | Description |
|---|---|
--global | Apply to global configuration |
--fix | Attempt automatic fixes |
--prune | Remove stale entries |
--format | Output format: text, json |
--verbose | Show detailed output |
This command supports JSON output via
--json flag for LLM agent integration.Examples
Exit Codes
| Code | Meaning | Recoverable |
|---|---|---|
0 | Success | No |
50 | Context warning (70-84%) | No |
51 | Context caution (85-89%) | No |
52 | Context critical (90-94%) | No |
100 | No data/results | No |
See Also
- Commands Index - Full command reference
- validate - Check integrity
- backup - Create backups
