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
- Simon Willison: code mode is the future of tool calling, if it can be sandboxed — springrod · 2026-10-16
- Agent named 'Ilya' reportedly scores 1.1pt higher on benchmarks — daniel_mac8 · 2026-10-16
- A plain notes.md fixed my agent's cross-session amnesia better than chat history — rahul_watertech · 2026-10-16
- Gemini CLI fix: substring matching inlined unrequested binary files into model context — priyanshu1976 · 2026-10-16
- Building AI agents on real healthcare claims data: the domain work that makes them work — alex_verem · 2026-10-16
- OpenAI stealth-testing mysterious internal model 'Aeon' in Codex desktop app and Dots — cedric_chee · 2026-10-16