statusline/context-monitor
Shows context usage with progress bars, colour-coded alerts, session cost and duration, and auto-compact warnings.
- Kind
- Setup
- Works with
- Claude Code
- Source
- Claude Code Templates @ 72e5f237f64d
- Path
- cli-tool/components/settings/statusline/context-monitor.json
- License
- MIT
- Jobs
- Context management
InstallInstall it by hand, following the source.
{
"description": "Real-time Claude Code context usage monitor with visual progress bars, color-coded alerts, session analytics (cost, duration, lines changed), and auto-compact warnings. Tracks conversation context consumption and provides visual feedback to prevent session interruptions.",
"statusLine": {
"type": "command",
"command": "python3 .claude/scripts/context-monitor.py"
}
}