Claude Code 实验性功能 Code Mode:用 JavaScript 编排多步工具调用
Code Mode is an experimental new feature in Claude Code that can improve both speed and context efficiency when Claude needs to orchestrate multiple steps. Try it out and let us know what you think! It enables Claude to perform multi-step tool calls by writing and running JavaScript. Rather than calling one tool at a time (e.g. Bash, Read, or Edit) and waiting to see the result before deciding what to do next, Code Mode allows Claude to write a simple script to run multiple commands in parallel, passing arguments and filtering outputs for subsequent tool calls to reduce context. I'm excited about this work because Code Mode enables more efficient and streamlined multi-step coding flows. For example, rather than passing large amounts of raw search data into the context window or having to make a large number of sequential calls to perform the same refactoring across dozens of files, Claude can orchestrate these tasks programmatically in a single pass. Still, you will be able to interact
Claude Code 推出实验性功能 Code Mode,让 Claude 通过编写并运行 JavaScript 脚本并行执行多步工具调用,替代逐个调用 Bash、Read、Edit 并等待结果的方式,以提升速度与上下文效率。
- 浏览
- 20万
- 点赞
- 2455
- 评论
- 277
- 分享
- 117
- 收藏
- 1768
约为这个来源平时的 2.0 倍
数字来自平台,为最近一次抓取时的数据。
来源:X · Addy Osmani · x.com