How Claude Code's Code Mode works
X · Arindam_1729
Claude writes one JavaScript script that makes the tool calls itself, so a search, edit and test run in a single trip. In a side-by-side run, requests fell from 5 to 4 and each request read about 35k tokens instead of 53k, with cost roughly unchanged.

