/status & /context (Claude Code slash commands)
Two complementary Claude Code slash commands to pilot the context window live. `/status` returns a color-coded line (green <40%, orange 40-70%, red >70%) showing the fill percentage in real time. `/context` breaks down exactly what is occupying the window, system prompt, connected MCP servers, conversation history, Read files, so you can decide what to drop. Operationalizes the dump-zone threshold documented in context-window.
Strengths
- Zero install, zero config, native slash commands of the Claude Code runtime
- Color-coded /status gauge aligned on the documented dump-zone threshold (orange at 40%)
- /context surfaces hidden costs (MCP servers, accumulated Read files) often invisible
Limitations
- Terse official documentation, exact thresholds not spec in the Anthropic docs
- No automatic alert, you must type the command, the runtime doesn't warn spontaneously
Best for
- Long Claude Code sessions or sessions with large Read files to avoid abrupt dump-zone cutoffs
- Context cost audit: deciding which MCP servers to keep connected locally vs disconnect