| description | Analyze context window usage across agents, skills, MCP servers, and rules to find optimization opportunities. Helps reduce token overhead and avoid performance warnings. |
|---|
Analyze your Claude Code setup's context window consumption and produce actionable recommendations to reduce token overhead.
/context-budget [--verbose]
- Default: summary with top recommendations
--verbose: full breakdown per component
$ARGUMENTS
Run the context-budget skill (skills/context-budget/SKILL.md) with the following inputs:
- Pass
--verboseflag if present in$ARGUMENTS - Assume a 200K context window (Claude Sonnet default) unless the user specifies otherwise
- Follow the skill's four phases: Inventory → Classify → Detect Issues → Report
- Output the formatted Context Budget Report to the user
The skill handles all scanning logic, token estimation, issue detection, and report formatting.