Skip to main content

/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

AttributeDetail
PersonaAny agent user, Meta-Engineering Expert
TriggerLong session, performance degradation, planning complex work
Business ValueKeep Claude effective by managing context budget proactively
FrequencyOn-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.