Context Health
Overview
Provide a consistent diagnostic workflow for cortex environments: verify config integrity, detect duplicates, surface redundancies, and report actionable issues.
When to Use
-
Checking system health after changes to agents, modes, or rules
-
Troubleshooting unexpected cortex behavior
-
Performing periodic maintenance checks
Avoid when:
- The task is unrelated to cortex configuration or context
Quick Reference
Task Load reference
Environment diagnostics skills/context-health/references/doctor.md
Workflow
-
Confirm target scope and environment.
-
Load the diagnostics reference.
-
Run checks and gather findings.
-
Summarize issues by severity.
-
Recommend fixes and next steps.
Output
-
Diagnostic report with severity levels
-
Recommended fixes or follow-up actions
Common Mistakes
-
Running fixes without reviewing findings
-
Skipping context scope verification