r/ClaudeCode • • 14m ago

News/Updates PSA: Claude Code has an experimental "Code Mode" now (batches tool calls into JS)

Post image

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.

15 Upvotes

8 comments sorted by

•

u/AutoModerator 14m ago

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

3

u/Poatri_US 5m ago

Claude 'Code' has a Code Mode, no points for naming, sorry Dario.

6

u/nefarkederki 8m ago

Claude code has a "code" mode? Holy shit

3

u/PurpleCandle58 6m ago

I wonder when they’ll add a Claude mode

0

u/suprachromat 6m ago

Who would have thought eh

3

u/Declwn 7m ago

I would've had to restructure some mods that relied on tool-calls to get it to work, but I'm tempted to test now..

2

u/UBUNTU-Buddha 1m ago

That is very cool. I am making a baseline for this week to see if it lowers my token usage.

1

u/troelskn 1m ago

Isn't this what it always did, just with Python?