跳到主内容
@wquguru
精选70VoxAI 产品与模型

用 Fable 5.2 优化 Claude Code 配置节省限额

Anthropic just published a guide to Code Mode in Claude Code. It tells you that…

原文
发到 X

Anthropic just published a guide to Code Mode in Claude Code. It tells you that when a job takes many tool calls in a row, Claude should 𝘄𝗿𝗶𝘁𝗲 𝗼𝗻𝗲 𝗽𝗶𝗲𝗰𝗲 𝗼𝗳 𝗰𝗼𝗱𝗲 𝗮𝗻𝗱 𝗿𝘂𝗻 𝘁𝗵𝗲𝗺 𝗮𝗹𝗹 𝗮𝘁 𝗼𝗻𝗰𝗲. You can ask Fable 5.2 to use it to find those jobs in your project.

Anthropic 刚刚发布了一份关于 Claude Code 中 Code Mode 的指南。它指出,当一个任务连续进行多次工具调用时,Claude 应该 𝘄𝗿𝗶𝘁𝗲 𝗼𝗻𝗲 𝗽𝗶𝗲𝗰𝗲 𝗼𝗳 𝗰𝗼𝗱𝗲 𝗮𝗻𝗱 𝗿𝘂𝗻 𝘁𝗵𝗲𝗺 𝗮𝗹𝗹 𝗮𝘁 𝗼𝗻𝗰𝗲。你可以要求 Fable 5.2 使用它来在你的项目中找出这些任务。

Normally, Claude stops after every tool call to read the result. With Code Mode on, it finds the file, edits it and runs the tests in one go, then reads only the part of the output it needs. Fewer round trips, so 𝘆𝗼𝘂𝗿 𝟱-𝗵𝗼𝘂𝗿 𝗮𝗻𝗱 𝘄𝗲𝗲𝗸𝗹𝘆 𝗹𝗶𝗺𝗶𝘁𝘀 𝗹𝗮𝘀𝘁 𝗹𝗼𝗻𝗴𝗲𝗿.

通常情况下,Claude 会在每次工具调用后停止以读取结果。开启 Code Mode 后,它会一次性找到文件、编辑文件并运行测试,然后只读取它需要的输出部分。往返次数减少,因此 𝘆𝗼𝘂𝗿 𝟱-𝗵𝗼𝘂𝗿 𝗮𝗻𝗱 𝘄𝗲𝗲𝗸𝗹𝘆 𝗹𝗶𝗺𝗶𝘁𝘀 𝗹𝗮𝘀𝘁 𝗹𝗼𝗻𝗴𝗲𝗿。

Send this prompt and the link below to Fable 5.2 👇

将此提示词和下面的链接发送给 Fable 5.2 👇

"Read this guide, then review my user and project Claude Code settings, my environment variables, and the transcripts of this project's last 20 sessions in ~/.claude/projects. Find three kinds of things: work I keep repeating that takes many related tool calls, like the same change across many files, searches whose results need filtering, or commands that could run at the same time; settings that stop Code Mode from starting, like an API key helper, agent teams, OpenTelemetry export or DISABLE_TELEMETRY; and, among my own hooks and those that come with plugins, PreToolUse hooks that would refuse tool calls in Code Mode and UserPromptSubmit hooks that would hold back code output.

"阅读这份指南,然后审查我的用户和项目 Claude Code 设置、环境变量,以及 ~/.claude/projects 中该项目最近 20 次会话的记录。找出三类事物:我反复进行的、需要许多相关工具调用的工作,例如跨多个文件的相同更改、需要过滤结果的搜索,或可以并行运行的命令;阻止 Code Mode 启动的设置,例如 API 密钥助手、智能体团队、OpenTelemetry 导出或 DISABLE_TELEMETRY;以及在我的自定义钩子和插件自带的钩子中,那些会在 Code Mode 下拒绝工具调用的 PreToolUse 钩子,以及会抑制代码输出的 UserPromptSubmit 钩子。"

For each one, point to the session, setting or hook, explain its impact, and suggest the smallest change needed. Rank the work you found by how many round trips Code Mode would save, biggest savings at the top. Show me the recommendations first. Don't modify anything yet."

对于每一项,请指明对应的会话、设置或钩子,解释其影响,并提出所需的最小改动。根据 Code Mode 能节省的往返次数对我的发现工作进行排名,节省最多的排在最前面。先向我展示建议。暂时不要修改任何内容。"

https://code.claude.com/docs/en/code-mode

更进一步:量化金融体系

看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力

进入量化体系 →

相似阅读

关联信息,但可能不是同一事件