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
- Reflection's Beam, a 501B-parameter open MoE model with 1M context, lands on Hugging Face under Apache 2.0 — QGallouedec · 2026-10-16
- 'LLM code is sloppy' rebutted with real ffmpeg code: identical if/else branches in a top library — kingslyj · 2026-10-16
- Office-editing tool calls need file, worktree and unit: lessons from dsh-univer-office — FunDistribution6537 · 2026-10-16
- Architect MD workflow: Gemini one-shot outputs that beat Opus, via 5-lens plan critique — oikk01 · 2026-10-16
- Prove a coding agent actually ran the tests: check artifacts, not approvals — ComprehensiveShake76 · 2026-10-16
- Building an acceptance harness for AI spreadsheet edits: allowlists, recalc checks, idempotency — ukdicha-modakkk · 2026-10-16