context-budget

Audit Claude Code context usage across agents, skills, MCP servers, and rules.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/lllooollpp/solopreneur- --skill context-budget-lllooollpp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context-budget
Source: https://github.com/lllooollpp/solopreneur-/tree/main/solopreneur/data/skills/context-budget
Command: npx skills add https://github.com/lllooollpp/solopreneur- --skill context-budget-lllooollpp

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Audits Claude Code context window consumption across agents, skills, MCP servers, and rules to identify bloated context and reclaim tokens.

Core Features & Use Cases

  • Inventory: scans Agents (agents/.md), Skills (skills//SKILL.md), Rules (rules/**/*.md), MCP Servers (.mcp.json or active MCP config), and CLAUDE.md chain to estimate token costs.
  • Classification: buckets components into Always needed, Sometimes needed, Rarely needed, guiding lazy-loading and removal decisions.
  • Recommendations: surface prioritized token-savings opportunities and actionable changes to reduce context footprint.

Quick Start

Run the context-budget analysis to scan your project and generate a prioritized savings plan.

Frequently Asked Questions about context-budget

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

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

The audit classifies components into Always needed, Sometimes needed, and Rarely needed buckets. This classification guides lazy-loading decisions and identifies redundant content for removal to optimize context usage.

What is the best way to estimate token costs for MCP servers and project rules?

Yes, the context audit applies to larger project deployments where multiple components contribute to context overhead. It scales to analyze the entire CLAUDE.md chain and active MCP configurations for targeted token reductions.

How do I identify which Claude Code skills are consuming the most tokens?

To identify token-heavy skills, run a context-budget analysis that scans skills/*/SKILL.md files. The analysis counts token costs per skill and flags heavy files, generating a prioritized savings plan to reduce your context footprint.

What are the limitations of token optimization audits for agent configurations?

Token optimization audits are limited to estimating context costs for agents/*.md files and active MCP configurations. They provide prioritized savings recommendations but require manual implementation of removal or lazy-loading decisions to actually reclaim tokens.