Context Window Tracker is a skill for developers using OpenClaw who need visibility into token consumption during active sessions. It reads the underlying session .jsonl files to produce accurate usage reports rather than relying on estimates.
The skill operates in two modes. Compact mode outputs a single-line visual progress bar showing total token usage, percentage of context used, and estimated turns remaining. Detailed mode provides a deeper breakdown, attributing token consumption to specific system files such as SOUL.md or TOOLS.md, conversation history, and framework overhead — making it straightforward to identify what is consuming the context budget.
A Green/Yellow/Red health indicator signals whether the session has sufficient headroom to complete a current task or whether starting a fresh session is advisable. Trend analysis estimates remaining turns based on observed session velocity, giving a forward-looking view rather than just a snapshot. Cache hit rate tracking is also included, which can inform decisions about cost efficiency. An optional auto-check mode triggers a usage report automatically every 10 messages, reducing the need to invoke the skill manually.
This skill is specific to the OpenClaw environment and depends on access to session transcript files. It provides no tools that operate outside of monitoring and reporting on context usage within that environment.