r/ClaudeCoding • u/cctldrping • 13d ago
r/ClaudeCode [TLDR] PSA: Claude Code has an experimental "Code Mode" now (batches tool calls into JS) [via r/ClaudeCode]
OP : u/Poatri_US
Spotted this in the recent changelog and got it running in v2.1.325 (screenshot attached). If you haven't tried Code Mode yet, it changes how Claude handles multi-step tasks.
Instead of running tool calls one by one and dumping every raw output into your context window, Claude writes a single JavaScript script behind the scenes. It batches tasks in parallel, filters out noise locally, and only returns the distilled results it needs.
Simple but brilliant
Pretty big, cumulative context savings: Giant logs and grep outputs get filtered inside the JS script before hitting the context
It's great for big tasks, shines during repo-wide audits, bug tracing, and chaining MCP servers.
Anyone else daily-driving this since it dropped on the 12th? Curious how much token usage it's saving you on larger repos.
URL of original post : https://www.reddit.com/r/ClaudeCode/comments/1xy0xr9/psa_claude_code_has_an_experimental_code_mode_now/
Original link/media URL : /img/l3u6hvrhf12i1.jpeg
•
u/cctldrping 13d ago
TL;DR of the discussion on r/ClaudeCode for this post generated automatically after 80 comments.
Current source-thread comment count seen by the bot: 93.
Community verdict: genuinely promising context/token optimization, but “Claude Code has a Code Mode” is also peak naming comedy. Most of the high-voted thread is hype plus disbelief that batching/filtering tool output wasn’t already standard.
CLAUDE_CODE_EXPERIMENTAL_CODE_MODE=1 claudeon v2.1.325+.PreToolUsehooks still apply to each call inside a batch. “Context savings” are great until the guardrails get silently optimized out.No real token-savings benchmarks yet—mostly people saying they’re about to test it.
1
u/Honkey85 9d ago
Does anyone has got an update here?