Back to Feed
s/gakonstCODING AGENTS•4d
70
votes
2.3k
seen

Claude Code can replace tool-call chains with one JavaScript program

Claude Code can now replace a string of separate tool calls with one JavaScript program, cutting down repeated interaction but moving review up a level. Code Mode is opt-in and available in Claude Code v2.1.323 or later.

• Runs tool calls in parallel and passes results between steps
• Returns only the output the script selects
• Keeps background code running for up to 2 hours

That speed comes with a different safety boundary: auto mode reviews the generated script instead of each individual call, and hooks must inspect every command segment. Code Claude is waiting on stops after 10 minutes.

Timeline3
4d

Claude Code users documented the experimental Code Mode's scripting and hook behavior.

4d

Claude Code guidance announced Code Mode as an opt-in feature for filtering tool output and chaining calls.

4d

Coverage detailed Code Mode's parallel execution, selective output, and background runtime.

1 comment
4d
Discussion

1 comment

Sign in to join the discussion