What problem does it solve? Long agent sessions silently degrade as the context window fills up, causing quality loss and truncated outputs. This Skill gives agents a concrete method to estimate token consumption, monitor budget thresholds, and adjust loading strategy before context quality collapses. ## Core Features & Use Cases - Token Estimation Tables: Provides per-line token estimates for code, Markdown, JSON/YAML, and comments, plus file-size categories that dictate whether to load fully, outline, or search first. - Budget Threshold Protocol: Defines four quality tiers (PEAK, GOOD, DEGRADING, POOR) mapped to context usage percentages, with specific actions and alerts at 50% and 70% usage. - Optimization Strategies: Implements progressive loading levels, just-in-time file loading, search-before-load, and summarize-and-reference patterns to minimize token spend. - Use Case: During a multi-file refactoring task, the agent tracks cumulative tokens in a Token Tracker table, switches to outline-only loading at 50% budget, and triggers a state dump with /pause at 70% to hand off to a fresh session. ## Quick Start Ask the agent to estimate the current token budget and recommend whether to load a large file fully or search it first.