Claude Code launches experimental Code Mode: Claude writes JS to chain tool calls in one step
ClaudeDevs · x · 2026-11-18
Anthropic's Claude Code has an opt-in experimental Code Mode (CLAUDECODEEXPERIMENTALCODEMODE=1), off by default and subject to change.
- Without it: Claude issues tool calls (Bash, Read, Edit) one at a time, reading each result before deciding the next step.
- With it: Claude writes a JavaScript snippet that performs several tool calls in a single step — running commands in parallel, feeding one result into the next call, and returning only the output Claude needs to read.
The docs show an example where raising a retry limit becomes one script: rg locates the file, edit changes maxAttempts: 3 to 5, tests run via npm test, and the last expression returns the file path and test output. Feedback goes through /feedback.
More from coding & agent
- Shipping a read-only MCP server to the Claude connectors directory: OAuth pitfalls and review notes — Fine_Airline_6832 · 2026-11-18
- Job-Hunting Agent Sent 160 Applications: LLM Fit Score Was the Worst Predictor of Replies — nivokvo · 2026-11-18
- Three Weeks Testing OpenAI's Astra: Strength Is Delegating Messy Stacked Context — round · 2026-11-18
- Unblocked cuts AI code review cost 3.1x running open models on Baseten — baseten · 2026-11-18
- "No SaaS, no apps": devs debate agents rewriting the entire software stack — alvelda · 2026-11-18
- AI-assisted coding is fueling an explosion of new music software — toptickcrypto · 2026-11-18