---
name: ecc-context-budget
description: Audits context window consumption across agents, skills, MCP servers, and rules. Identifies bloat, redundant components, and produces prioritized token-savings recommendations.
---

# Context Budget

Audits and optimizes context window usage.

## When to Activate
- Context window is filling up
- Agent responses becoming slow or truncated
- Too many skills, MCP servers, or rules loaded
- Need to reduce token consumption

## Audit Steps
1. List all loaded skills, MCP servers, rules
2. Measure estimated token cost of each
3. Identify duplicates and redundancies
4. Prioritize removal by value/token ratio
5. Produce ranked removal recommendations

## Optimization Strategies
- Remove unused skills (50-500 tokens each)
- Consolidate similar skills
- Move large reference data to external files
- Use shorter skill descriptions
- Reduce MCP server count

## Recommended Max Budget
| Component | Suggested Max |
|-----------|--------------|
| Skills | 10-15 |
| MCP servers | 3-5 |
| Rules | 1-3 |
| Memory | 2-3 KB |
