What problem does it solve?
This Skill prevents costly 413 context overflow errors by proactively monitoring token usage, compressing chat history, and intelligently routing tasks to sub-agents, especially optimized for Discord's high token burn rate.
Core Features & Use Cases
- Proactive Token Monitoring: Automatically checks session token usage at regular intervals.
- Intelligent Compression: Compresses chat history to memory files when token thresholds are approached, with new idempotent compression to prevent data loss.
- Durable State Separation: Critical information like API keys and configurations are saved separately and never compressed.
- Sub-Agent Routing: Offloads heavy computational tasks to sub-agents to save tokens.
- Discord Optimization: Features aggressive thresholds and image blocking for Discord environments.
- Use Case: Ensure your AI assistant remains responsive and avoids crashes during long, active Discord conversations by automatically managing token usage and compressing older messages.
Quick Start
Use the session-health-monitor skill to automatically manage your Discord session's token usage.