Context Budget — Development skill for Claude Code
Analyze context window usage across agents, skills, MCP servers, and rules to find optimization opportunities.
How to install Context Budget
Installs to ~/.claude/skills/ysyecust-everything-claude-code-context-budget/SKILL.md
mkdir -p ~/.claude/skills/ysyecust-everything-claude-code-context-budget && curl -fsSL https://raw.githubusercontent.com/ysyecust/everything-claude-code/HEAD/commands/context-budget.md -o ~/.claude/skills/ysyecust-everything-claude-code-context-budget/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Context Budget does
description: Analyze context window usage across agents, skills, MCP servers, and rules to find optimization opportunities. Helps reduce token overhead and avoid performance warnings.
Context Budget Optimizer
Analyze your Claude Code setup's context window consumption and produce actionable recommendations to reduce token overhead.
Usage
/context-budget [--verbose]
- Default: summary with top recommendations
--verbose: full breakdown per component
$ARGUMENTS
Wh
Alternatives in Development
- Doctor — Environment diagnostics with interactive fixes — providers, auth, RTK, hooks, token optimization 2.8k ★
- WP Performance — WordPress performance optimization 902 ★
- Claude Modular — Production-ready modular Claude Code framework with 30+ commands, token optimization, and MCP server integrati 274 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Token Guard
Automatic Claude Code hooks to reduce token waste — block heavy files, context warnings, cost logging
Cost Estimate
Per-session token-overhead estimator (BL-READINESS-001 sibling). Breaks down the fixed context cost a session
Analyze Tfe Perf
Analyze TFE performance and identify optimization opportunities
Context Engineer
Context engineering agent — researches context window optimization from arxiv, builds token-efficient context
Mem Status
Check memory system health, token overhead, and current session activity
Matcha:Off
🍵 Disable matcha — completely silent, zero token overhead
Related Agents
Context Optimizer
Meta utility agent for token and context optimization. Spawn when needing to compress agent prompts, optimize
File Analyzer
Use this agent when you need to analyze and summarize file contents, particularly log files or other verbose o
Agent Harness Optimizer
Context window, token budget, and agent harness optimization specialist. Analyzes transcript bloat, tunes prom