Feature Request: Add /context --watch with tunable refresh interval

Resolved 💬 3 comments Opened Mar 13, 2026 by gthosaniNetskope Closed Apr 12, 2026

Feature Request

Add a --watch flag to the /context command that enables continuous auto-refresh of context usage statistics.

Motivation

Currently, monitoring token usage requires manually running /context repeatedly. For users working on long sessions or wanting to keep an eye on context consumption in real-time, an auto-refresh mode would be valuable.

Proposed Solution

Add a --watch flag to the /context command:

/context --watch [interval]

Behavior

  • Continuously refresh and display context usage statistics
  • Clear screen and update in place (similar to watch command behavior)
  • Default interval: 60 seconds (1 minute)
  • Configurable interval in seconds (e.g., /context --watch 30 for 30-second updates)
  • Exit with Ctrl+C or q

Example Usage

/context --watch          # refresh every 60 seconds (default)
/context --watch 30       # refresh every 30 seconds
/context --watch 120      # refresh every 2 minutes

Benefits

  • Real-time monitoring of token consumption
  • Better awareness of context usage patterns
  • Helps users optimize their workflows
  • No need for manual repeated checks

Alternative Considerations

  • Could also be implemented as a persistent display option in settings
  • Could add min/max bounds on interval (e.g., 10s minimum, 5min maximum)

---
This issue was filed via Claude Code

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗