Claude project file bloat causes token explosion; skill partitioning reduces size by 90%
SoCal_Hunter · reddit · 2026-08-30
In large projects, the Claude.md file grows naturally (recording rules, status updates), causing every new session to ingest massive context, hitting limits or spiking costs. The author experimented with the skills mechanism to partition the project into virtual skills (e.g., separate files for UI, DB, art assets), loading only relevant sections. This reduced the Claude.md size by 90%.
More from coding & agent
- Claude Code + ARIA via MCP: debugging agent evals from 4/12 to 9/12 — CoreWeaveDevs · 2026-12-02
- GitHub Copilot Fusion Max reportedly tops Terminal-Bench at 71.2% while undercutting rivals — DanWahlin · 2026-12-02
- Ali Ghodsi's 2016 take: the hardest part of AI is all the code around it — a16z · 2026-12-02
- Claude Opus 5.5 + Unreal Engine 5.9 used to rapid-prototype a "Wedding Videographer Simulator" — gorkem · 2026-12-02
- Dev builds Mac app that turns selected text into AI-designed posters, open-sourcing it soon — vista8 · 2026-12-02
- Every trains a writing skill on 185 posts that beats standard Claude skills 85% of the time — every · 2026-12-02