context-budget

Audit token consumption across agents, skills, rules, and MCP servers.

Updated Jul 8, 2026
One-click install
npx skills add https://github.com/ZESCODE/Zes-Orchestration-System --skill context-budget-zescode
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context-budget
Source: https://github.com/ZESCODE/Zes-Orchestration-System/tree/main/.agents/skills/context-budget
Command: npx skills add https://github.com/ZESCODE/Zes-Orchestration-System --skill context-budget-zescode

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses the issue of context window bloat in Claude Code sessions, helping you identify and remove redundant agents, skills, and MCP servers that consume valuable token space.

Core Features & Use Cases

  • Component Inventory: Automatically scans and calculates token overhead for agents, skills, rules, and MCP servers.
  • Optimization Analysis: Classifies components by necessity and flags bloated descriptions or redundant configurations.
  • Use Case: If your AI session feels sluggish or you are approaching context limits, use this skill to generate a prioritized report of which MCP servers or agents can be removed to regain headroom.

Quick Start

Run the context-budget skill to analyze your current session and receive a report on potential token savings.

Frequently Asked Questions about context-budget

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

FAQPage Schema
How do I optimize AI context window usage and reduce token consumption?

Optimize AI context usage by auditing token consumption across agents, skills, rules, and MCP servers to identify context bloat and remove redundant components that consume valuable token space.

Why does my Claude Code session feel sluggish or hit context limits?

Claude Code sessions feel sluggish when context window bloat occurs from loading too many agents, skills, or MCP servers, causing the total token usage to approach or exceed the available context limits.

How do I check which MCP servers and agents are using the most tokens?

Check token usage by scanning local configuration files and directory structures to calculate token overhead for each component, generating a prioritized report of which MCP servers or agents consume the most space.

What is the best way to free up token space in Claude Code sessions?

The best way to free up token space is to evaluate component necessity and remove bloated descriptions or redundant configurations, using a prioritized optimization analysis report to identify safe removals.

Can I analyze local configuration files to estimate total token usage for agents and rules?

Yes, you can analyze local configuration files and directory structures to estimate total token usage, calculating the specific overhead for individual agents, skills, rules, and MCP servers.

What should I do if my MCP server descriptions are bloated and consuming too many tokens?

If MCP server descriptions are bloated, run an optimization analysis to classify components by necessity and flag redundant configurations, providing actionable recommendations for reducing overhead and reclaiming headroom.