What problem does it solve?
This Skill measures fixed-context token consumption in Claude Code configurations, identifies the largest sources of overhead such as global and project CLAUDE.md, .claude/rules, MEMORY.md, and noisy hooks, and produces a prioritized action plan to reduce token usage and improve session capacity.
Core Features & Use Cases
- Quantify fixed context: Calculate byte and token estimates for ~/.claude files, project CLAUDE.md, all files in .claude/rules, and MEMORY.md to produce a total fixed-context budget.
- Classify rules: Produce a size-sorted classification (ALWAYS / SOMETIMES / RARELY / NEVER) for .claude/rules files with short reasoning to guide lazy-loading or removal.
- Audit hooks: Detect PreToolUse/PostToolUse hooks, estimate stdout size per call, and surface hooks that inject excessive context.
- Use Case: Run after a configuration surge or when sessions compress early to reclaim session tokens and prioritize low-effort savings.
Quick Start
Run the token-audit procedure to measure fixed-context token usage and generate a prioritized savings action plan for this project.