Discussion: RAG is a trap for Claude Code. I built a DAG-based context compiler that cut my Opus token usage by

Saw an interesting discussion on r/ClaudeAI about this — wanted to bring it here. **Original topic:** RAG is a trap for Claude Code. I built a DAG-based context compiler that cut my Opus token usage by 12x. > Hey everyone, If you’ve been using the new Claude Code CLI or building agents with Sonnet 3.5 / Opus on mid-to-large codebases, you’ve probably noticed a frustrating pattern. You tell Claude: "Implement a bookmark reordering feature in app/UseCases/ReorderBookmarks.ts." What happens next? Claude ... What are your thoughts? Has anyone here dealt with MCP server? --- *Discuss more at [0n MCP](https://www.0nmcp.com) — the hub for [agentic AI orchestration](https://www.0nmcp.com).*