Claude Code Code Mode: orchestrating multi-step tool calls via JavaScript for speed and context efficiency

AIFlow_ML · x · 2026-11-22

addyosmani detailed Claude Code's experimental Code Mode: instead of calling tools one at a time (Bash, Read, Edit) and waiting for results, Claude writes and runs JavaScript that executes multiple commands in parallel, passing arguments and filtering outputs to cut context usage. Scripts can run in the background for up to 2 hours, and every internal call still respects deny rules and hooks, making it safe for automated bots.

Original post →

More from coding & agent

coding & agent channel →