Tool lets Claude Code users monitor context and usage limits in real time
Claude Code, Anthropic's AI coding assistant, does not display context window usage or Pro/Max plan rate limits to users, often causing unexpected interruptions mid-task. A developer has released an open-source npm package called cc-context-telemetry that taps into Claude Code's statusLine command, the only internal channel where this data is exposed. The tool displays context fill percentage, five-hour and seven-day usage limits, and reset countdowns directly in the user's status bar. It also writes session telemetry to a file that hooks and plugins can read, enabling automated actions such as checkpointing when context nears capacity. The package can be installed globally via npm and configured through Claude Code's settings.json file.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in