context-budget

Analyze Claude Code context window usage and identify token bloat.

Updated Nov 19, 2025
One-click install
npx skills add https://github.com/Sake-Team/SmartSake --skill context-budget-sake-team
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context-budget
Source: https://github.com/Sake-Team/SmartSake/tree/main/backup/skills/context-budget
Command: npx skills add https://github.com/Sake-Team/SmartSake --skill context-budget-sake-team

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

The context-budget skill identifies inefficiencies in Claude Code's context window consumption, providing recommendations to reduce token bloat and enhance overall system performance.

Core Features & Use Cases

  • Context Window Auditing: Analyzes context usage across agents, skills, MCP servers, and rules.
  • Identifies Bloat and Redundancies: Detects excessive token consumption, redundant components, and unnecessary tools.
  • Prioritized Recommendations: Generates actionable suggestions for optimizing context usage.
  • Use Case: After adding several skills and agents, this skill can help determine where context bloat is occurring and how to optimize it for better performance.

Quick Start

Run the /context-budget command to analyze context usage in Claude Code.

Frequently Asked Questions about context-budget

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

FAQPage Schema
How do I optimize Claude Code context window usage and reduce token bloat?

To optimize Claude Code context window usage, run the /context-budget command to analyze token bloat across agents, skills, MCP servers, and rules. It generates prioritized recommendations to eliminate redundant components and reduce overhead.

Why does my Claude Code performance degrade after adding multiple agents and skills?

Performance degrades after adding agents and skills due to context window bloat from redundant components and unnecessary tools. Context budget auditing identifies excessive token consumption across these components to restore optimal efficiency.

How do I audit context consumption across MCP servers and rules in Claude Code?

Auditing context consumption across MCP servers and rules requires running the /context-budget command. This analyzes token usage across all components, identifying inefficiencies and unnecessary tools that cause context bloat.

Can I identify which skills or agents are causing excessive token consumption in Claude Code?

Yes, you can identify skills or agents causing excessive token consumption by analyzing context window usage. The context-budget audit detects redundant components and unnecessary tools, providing actionable suggestions for optimization.

When should I run a context budget audit for Claude Code performance optimization?

Run a context budget audit when you notice performance degradation after adding multiple agents, skills, or MCP servers. It identifies token bloat and redundant components early, ensuring efficient context window usage and maintaining system performance.