context-budget

Audit token overhead across Claude Code components and generate a prioritized Context Budget Report.

Updated Apr 2, 2026
One-click install
npx skills add https://github.com/richardnpaul/everything-vscode-copilot --skill context-budget-richardnpaul
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: context-budget
Source: https://github.com/richardnpaul/everything-vscode-copilot/tree/main/.github/skills/context-budget
Command: npx skills add https://github.com/richardnpaul/everything-vscode-copilot --skill context-budget-richardnpaul

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Audits token overhead across Claude Code components (agents, skills, MCP servers, and rules) to identify wasteful usage, reduce context bloat, and improve session performance.

Core Features & Use Cases

  • Inventory-based analysis across Agents, Skills, Rules, MCP servers, and CLAUDE.md to estimate token consumption, flag heavy elements, and detect overlaps.
  • Generate a prioritized Context Budget Report with actionable token-savings recommendations for rebalancing components.
  • Use when session performance falters, when new skills are added, or when planning to scale MCP servers to ensure headroom.

Quick Start

Run /context-budget to generate a live context budget assessment.

Frequently Asked Questions about context-budget

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

FAQPage Schema
How do I audit token usage in Claude Code to reduce context window overhead?▼

To audit token usage in Claude Code, run a context budget analysis to inventory agents, skills, rules, and MCP servers. This identifies heavy elements and produces a prioritized report with actionable recommendations to reclaim context window space.

Why does my Claude Code session performance degrade when I add new skills?▼

Session performance degrades when new skills increase token overhead and cause context bloat. Auditing context usage detects overlaps and heavy elements across components, generating recommendations to rebalance the load and restore session responsiveness.

What is the best way to analyze MCP server token consumption in Claude Code?▼

The best way to analyze MCP server token consumption is to run a context budget audit that evaluates .mcp.json configurations alongside agents and rules. This estimates token usage and flags heavy servers to ensure you maintain enough context headroom.

How do I identify which rules or agents are consuming the most tokens?▼

You can identify high token consumers by generating a Context Budget Report that inventories agents, skills, rules, and CLAUDE.md files. The report estimates token consumption for each element and flags the heaviest ones for prioritized optimization.

Can I optimize my CLAUDE.md file to free up context window space?▼

Yes, you can optimize CLAUDE.md to free up context window space by running a context budget audit. The analysis includes CLAUDE.md in its inventory to detect wasteful usage and overlaps, providing prioritized savings recommendations to reduce bloat.

When should I run a context budget analysis on my Claude Code environment?▼

You should run a context budget analysis when session performance falters, after adding new skills, or before scaling MCP servers. This ensures you identify wasteful token usage early and maintain adequate context headroom for future operations.