View historical context usage data and trends
View historical context usage data and trends to analyze your Claude Code session patterns, compare current usage against personal averages, and identify optimization opportunities.
/plugin marketplace add vzwjustin/Claudecontext/plugin install vzwjustin-context-window-manager@vzwjustin/ClaudecontextShow historical context window usage data from previous sessions.
Check for Log Files Look for context usage logs in:
~/.claude/context-logs/usage.jsonl~/.claude/context-logs/sessions.log~/.claude/logs/ directoryDisplay Historical Data If logs exist, show:
Current vs Historical Compare current session to:
Insights
Visualize Trends Create a simple ASCII chart showing usage over time:
Token Usage Over Last 10 Sessions
200K ┤ ╭─╮
150K ┤ ╭─╯ ╰╮
100K ┤ ╭─╯ ╰─╮
50K ┤─╯ ╰─
0K ┴─────────────
1 2 3 4 5 6 7 8 9 10
If no historical data exists, explain:
Be informative about what data is available and what insights can be derived.