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.
More from coding & agent
- Yacine: You Can Gauge a Programmer's Skill by How Much They Trust Claude — yacineMTB · 2026-11-22
- RT: Opus Needs Heavy Oversight in Large Codebases and Tends to Bloat Code — yacineMTB · 2026-11-22
- Developer has three AI models plan the same robotics project, then merges the best ideas — doodlestein · 2026-11-22
- Claude Code's new Code Mode runs multiple tool calls in parallel via JS scripts — AIFlow_ML · 2026-11-22
- 9 tweaks to make Google's Antigravity CLI actually usable with Gemini 4 — dotey · 2026-11-22
- Sentry CEO: cheaper tokens won't fix code review, vague intent is the problem — zeeg · 2026-11-22