Claude Code tip: omitClaudeMd: true stops subagents from burning tokens on CLAUDE.md
daniel_mac8 · x · 2026-09-18
Picked as the top agent tip from 1,000 X posts: in Claude Code, subagents don't need your project's CLAUDE.md, yet it gets loaded and burns usage. Fix: check .claude/agents/ and add omitClaudeMd: true to the YAML frontmatter of any subagent that can work without project instructions; leave agents that rely on CLAUDE.md untouched. Prompt you can send Claude: 'Check my .claude/agents/subagents. For each agent that can work without my project instructions, add omitClaudeMd: true to its YAML frontmatter. Don't change agents that rely on CLAUDE.md or project rules.'
Related event: omitClaudeMd Trick Cuts Claude Code Subagent Context 88%(3 posts)→
More from coding & agent
- Warp launches Scorers: LLM judges that grade your coding agents — Scobleizer · 2026-09-18
- Luel launches agent-native data marketplace so AI agents can buy rights-cleared datasets in-flow — SucceededMind · 2026-09-18
- NVIDIA tutorial: memory-driven self-model agent hits 90.9% vs 82.8% RAG baseline — dl_weekly · 2026-09-18
- Team gives Devin a Ramp card and phone line; AI agent closes first B2B sales for $75 — sandylikesfrogs · 2026-09-18
- LangChain open-sources Deep Life Sci, an agentic assistant for life scientists — LangChain · 2026-09-18
- Raindrop AI raises $50M Series A from CRV and Lightspeed, launches Simulations — ycombinator · 2026-09-18