How to make Claude Code read 1M tokens while using only 137k of context

umeshonai · x · 2026-10-20

umeshonai shares a 3-step trick to make Claude Code read and understand millions of tokens while using only 137k in the main context: 1) create a .claude/agents folder in the project root; 2) add agent definition files with per-agent model selection and effort level; 3) route the main chat to these agents directly, via CLAUDE.md or AGENTS.md. Subagents hold their own context windows and process documents in parallel, returning only results—screenshots show the main thread at 14% context (137.4k/1M) while background tasks consumed 778k tokens. An included adversarial-reviewer agent definition runs a two-phase pipeline (assumption deconstruction + vulnerability mapping) and outputs risk-ranked XML findings.

Original post →

More from coding & agent

coding & agent channel →