Lawrence Jengar
Apr 16, 2026 00:53
Anthropic releases /utilization command and context administration information for Claude Code, serving to builders navigate 1 million token periods extra successfully.
Anthropic dropped a brand new /utilization command for Claude Code on April 15, alongside detailed steering on managing periods throughout the AI coding assistant’s a million token context window. The replace addresses a rising ache level builders have flagged: determining when to proceed, compact, or nuke a session completely.
The corporate’s technical workers member Thariq Shihipar laid out the logic in a weblog put up that reads extra like tribal information than typical documentation. The core drawback? Context rot—the place mannequin efficiency degrades as extra tokens pile up and a spotlight will get unfold skinny throughout irrelevant cruft.
5 Methods to Deal with Context Bloat
Claude Code now presents builders a choice tree at each flip:
Proceed works when every thing within the window nonetheless issues. /rewind (or double-tap Esc) enables you to soar again to any earlier message and reprompt, dropping every thing after that time. Anthropic suggests this beats the intuition to kind “that did not work, strive X as a substitute”—as a substitute, rewind to only after helpful file reads and provides cleaner directions.
/compact asks Claude to summarize the session and exchange historical past with that abstract. It is lossy however computerized. You possibly can steer it: “/compact concentrate on the auth refactor, drop the take a look at debugging.” The catch? Autocompact fires when context is almost full, exactly when the mannequin performs worst because of context rot.
/clear places you in management. You write what issues and begin contemporary. Extra work, cleaner slate.
Subagents deal with the messiest state of affairs—when the following chunk of labor will generate tons of intermediate output you will not want once more. Spawning a subagent offers it a contemporary context window; solely the ultimate report comes again to the father or mother session.
The Psychological Mannequin
Anthropic’s inner take a look at: “Will I want this software output once more, or simply the conclusion?” If simply the conclusion, spin up a subagent for codebase searches, verification runs, or doc writing.
The steering suggests beginning contemporary periods for genuinely new duties, though 1M context technically permits marathon periods. For associated follow-up work—like documenting a function you simply constructed—staying in session avoids costly file rereads.
Unhealthy autocompacts sometimes occur when Claude cannot predict the place your work is heading. An extended debugging session will get summarized, then you definately ask about “that different warning in bar.ts” that obtained dropped from the abstract. With the bigger context window, Anthropic recommends proactive /compact with express route earlier than the automated set off fires.
The replace displays Anthropic’s push to make Claude Code extra sensible for prolonged growth periods. Whether or not this strikes the needle on enterprise adoption stays to be seen, however builders burning via context on advanced codebases lastly have documented methods past trial and error.
Picture supply: Shutterstock

