omitClaudeMd: true cuts Claude Code subagent context by 88% in developer test
daniel_mac8 · x · 2026-09-18
Developer Pavel Rabtsevich found a simple way to stretch Claude Code limits: Claude Code injects your project CLAUDE.md into every subagent, even when unneeded.
- Testing 10 identical subagents, adding omitClaudeMd: true to the YAML frontmatter dropped input/context by 88%
- Daniel Mac8 shared a ready-to-use prompt that scans .claude/agents/subagents and adds the flag only to agents that don't rely on project rules
Related event: omitClaudeMd Trick Cuts Claude Code Subagent Context 88%(3 posts)→
More from coding & agent
- Anthropic rolls out Claude Code Projects: one conversation coordinating parallel cloud sessions — ClaudeDevs · 2026-09-18
- Claude Code docs detail Projects: threads run in the cloud and keep going when you're offline — ClaudeDevs · 2026-09-18
- Anthropic rolls out Claude Code Projects: parallel cloud sessions that split and resume work — ClaudeDevs · 2026-09-18
- Live at VS Live: deploying an AKS app with GitHub Copilot doing the heavy lifting — DanWahlin · 2026-09-18
- Claimed GPT-6 'Astra' Autonomously Cracks Unsolved 1941 German Enigma Message — tdhopper · 2026-09-18
- Testing typesafeai's Jev: Can It Categorize Input on Every Keystroke? — stefanjblos · 2026-09-18