Set up context usage alerts and thresholds
Configure automatic alerts for context window usage at custom thresholds. Set up warnings when approaching limits to prevent truncation and optimize token usage.
/plugin marketplace add vzwjustin/Claudecontext/plugin install vzwjustin-context-window-manager@vzwjustin/ClaudecontextConfigure context window usage alerts and monitoring thresholds.
Help me set up automatic alerts when context usage reaches certain thresholds.
Check if alerts are configured:
~/.claude/context-manager/config.jsonSuggest default settings:
{
"alerts": {
"enabled": true,
"thresholds": {
"warning": 60,
"critical": 85
},
"notify_increments": 10,
"methods": ["inline", "log"],
"custom_message": "Context usage at {usage}% - consider optimization"
}
}
If user wants automatic monitoring:
hooks/hooks.json with PostToolUse hookWould you like me to:
Let me know your preference or any specific thresholds you want to set.