context_status

Parse Claude Code compaction logs to quantify token usage and context size trends.

Updated Apr 23, 2026
One-click install
npx skills add https://github.com/EndUser123/cc-skills-utils --skill context-status-enduser123
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context_status
Source: https://github.com/EndUser123/cc-skills-utils/tree/main/skills/context-status
Command: npx skills add https://github.com/EndUser123/cc-skills-utils --skill context-status-enduser123

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill gathers and analyzes compaction timing data to reveal how Claude Code uses context, enabling precise measurement of token consumption and context growth.

Core Features & Use Cases

  • Context usage analysis: parse compaction logs to compute total tokens used, compaction frequency, and context size trends.
  • Insights for optimization: identify patterns that inform context window management and token budgeting.
  • Use Case: run on session logs to compare daily context usage and spot spikes.

Quick Start

Analyze your Claude Code session logs to generate context usage statistics.

Frequently Asked Questions about context_status

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I parse Claude Code compaction logs to analyze token usage?

You can parse Claude Code compaction logs to analyze token usage by processing session log datasets to compute total tokens used, compaction frequency, and context size trends using PowerShell for deterministic log parsing.

What is context compaction timing analysis and how does it work?

Context compaction timing analysis quantifies how Claude Code uses context by parsing session logs to measure token consumption and context growth, revealing patterns that inform context window management and token budgeting.

Can I use PowerShell to compute context size trends from session logs?

Yes, you can use PowerShell to compute context size trends from session logs. It parses compaction logs deterministically to calculate average context size, compaction frequency, and token-usage trends with optional per-category breakdowns.

How do I quantify Claude Code token consumption and identify usage spikes?

To quantify Claude Code token consumption and identify usage spikes, run context usage analysis on session log datasets to compare daily context usage and compute total tokens used alongside compaction frequency.

Does this context analytics approach support per-category breakdowns?

Yes, this context analytics approach supports per-category breakdowns. It parses compaction logs to compute token-usage trends and average context size, allowing you to segment the structured reporting by specific categories.

What is the best way to measure context window management and token budgeting needs?

The best way to measure context window management and token budgeting needs is to analyze compaction timing data from session logs, which identifies patterns in token consumption and context growth to inform optimization strategies.