/context-health
Monitor Claude Code context window budget usage and identify optimization opportunities. Shows how much context is consumed by rules, skills, memory, and conversation — helping prevent the ~95% degradation threshold.
Benefits
- Prevent context-induced instruction loss
- Identify which files consume most budget
- Guide /compact and subagent delegation decisions
When to Use
| Attribute | Detail |
|---|---|
| Persona | Any agent user, Meta-Engineering Expert |
| Trigger | Long session, performance degradation, planning complex work |
| Business Value | Keep Claude effective by managing context budget proactively |
| Frequency | On-demand (when session feels slow or instructions are being ignored) |
Example: Midway through a complex implementation session, I notice Claude missing governance rules. I run /context-health and discover context is at 87% — time to /compact or delegate to subagents.