cco-budget

Installation
SKILL.md

Context Budget Manager

Manage the token budget for Claude Code sessions. Now model-aware — picks the right effective context window per model. Opus 4.7/4.8 and Sonnet 4.6 are all 1M; Haiku 4.5 is 200K.

Parse $ARGUMENTS:

status (or no arguments)

Show current budget config + auto-compact settings:

cat ~/.claude-context-optimizer/config.json 2>/dev/null
echo "---"
cat ~/.claude-context-optimizer/budget-config.json 2>/dev/null

If no config exists, show defaults (200K working budget on Opus 4.8's 1M window, warn at 50/70/85/95%).

Installs
136
GitHub Stars
70
First Seen
Mar 23, 2026
cco-budget — egorfedorov/claude-context-optimizer